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 dominfo baremetal_x`
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 dominfo baremetal_x`