nova LibvirtGPFSVolumeDriver class implemented recently for GPFS volume
driver expects the 'driver_volume_type' as 'gpfs' from the Cinder GPFS
driver. Making the required change in the GPFS cinder driver to
complete the fix.
Change-Id: I880b93e5e3608b63872e6937d02482a3fe368efd
Related-Bug: #
1405044
self.assertEqual(data['data']['name'], 'test')
self.assertEqual(data['data']['device_path'], os.path.join(
self.driver.configuration.gpfs_mount_point_base, 'test'))
+ self.assertEqual(data['driver_volume_type'], 'gpfs')
def test_terminate_connection(self):
self.assertEqual(None, self.driver.terminate_connection('', ''))
def initialize_connection(self, volume, connector):
return {
- 'driver_volume_type': 'local',
+ 'driver_volume_type': 'gpfs',
'data': {
'name': volume['name'],
'device_path': self.local_path(volume),