compute: restart OVS agent on neutron.conf changes
authorEmilien Macchi <emilien@redhat.com>
Tue, 29 Mar 2016 19:25:20 +0000 (15:25 -0400)
committerEmilien Macchi <emilien@redhat.com>
Tue, 29 Mar 2016 19:27:12 +0000 (15:27 -0400)
commitbc00cf7e99e68b61450234de1ecfb4aa96aec174
tree8d906cf0a2f3347b8f6b193a74bf4e55e6145c83
parent7d704fbd074cdeb2b381aab353ee1deaeb9ae736
compute: restart OVS agent on neutron.conf changes

Some options in neutron.conf are used bu OVS agent, like logging &
messaging.
During the upgrade process, you need to restart the agent if these
options change.

We could patch puppet-neutron to add a notify, but the community won't
like it because Neutron OVS agent is not able to restart gracefully
until [1] got merged. Until that, we can fix it in TripleO, where we
suppose Puppet runs happenning during bootstraps and upgrades.

Later, we'll drop this code from here and move it in puppet-neutron.

[1] https://review.openstack.org/#/c/297211

Change-Id: I02b17b66e93331ddfb1a7abd8adff672bc7a32d6
Closes-Bug: #1563437
puppet/manifests/overcloud_compute.pp