]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
NFS drivers don't honor vm size with volume from an image
authorleseb <sebastien.han@enovance.com>
Thu, 23 May 2013 17:09:06 +0000 (19:09 +0200)
committerleseb <sebastien.han@enovance.com>
Fri, 7 Jun 2013 10:16:47 +0000 (12:16 +0200)
commit824a3b45218d2d548486eec6dac84bea148f4de5
tree989bd5286a8697c4431fb4c0351066a338268a88
parentb782597725fcccd0a6a949057941380538898555
NFS drivers don't honor vm size with volume from an image

The bug has been encountered with the NFS generic driver
(cinder.volume.nfs.NfsDriver) and the NetApp NFS driver
(cinder.volume.drivers.netapp.nfs.NetAppDirectCmodeNfsDriver). I believe
that drivers based on distributed filesystem such as GlusterFS, nexenta
and scality are also impacted however I didn't test it those backends.
However since most of them already inherit from the RemoteFsDriver
class, this should be fine.

Change-Id: I14575da69a2c99c7cbcece27b40a171153371ee3
Fixes: bug #1183459
cinder/image/image_utils.py
cinder/tests/test_image_utils.py [new file with mode: 0644]
cinder/tests/test_nfs.py
cinder/volume/drivers/nfs.py