neutron-server service get notify even when we don't manage service
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puppet-neutron |
Invalid
|
Undecided
|
Unassigned | ||
puppet-pacemaker |
Invalid
|
Undecided
|
Unassigned | ||
tripleo |
Fix Released
|
High
|
Jiří Stránský |
Bug Description
Deploying Neutron Server by using Pacemaker, so we set manage_service and enabled to False.
In the ::neutron::server we have:
Neutron_
Neutron_
Class[
So every time Neutron Config will change, Puppet will try to restart the service:
https:/
"Refresh: service resources can respond to refresh events (via notify, subscribe, or the ~> arrow). If a service receives an event from another resource, Puppet will restart the service it manages."
So it seems that, even if the resource is wanted to be "stopped", the refresh will restart it, and that's not what we want because it uses systemd while we want Pacemaker.
some related context at https:/ /bugzilla. redhat. com/show_ bug.cgi? id=1321132