[Bug 1088411] [NEW] Cannot attach volumes to instances if using NexentaStor driver
Juris
1088411 at bugs.launchpad.net
Mon Dec 10 09:49:02 UTC 2012
Public bug reported:
It looks like the bug #871278 is still present in NexentaStor driver.
I'm using Ubuntu 12.04.1 64bit with cinder-volumes package
2012.2-0ubuntu2~cloud0 and if I try to attach cinder volume to an
instance, it fails with the following error in nova-compute.log:
2012-12-05 16:10:26 TRACE Error: iSCSI device not found at /dev/disk/by-
path/ip-10.1.0.2:3260-iscsi-iqn.1986-03.com.sun:02:cinder-
volume-0000001-lun-1
However the file /dev/disk/by-path/ip-10.1.0.2:3260-iscsi-
iqn.1986-03.com.sun:02:cinder-volume-0000001-lun-0 exists.
So if I do
ln -s /dev/disk/by-path/ip-10.1.0.2:3260-iscsi-iqn.1986-03.com.sun:02
:cinder-volume-0000001-lun-0 /dev/disk/by-path/ip-10.1.0.2:3260-iscsi-
iqn.1986-03.com.sun:02:cinder-volume-0000001-lun-1
everything works.
I fixed it by changing line 232 in
/usr/share/pyshared/cinder/volume/nexenta/volume.py
from
'lun': '0'})
to
'lun': '1'})
** Affects: cinder (Ubuntu)
Importance: Undecided
Status: New
** Summary changed:
- Cannot attach volumes to instances if using NexentaStror driver
+ Cannot attach volumes to instances if using NexentaStor driver
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cinder in Ubuntu.
https://bugs.launchpad.net/bugs/1088411
Title:
Cannot attach volumes to instances if using NexentaStor driver
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cinder/+bug/1088411/+subscriptions
More information about the Ubuntu-server-bugs
mailing list