Mismatch between Cinder HA and non-HA docker volumes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Alan Bishop |
Bug Description
The docker volumes for the cinder-
on whether the services are under pacemaker control (HA).
- For non-HA, the docker volumes are controlled by heat templates [1], [2].
- For HA, THT specifies the volumes used when the pacemaker bundles are
created, but those are not the docker volumes when the containers run.
That list is hard-coded in puppet-tripleo [3], [4].
This situation allows the HA and non-HA list to diverge (see [5]), but the
problem goes deeper. The CinderVolume service supports a
CinderVolumeOpt
of additional docker volumes. This feature is critical for getting some
Cinder drivers to function in a container. However, the feature is not
supported in puppet-tripleo, so any CinderVolumeOpt
the cinder-volume HA container.
The problem can be resolved by passing the list of volumes from THT to
puppet-tripleo. This will ensure a common list of volumes is used in HA and
non-HA deployments, and make the CinderVolumeOpt
HA.
[1] https:/
[2] https:/
[3] https:/
[4] https:/
[5] https:/
Fix proposed to branch: master /review. openstack. org/542424
Review: https:/