Browse code

Move ironic ssh key creation early in preparation

SSH creds should be in place before nodes are enrolled. If not,
ironic cannot sync power state causing nova to skip nodes in
its resource tracker.

Closes-bug: #1398128
(cherry picked from commit 0354640587cde740aa0299c722f019ae1c01e05d)

Conflicts:
lib/ironic

Change-Id: I6b98ae57ce33783f69e2cf9ba357807d384b3012

Adam Gandelman authored on 2014/12/06 09:49:12
Showing 1 changed files
... ...
@@ -663,12 +663,12 @@ function upload_baremetal_ironic_deploy {
663 663
 }
664 664
 
665 665
 function prepare_baremetal_basic_ops {
666
+    configure_ironic_auxiliary
666 667
     upload_baremetal_ironic_deploy
667 668
     create_bridge_and_vms
668 669
     enroll_vms
669 670
     configure_tftpd
670 671
     configure_iptables
671
-    configure_ironic_auxiliary
672 672
 }
673 673
 
674 674
 function cleanup_baremetal_basic_ops {