From 68a36eed8763e88ef0edfa5da82ca77a56ea373b Mon Sep 17 00:00:00 2001 From: Mark Asselstine Date: Wed, 4 Apr 2018 16:01:21 -0400 Subject: 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 Signed-off-by: Bruce Ashfield --- meta-openstack/recipes-devtools/python/python-neutron_git.bb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'meta-openstack/recipes-devtools/python/python-neutron_git.bb') 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 SYSTEMD_SERVICE_${SRCNAME}-metadata-agent = "neutron-metadata-agent.service" SYSTEMD_SERVICE_${SRCNAME}-setup = "neutron-init.service" +# Disable unconfigured services +SYSTEMD_AUTO_ENABLE_${SRCNAME}-server = "disable" +SYSTEMD_AUTO_ENABLE_${SRCNAME}-dhcp-agent = "disable" +SYSTEMD_AUTO_ENABLE_${SRCNAME}-linuxbridge-agent = "disable" +SYSTEMD_AUTO_ENABLE_${SRCNAME}-metadata-agent = "disable" + + MONITOR_SERVICE_PACKAGES = "${SRCNAME}" MONITOR_SERVICE_${SRCNAME} = "neutron" -- cgit v1.2.3-54-g00ecf