'volume is created as a fully allocated file, in which '
'case, creation may take a significantly longer time.')),
cfg.StrOpt('gpfs_storage_pool',
- default=None,
+ default='system',
help=('Specifies the storage pool that volumes are assigned '
- 'to. By default, the system storage pool is used.')),
+ 'to. By default, the system storage pool is used.')),
]
CONF = cfg.CONF
CONF.register_opts(gpfs_opts)
raise exception.VolumeBackendAPIException(data=msg)
pool = self.configuration.safe_get('gpfs_storage_pool')
- self._storage_pool = pool or 'system'
+ self._storage_pool = pool
if not self._verify_gpfs_pool(self._storage_pool):
msg = (_('Invalid storage pool %s specificed.') %
self._storage_pool)
# may take a significantly longer time. (boolean value)
#gpfs_sparse_volumes=true
-# Specifies the storage pool that volumes are assigned to. By
+# Specifies the storage pool that volumes are assigned to. By
# default, the system storage pool is used. (string value)
-#gpfs_storage_pool=<None>
+#gpfs_storage_pool=system
#