I have modified three fils:
/usr/local/lib/python2.7/dist-packages/nova/virt/libvirt/volume.py
nova/volume/driver.py
nova/virt/libvirt/volume.py
change lun0-lun1
- host_device = (/dev/disk/by-path/ip-%s-iscsi-%s-lun-0
+ host_device = (/dev/disk/by-path/ip-%s-iscsi-%s-lun-1
it works well. but
I have the same problem, when I attach a volume, it also show:
Error: iSCSI device not found at
/dev/disk/by-path/ip-10.200.200.4:3260-iscsi-iqn.2010-10.org.openstack:volume-0001-lun-0
my version is
2012.1-dev (2012.1-LOCALBRANCH:LOCALREVISION)
--
You received this bug notification because
** Changed in: nova (Ubuntu Oneiric)
Status: Fix Committed = Incomplete
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/871278
Title:
Cannot attach volumes to instances if tgt