iSCSI support for XenAPI
Implement iSCSI support for XenAPI, so that vm instances running on XCP or XenServer can attach/detach volumes from iSCSI storage repositories
Blueprint information
- Status:
- Complete
- Approver:
- Rick Clark
- Priority:
- Medium
- Drafter:
- Citrix OpenStack development team
- Direction:
- Approved
- Assignee:
- Armando Migliaccio
- Definition:
- Approved
- Series goal:
- Accepted for bexar
- Implementation:
- Implemented
- Milestone target:
- None
- Started by
- Armando Migliaccio
- Completed by
- Thierry Carrez
Related branches
Related bugs
Sprints
Whiteboard
The attach/detach operations work for XenAPI is done. Target discovery is made via iscsiadm, however there are some limitation to its use:
1) volume_ref['host'] must resolve to something rather than loopback
2) ietd must bind only to the address as resolved above
If any of the two conditions do not hold, fall back on Flags.
The flags are:
flags.DEFINE_
flags.DEFINE_
flags.DEFINE_
Long-term solution is to add a few more fields to the db in the iscsi_target table with the necessary info and modify the iscsi driver to set them.