aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Zhang <zhang.lei.fly@gmail.com>2016-10-18 10:58:48 +0800
committerJeffrey Zhang <zhang.lei.fly@gmail.com>2016-10-18 11:15:48 +0800
commitc72b9cfffc3be4b2bd9b97c6034ce54f8c356132 (patch)
tree8abd96eb4cf9475040414ee410bd080e615c8449
parent53bc43b20bb8b53f7785440cd2082ecb167e2990 (diff)
downloadkolla-c72b9cfffc3be4b2bd9b97c6034ce54f8c356132.tar.gz
kolla-c72b9cfffc3be4b2bd9b97c6034ce54f8c356132.zip
Ironic should be started before nova-ironic-compute
nova-ironic-compute will try to connect ironic-api service. So ironic should be started first. TrivialFix Change-Id: I23ba5724d86e3b7a06f7f7d112ee1ac84a2cda03
-rw-r--r--ansible/site.yml22
1 files changed, 11 insertions, 11 deletions
diff --git a/ansible/site.yml b/ansible/site.yml
index dbe0f757c..6dddfb1ea 100644
--- a/ansible/site.yml
+++ b/ansible/site.yml
@@ -140,6 +140,17 @@
when: enable_glance | bool }
- hosts:
+ - ironic-api
+ - ironic-conductor
+ - ironic-inspector
+ - ironic-pxe
+ serial: '{{ serial|default("0") }}'
+ roles:
+ - { role: ironic,
+ tags: ironic,
+ when: enable_ironic | bool }
+
+- hosts:
- ceph-mon
- compute
- nova-api
@@ -217,17 +228,6 @@
when: enable_murano | bool }
- hosts:
- - ironic-api
- - ironic-conductor
- - ironic-inspector
- - ironic-pxe
- serial: '{{ serial|default("0") }}'
- roles:
- - { role: ironic,
- tags: ironic,
- when: enable_ironic | bool }
-
-- hosts:
- magnum-api
- magnum-conductor
serial: '{{ serial|default("0") }}'