commit b4f804ea4cb96c3dd8c3d7c48d77464b87213bba
Author: Igor Gajsin <email address hidden>
Date: Mon Dec 26 13:32:38 2016 +0300
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.
Reviewed: https:/ /review. openstack. org/414930 /git.openstack. org/cgit/ openstack/ fuel-library/ commit/ ?id=b4f804ea4cb 96c3dd8c3d7c48d 77464b87213bba
Committed: https:/
Submitter: Jenkins
Branch: master
commit b4f804ea4cb96c3 dd8c3d7c48d7746 4b87213bba
Author: Igor Gajsin <email address hidden>
Date: Mon Dec 26 13:32:38 2016 +0300
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: Ia26f4a5105407c e322a5185455093 d69a938edfc
Closes-bug: #1613724