Re: [Openstack] Problem in nova/volume/driver.py

2012-02-21 Thread Vishvananda Ishaya
The idea is that the backend should specify the lun number in provider_location when the volume is created. The logic of defaulting to 1 or 0 is to support legacy volumes that may not have set the lun in provider_location. The code previously would just determine the lun programatically on the

[Openstack] Problem in nova/volume/driver.py

2012-02-21 Thread John Griffith
Hey Folks, I was trying to work on bug #917245 today and had troubles connecting my iSCSI devices. After a bit of poking around I found the culprit in nova/volume/driver.py results = location.split(" ") properties['target_portal'] = results[0].split(",")[0] properties['t