Ask Your Question
0

setting up ietadm or tgtadm

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

bgyako gravatar image

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

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 openstack.org 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
0

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

Yogev Rabl gravatar image

if you mean to create a LUN and connect it to the cinder machine, then I find this manual very helpfuhttp://www.cyberciti.biz/tips/howto-setup-linux-iscsi-target-sanwith-tgt.html

edit flag offensive delete link more

Comments

And hence my confusion... LOL During install (per: http://docs.openstack.org/grizzly/basic-install/apt/content/index.html) It shows to use tgtadm as iscsi helper, but instructions install iscsitarget.

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

Per this troubleshooting post(https://ask.openstack.org/en/question/130/why-do-i-get-no-portal-found-error-while-attaching-cinder-volume-to-vm/) it says I should only be using iscsitarget or tgt not both.

bgyako gravatar imagebgyako ( 2013-12-18 14:57:59 -0500 )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 -0500 )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 -0500 )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 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 680 times

Last updated: Dec 18 '13