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.
Change-Id: I6b98ae57ce33783f69e2cf9ba357807d384b3012
Closes-bug: #1398128
... | ... |
@@ -740,6 +740,9 @@ function upload_baremetal_ironic_deploy { |
740 | 740 |
} |
741 | 741 |
|
742 | 742 |
function prepare_baremetal_basic_ops { |
743 |
+ if ! is_ironic_hardware; then |
|
744 |
+ configure_ironic_auxiliary |
|
745 |
+ fi |
|
743 | 746 |
upload_baremetal_ironic_deploy |
744 | 747 |
if ! is_ironic_hardware; then |
745 | 748 |
create_bridge_and_vms |
... | ... |
@@ -747,9 +750,6 @@ function prepare_baremetal_basic_ops { |
747 | 747 |
enroll_nodes |
748 | 748 |
configure_tftpd |
749 | 749 |
configure_iptables |
750 |
- if ! is_ironic_hardware; then |
|
751 |
- configure_ironic_auxiliary |
|
752 |
- fi |
|
753 | 750 |
} |
754 | 751 |
|
755 | 752 |
function cleanup_baremetal_basic_ops { |