This patch adds a CinderDefaultVolumeType parameter, and does two
things:
1. Configures the default_volume_type in /etc/cinder/cinder.conf
2. Ensures the volume type exists
The cinder::api puppet module supports configuring the default_volume_type,
and this patch simply sets the corresponding hiera value.
The cinder::type puppet resource is used to ensure the default volume
type exists. This is done using docker_puppet_tasks so that it executes
after the Cinder services are running. This is necessary because the
cinder::type puppet provider executes osc commands.
Reviewed: https:/ /review. openstack. org/583341 /git.openstack. org/cgit/ openstack/ tripleo- heat-templates/ commit/ ?id=1433d5819f0 1631314dd3ea93f 02583d7d5ae3eb
Committed: https:/
Submitter: Zuul
Branch: master
commit 1433d5819f01631 314dd3ea93f0258 3d7d5ae3eb
Author: Alan Bishop <email address hidden>
Date: Tue Jul 17 14:44:26 2018 -0400
Ensure Cinder has a default volume type
This patch adds a CinderDefaultVo lumeType parameter, and does two
things:
1. Configures the default_volume_type in /etc/cinder/ cinder. conf
2. Ensures the volume type exists
The cinder::api puppet module supports configuring the default_ volume_ type,
and this patch simply sets the corresponding hiera value.
The cinder::type puppet resource is used to ensure the default volume
type exists. This is done using docker_puppet_tasks so that it executes
after the Cinder services are running. This is necessary because the
cinder::type puppet provider executes osc commands.
Closes-Bug: #1782217 10fb86f04ed84a3 14f4364339c ccd86f0e482f1fb dc656c07c5d
Depends-On: Ia23996abefdd14
Change-Id: I99496aa82bb66e