Make use of XenServer Storage Manager for NFS

Registered by John Garbutt

nova-volume was able to use XenAPI storage manager. We need to add this back, with the knowledge one SR can only be attached to one Pool (usually one host).

This blueprint looks at adding support for the NFS SR.

Blueprint information

Status:
Complete
Approver:
John Griffith
Priority:
Medium
Drafter:
John Garbutt
Direction:
Approved
Assignee:
Mate Lakat
Definition:
Approved
Series goal:
Accepted for grizzly
Implementation:
Implemented
Milestone target:
milestone icon 2013.1
Started by
John Garbutt
Completed by
John Griffith

Related branches

Sprints

Whiteboard

It was briefly discussed at the summit, along side this related work:
https://blueprints.launchpad.net/nova/+spec/xenapi-volume-drivers

NFS support is chosen due to the large numbers of high performance NFS appliances.

Initial prototyping means we are not doing snapshots in the initial work, this is deferred, probably till H release. This is because cinder must talk back to the hypervisor to take the snapshot, similar to local snapshots.

We will implement:
- create
- delete
- (attach/detach)

Possibly deferred steps:
- create from glance image
- upload volume to swift

Gerrit topic: https://review.openstack.org/#q,topic:bp/xenapi-storage-manager-nfs,n,z

Addressed by: https://review.openstack.org/15398
    Add XenAPINFSDriver

Addressed by: https://review.openstack.org/18780
    Snapshot support for XenAPINFS

(?)

Work Items

Work items:
Prototype disk create/delete/snapshot: DONE
Add NFS VHD based backend to create/delete: DONE
Add create from image into above backend: POSTPONED
Remove traces of dead code in the old SM support: DONE
Snapshot support: POSTPONED
Documentation: TODO

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.