Cannot attach volumes to instances if using NexentaStor driver

Bug #1088411 reported by Juris
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Unassigned
cinder (Ubuntu)
Fix Released
High
Unassigned

Bug Description

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'})

Juris (juris-a)
summary: - Cannot attach volumes to instances if using NexentaStror driver
+ Cannot attach volumes to instances if using NexentaStor driver
Changed in cinder (Ubuntu):
status: New → Confirmed
importance: Undecided → High
tags: added: folsom-backport-potential
Mike Perez (thingee)
tags: added: drivers
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (stable/folsom)

Fix proposed to branch: stable/folsom
Review: https://review.openstack.org/26008

Revision history for this message
Chuck Short (zulcss) wrote :

This should already be fixed please re-open if it isnt.

Changed in cinder (Ubuntu):
status: Confirmed → Fix Released
Changed in cinder:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.