libvirt: hw-iscsi-device-name-support
LibvirtISCSIVol
The following algorithm can be used:
- Perform "ls" of /dev/disk/by-path directory
- Look for a file that contains the ip-<targetporta
to determine if the device exists.
For e.g:
"ls" gives the following output
ip-192.
ip-192.
pci-0000:
pci-0000:
pci-0000:
pci-0000:
pci-0000:
pci-0000:
pci-0000:
We will be able to search for 192.168.
We will then use this filename pci-0000:
The same logic will also be used in disconnect_volume to determine the device_prefix.
Blueprint information
- Status:
- Complete
- Approver:
- Michael Still
- Priority:
- Low
- Drafter:
- sreedhar
- Direction:
- Approved
- Assignee:
- Anish Bhatt
- Definition:
- Approved
- Series goal:
- Accepted for kilo
- Implementation:
- Implemented
- Milestone target:
- 2015.1.0
- Started by
- Thierry Carrez
- Completed by
- Anish Bhatt
Related branches
Related bugs
Sprints
Whiteboard
Does this fix bug 1370226? -- mriedem
Trivial approval at Nova meeting 4 December 2014 -- mikal
Bumping to k-2 -- mikal 9 Dec 2014
Gerrit topic: https:/
Addressed by: https:/
Add support to search device names starting with pci device id's also apart from device names starting with "ip-" in the "/dev/disk/by-path" directory.
Addressed by: https:/
libvirt : Add support for --interface option in iscsiadm.
Gerrit topic: https:/
Gerrit topic: https:/