Add create qcow2 support in generic nfs driver

Registered by Trump.Zhang

Currently, generic nfs driver already has a method _create_qcow2_file, but there is not any related configuration in cinder.conf to make the nfs driver to use this method.

The qcow2 format is already supported in glusterfs driver, we can do this simlar to glusterfs.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Medium
Drafter:
Trump.Zhang
Direction:
Needs approval
Assignee:
Trump.Zhang
Definition:
Obsolete
Series goal:
None
Implementation:
Started
Milestone target:
None
Started by
Trump.Zhang
Completed by
Sean McGinnis

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/qcow2-on-generic-nfs-driver,n,z

Addressed by: https://review.openstack.org/92011
    Add create qcow2 support in generic nfs driver

Addressed by: https://review.openstack.org/103752
    Add create qcow2 support in generic nfs driver

[dguryanov] Why can't write code, which deals with different image formats in RemoteFSDriver? There are 4 drivers, which use it: nfs, smbfs, glusterfs and qubyte. And I'm working on a new one (https://blueprints.launchpad.net/cinder/+spec/virtuozzo-cloud-storage-support). At this moment smbfs driver has most complete implementation of image formats in my opinion. So we can take look at it and move some parts to the RemoteFSDriver and RemoteFSSnapDriver classes.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.