Currently, GPFS use LibvirtVolumeDriver to generate the libvirt
xml configuration when attaching a gpfs volume. But the driver
always set the disk_type to 'block' which should be 'file' for
GPFS volume.
This patch create a new volume driver class for GPFS, the class
can generate the right xml configuration for GPFS volume.
Change-Id: Ica1cf3558baeea12b519bda50c61cea446429364
Closes-Bug:#1405044
(cherry picked from commit 8c62b79610cb5680a052c7a0c779a3faf4568781)
Reviewed: https:/ /review. openstack. org/147411 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=8c07d429a00 ee35166820c61a6 7618430dbb83b8
Committed: https:/
Submitter: Jenkins
Branch: stable/juno
commit 8c07d429a00ee35 166820c61a67618 430dbb83b8
Author: lqslan <email address hidden>
Date: Tue Dec 23 15:35:11 2014 +0800
Add LibvirtGPFSVolu meDriver class
Currently, GPFS use LibvirtVolumeDriver to generate the libvirt
xml configuration when attaching a gpfs volume. But the driver
always set the disk_type to 'block' which should be 'file' for
GPFS volume.
This patch create a new volume driver class for GPFS, the class
can generate the right xml configuration for GPFS volume.
Change-Id: Ica1cf3558baeea 12b519bda50c61c ea446429364 Bug:#1405044 0a052c7a0c779a3 faf4568781)
Closes-
(cherry picked from commit 8c62b79610cb568