fuel-library/deployment/puppet/openstack_tasks/examples/openstack-network
Igor Gajsin b4f804ea4c Restart neutron services on neutron config change
There are many neutron tasks, e.g.: common-config and network-plugins-l2.
Normally the common-config configures neutron.conf and then plugns-l2 starts
the ovs-agent.

But there is the wrong behaviour when new controllers are added to an
environment:
  1. configure and deploy an env.
  2. common-config configures neutron.conf
  3. plugins-l2 starts ovs-agent.
  4. add new controllers to the env and redeploy it.
  5. common-config configures neutron.conf.
  6. plugins-l2 knows nothing about changes in the config.

So ovs-agent isn't restarted and works with old configuration data.

This commit makes neutron tasks check md5 hash of neutron.conf and
restart them when config is changed.

Change-Id: Ia26f4a5105407ce322a5185455093d69a938edfc
Closes-bug: #1613724
2017-01-16 19:03:29 +03:00
..
agents Refactoring of the override_resources type for the IaC feature 2016-11-21 12:09:04 +00:00
plugins Refactoring of the override_resources type for the IaC feature 2016-11-21 12:09:04 +00:00
common-config.pp Added override_resource for rest OpenStack manifests 2016-11-22 15:21:25 +00:00
compute-nova.pp Added override_resource for rest OpenStack manifests 2016-11-22 15:21:25 +00:00
db.pp Added override_resource for rest OpenStack manifests 2016-11-22 15:21:25 +00:00
keystone.pp Added override_resource for rest OpenStack manifests 2016-11-22 15:21:25 +00:00
networks.pp Added override_resource for rest OpenStack manifests 2016-11-22 15:21:25 +00:00
routers.pp Added override_resource for rest OpenStack manifests 2016-11-22 15:21:25 +00:00
run_neutron_granular_noops.sh Move openstack specific tasks to their own folder structure 2016-03-24 10:26:55 -07:00
server-config.pp Refactoring of the override_resources type for the IaC feature 2016-11-21 12:09:04 +00:00
server-nova.pp Added override_resource for rest OpenStack manifests 2016-11-22 15:21:25 +00:00
tasks.yaml Restart neutron services on neutron config change 2017-01-16 19:03:29 +03:00