devtest_testenv.sh creates emtpy nodes array if the nodes are already defined in libvirt
Bug #1294083 reported by
Matthew Gilliard
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Unassigned |
Bug Description
The call to create-nodes has a loop to create nodes and add them to $TE_DATAFILE.nodes, but if they already exist (according to virsh list --all) then *both* steps are skipped. This means that the nodes' details are not added to the nodes array in the json file. So, running devtest_testenv.sh twice in a row results in an unusable $TE_DATAFILE.
It would be best to at least WARN that this is happenning, or even to pull the relevant information out of `virsh dumpxml baremetal_x`
Changed in tripleo: | |
status: | New → Triaged |
importance: | Undecided → High |
description: | updated |
To post a comment you must log in.
I've just created https:/ /review. openstack. org/#/c/ 90854/ which adds a more explicit warning about this to devtest.sh (and thus to devtest.html).
I've listed it as closing this bug, but I'd appreciate your feedback on whether you think that warning is sufficient.