Comment 6 for bug 615646

Revision history for this message
Ye Wen (wenye) wrote :

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.