Merge "Devstack: add check of chassis creating"
This commit is contained in:
commit
a188a31365
@ -670,6 +670,7 @@ function _clean_ncpu_failure {
|
|||||||
function enroll_nodes {
|
function enroll_nodes {
|
||||||
local chassis_id
|
local chassis_id
|
||||||
chassis_id=$(ironic chassis-create -d "ironic test chassis" | grep " uuid " | get_field 2)
|
chassis_id=$(ironic chassis-create -d "ironic test chassis" | grep " uuid " | get_field 2)
|
||||||
|
die_if_not_set $LINENO chassis_id "Failed to create chassis"
|
||||||
|
|
||||||
if [[ "$IRONIC_IS_HARDWARE" == "False" ]]; then
|
if [[ "$IRONIC_IS_HARDWARE" == "False" ]]; then
|
||||||
local ironic_node_cpu=$IRONIC_VM_SPECS_CPU
|
local ironic_node_cpu=$IRONIC_VM_SPECS_CPU
|
||||||
|
Loading…
Reference in New Issue
Block a user