diff options
author | Mark Asselstine <mark.asselstine@windriver.com> | 2018-04-04 16:01:21 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2018-04-09 10:48:36 -0400 |
commit | 68a36eed8763e88ef0edfa5da82ca77a56ea373b (patch) | |
tree | 1168c486b788a4b102c615c182207822eecf9758 /meta-openstack/recipes-devtools/python/python-neutron_git.bb | |
parent | 741ac89ba769bba01cbc0b769b908a568ab30c4d (diff) | |
download | meta-cloud-services-68a36eed8763e88ef0edfa5da82ca77a56ea373b.tar.gz |
python-neutron: Don't start the neutron services until init is done
Starting the various neutron services prior to completing the work as
part of neutron-init/neutron-init.service will only result in the
services spewing python errors. Disable the systemd services in the
recipe and have the neutron-init script enable these services for
subsequent boots.
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-neutron_git.bb')
-rw-r--r-- | meta-openstack/recipes-devtools/python/python-neutron_git.bb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-neutron_git.bb b/meta-openstack/recipes-devtools/python/python-neutron_git.bb index edf9096..a054551 100644 --- a/meta-openstack/recipes-devtools/python/python-neutron_git.bb +++ b/meta-openstack/recipes-devtools/python/python-neutron_git.bb | |||
@@ -418,5 +418,12 @@ SYSTEMD_SERVICE_${SRCNAME}-linuxbridge-agent = "neutron-linuxbridge-agent.servic | |||
418 | SYSTEMD_SERVICE_${SRCNAME}-metadata-agent = "neutron-metadata-agent.service" | 418 | SYSTEMD_SERVICE_${SRCNAME}-metadata-agent = "neutron-metadata-agent.service" |
419 | SYSTEMD_SERVICE_${SRCNAME}-setup = "neutron-init.service" | 419 | SYSTEMD_SERVICE_${SRCNAME}-setup = "neutron-init.service" |
420 | 420 | ||
421 | # Disable unconfigured services | ||
422 | SYSTEMD_AUTO_ENABLE_${SRCNAME}-server = "disable" | ||
423 | SYSTEMD_AUTO_ENABLE_${SRCNAME}-dhcp-agent = "disable" | ||
424 | SYSTEMD_AUTO_ENABLE_${SRCNAME}-linuxbridge-agent = "disable" | ||
425 | SYSTEMD_AUTO_ENABLE_${SRCNAME}-metadata-agent = "disable" | ||
426 | |||
427 | |||
421 | MONITOR_SERVICE_PACKAGES = "${SRCNAME}" | 428 | MONITOR_SERVICE_PACKAGES = "${SRCNAME}" |
422 | MONITOR_SERVICE_${SRCNAME} = "neutron" | 429 | MONITOR_SERVICE_${SRCNAME} = "neutron" |