[overcloud-prep-images] Update deprecated openstack command
For Newton releases, the nodes registration and boot configuration are done through the same command. The 'openstack overcloud node import' is doing now the following steps: 1- importing baremetal nodes from the instackenv.json files 2- the node status will be set to 'manageable' by default 3- Assigning the deployment kernel and ramdisk to all nodes Change-Id: I64ccbf01b0812c97c6b4474930f221b2380da5d4 Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
This commit is contained in:
parent
43b2539aec
commit
fcc3712286
@ -0,0 +1,5 @@
|
||||
---
|
||||
other:
|
||||
- |
|
||||
The nodes registration and configure are done through `openstack overcloud
|
||||
node import instackenv.json` command from newton release and above.
|
@ -59,8 +59,14 @@ sudo systemctl restart openstack-ironic-conductor && sleep 30
|
||||
## * Register nodes with Ironic.
|
||||
## ::
|
||||
|
||||
{% if release in ['mitaka'] %}
|
||||
openstack baremetal import --json instackenv.json
|
||||
openstack baremetal configure boot
|
||||
{% elif step_introspect|bool %}
|
||||
openstack overcloud node import instackenv.json
|
||||
{% else %}
|
||||
openstack overcloud node import instackenv.json --provide
|
||||
{% endif %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user