setup-baremetal command failure in devtest_seed.sh
Bug #1402931 reported by
Leslie Wang
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Expired
|
Undecided
|
Unassigned |
Bug Description
seems like jq command has problem when dealing with nodes json structure
if [ -z "${ALL_NODES:-}" ]; then #nodocs
setup-baremetal --service-host seed --nodes <(jq '[.nodes[0]]' $TE_DATAFILE) -> nodes[][0]
else #nodocs
## Otherwise, if you are skipping the undercloud, you should register all
## the nodes.::
setup-baremetal --service-host seed --nodes <(jq '.nodes' $TE_DATAFILE) —> nodes[]
fi #nodocs
To post a comment you must log in.
What is the error that you are seeing?