From b46a756d48cc7fb371a32df106add4b198d3559d Mon Sep 17 00:00:00 2001 From: Mohammed Naser Date: Wed, 19 Aug 2020 07:50:34 -0500 Subject: [PATCH] Fix start-up for Neutron Depends-On: https://review.opendev.org/747030 Change-Id: I844cd252bbbb43ba5f0284c48b06bd1de8503161 --- openstack_operator/operator.py | 4 ++-- tox.ini | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/openstack_operator/operator.py b/openstack_operator/operator.py index c728dbba..e408070d 100644 --- a/openstack_operator/operator.py +++ b/openstack_operator/operator.py @@ -96,10 +96,10 @@ def deploy(name, namespace, new, **_): keystone.create_or_resume("keystone", spec) if "placement" in config: spec = set_service_config(config, "placement") - neutron.create_or_resume(spec) + placement.create_or_resume("placement", spec) if "neutron" in config: spec = set_service_config(config, "neutron") - placement.create_or_resume("neutron", spec) + neutron.create_or_resume(spec) if "horizon" in config: spec = set_service_config(config, "horizon") horizon.create_or_resume("horizon", spec) diff --git a/tox.ini b/tox.ini index 9ba95158..9f49228a 100644 --- a/tox.ini +++ b/tox.ini @@ -6,6 +6,7 @@ envlist = py37 usedevelop = True passenv = OS_* + OPERATOR_NAMESPACE deps = -rtest-requirements.txt -rrequirements.txt