Fix wrong usage of config option gpfs_images_share_mode
Config option gpfs_images_share_mode with parameter choices=['copy',
'copy_on_write', None], that means any other value will raise
ValueError, the check is done by the configuration parser, so no
invalid value will be accepted and the driver doesn't need to check it
again. For more details when we set method set_override with paramter
enforce_type=True, please see: http://paste.openstack.org/show/523740/
Reviewed: https:/ /review. openstack. org/334868 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=ccd8abb7f10 073905162c168e5 fcb5a819871cf7
Committed: https:/
Submitter: Jenkins
Branch: master
commit ccd8abb7f100739 05162c168e5fcb5 a819871cf7
Author: ChangBo Guo(gcb) <email address hidden>
Date: Tue Jun 28 16:49:18 2016 +0800
Fix wrong usage of config option gpfs_images_ share_mode
Config option gpfs_images_ share_mode with parameter choices=['copy', on_write' , None], that means any other value will raise type=True, please see: http:// paste.openstack .org/show/ 523740/
'copy_
ValueError, the check is done by the configuration parser, so no
invalid value will be accepted and the driver doesn't need to check it
again. For more details when we set method set_override with paramter
enforce_
Related-Bug: 1517839
Change-Id: I000ab639e68534 e7be111cc3759b6 ae1dffd5520