[Bug 615646] Re: cannot attach a volume to an instance

Ye Wen 615646 at bugs.launchpad.net
Thu Aug 12 23:42:50 BST 2010


The problem is that the iscsi related commands and scripts are not
listed in the /etc/eucalyptus/wrappers.conf on NC. I guess there is some
misunderstanding between both our sides. We assume you know that all the
original sudoers config needs to be moved into wrappers.conf. But
obviously this information was not conveyed clearly.

So, here is the stuff you need to add to the wrappers.conf on NC:

get_iscsitarget.pl  /usr/share/eucalyptus/get_iscsitarget.pl        0
connect_iscsitarget.pl    /usr/share/eucalyptus/connect_iscsitarget.pl    0
disconnect_iscsitarget.pl /usr/share/eucalyptus/disconnect_iscsitarget.pl 0

And put the following in wrappers.conf on SC:

tgtadm              /usr/sbin/tgtadm                                0

Or maybe just list the 4 items in all wrappers.conf for easiness.

Also, remember to attach a device using "euca-attach-volume ... -d
/dev/vdx" since SCSI hotplug is not working on Maverick anymore.

I have successfully tested the process in our Maverick daily build
installation. Please give it try again by following the procedure I
listed above and let us know if you still have problems with EBS
attaching.

Given there is no work from Eucalyptus side, and all you have to do is a
change in the config, I'm closing this bug as fixed now. Please reopen
it if there is still problem. But please open another bug if the problem
is different.

** Changed in: eucalyptus
       Status: New => Invalid

-- 
cannot attach a volume to an instance
https://bugs.launchpad.net/bugs/615646
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to eucalyptus in ubuntu.



More information about the Ubuntu-server-bugs mailing list