Comment 4 for bug 1782217

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/583341
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=1433d5819f01631314dd3ea93f02583d7d5ae3eb
Submitter: Zuul
Branch: master

commit 1433d5819f01631314dd3ea93f02583d7d5ae3eb
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 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.

    Closes-Bug: #1782217
    Depends-On: Ia23996abefdd1410fb86f04ed84a314f4364339c
    Change-Id: I99496aa82bb66eccd86f0e482f1fbdc656c07c5d