Add noop's for docker pacemaker for rabbitmq
The pacemaker docker version for the rabbitmq service should also include the noop's for the for Rabbitmq_policy and Rabbitmq_user puppet resources that are noop'd in docker/services/rabbitmq.yaml These resources must be noop'd in puppet, otherwise they could be triggered during puppet apply's during the docker-puppet.py generate config step where rabbitmqctl is not actually running. Closes-Bug: #1735852 Change-Id: I05c6fd7e48c3d28ab28d714f25e08e43318774b7
This commit is contained in:
parent
f253c0d08d
commit
f64eabfdf5
@ -85,7 +85,10 @@ outputs:
|
|||||||
config_volume: rabbitmq
|
config_volume: rabbitmq
|
||||||
puppet_tags: file
|
puppet_tags: file
|
||||||
step_config:
|
step_config:
|
||||||
get_attr: [RabbitmqBase, role_data, step_config]
|
list_join:
|
||||||
|
- "\n"
|
||||||
|
- - "['Rabbitmq_policy', 'Rabbitmq_user'].each |String $val| { noop_resource($val) }"
|
||||||
|
- get_attr: [RabbitmqBase, role_data, step_config]
|
||||||
config_image: {get_param: DockerRabbitmqConfigImage}
|
config_image: {get_param: DockerRabbitmqConfigImage}
|
||||||
kolla_config:
|
kolla_config:
|
||||||
/var/lib/kolla/config_files/rabbitmq.json:
|
/var/lib/kolla/config_files/rabbitmq.json:
|
||||||
|
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
-- The pacemaker docker version for the rabbitmq service should also
|
||||||
|
include the noop's for the for Rabbitmq_policy and Rabbitmq_user puppet
|
||||||
|
resources that are noop'd in docker/services/rabbitmq.yaml These resources
|
||||||
|
must be noop'd in puppet, otherwise they could be triggered during puppet
|
||||||
|
apply's during the docker-puppet.py generate config step where rabbitmqctl
|
||||||
|
is not actually running.
|
Loading…
Reference in New Issue
Block a user