setting up ietadm or tgtadm

asked 2013-12-16 13:32:06 -0600

bgyako gravatar image

updated 2013-12-16 15:06:08 -0600

Hi All, Pretty new to linux and openstack so need lots of help... I set up 1 controller node 1 network node and multiple compute nodes. I followed the basic Grizzly installation steps.

It seems there is no mention in the steps on setting up the iscsi_helper properly. I cam across several articles stating that I should not use both iscsi and tgt. When I use ietadm 95% functionality works, only issue is with creating first volume.

Can anyone provide correct steps and config options for both tgt and iscsi set up.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-12-18 09:51:37 -0600

Yogev Rabl gravatar image

if you mean to create a LUN and connect it to the cinder machine, then I find this manual very helpfu

edit flag offensive delete link more


And hence my confusion... LOL During install (per: It shows to use tgtadm as iscsi helper, but instructions install iscsitarget.

bgyako gravatar imagebgyako ( 2013-12-18 14:57:55 -0600 )edit

Per this troubleshooting post( it says I should only be using iscsitarget or tgt not both.

bgyako gravatar imagebgyako ( 2013-12-18 14:57:59 -0600 )edit

After I update iscsi_helper from tgtadm to ietadm it started working. So wanted clarification how it should be set up.

bgyako gravatar imagebgyako ( 2013-12-18 14:59:05 -0600 )edit

What I do (and it has worked for me pretty well) is to connect to the LUN with iscsiadm, run pvcreate on it and extend the vg cinder-volumes (or whatever vg you're using with the cinder) with the new pv.

Yogev Rabl gravatar imageYogev Rabl ( 2013-12-19 03:12:51 -0600 )edit

Just to confirm, it sounds like the only time that ISCSI or tgt is used is calling to the cinder volume? Are the connectors not used at all when creating instances?

bgyako gravatar imagebgyako ( 2013-12-20 12:44:45 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-12-16 13:32:06 -0600

Seen: 730 times

Last updated: Dec 18 '13