0c2dc137b9
Service Parameter support added for setting cinder.conf parameter DEFAULT/default_volume_type. Changes include: - Added service parameter cinder/DEFAULT/default_volume_type with checks to verify that the provided value is a currently defined volume type and multiple values are not provided. The cinder API is queried to get a list of acceptable values. - The service parameter is not required to be present. It is optional, but we maintain behavior from past releases which sets the default volume type to 'ceph' if the ceph backend in present. - If the ceph backend is present and the service parameter is present, the service parameter takes precedence. - The cinder.pp manifest is updated to provide a service_parameter runtime class that applies the cinder.conf changes for SAN backend sections and the DEFAULT section. - puppet-cinder is updated to remove the default_volume_type from the cinder::api class. This allows us to set the parameter as part of a targeted runtime class and during the ::openstack::cinder main class. To upstream this we should create cinder::default_volume_type class (like the cinder::backends class) to enable setting this as needed. Change-Id: I64e61cdc28efd327f34fa74bb2bea645458f6d6e |
||
---|---|---|
.. | ||
centos | ||
src |