From c72b9cfffc3be4b2bd9b97c6034ce54f8c356132 Mon Sep 17 00:00:00 2001 From: Jeffrey Zhang Date: Tue, 18 Oct 2016 10:58:48 +0800 Subject: [PATCH] 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 --- ansible/site.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/ansible/site.yml b/ansible/site.yml index dbe0f757cc..6dddfb1ea5 100644 --- a/ansible/site.yml +++ b/ansible/site.yml @@ -139,6 +139,17 @@ tags: glance, 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 @@ -216,17 +227,6 @@ tags: murano, 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