mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-10-15 08:12:02 +00:00
4d8d686747
Every loop over a list of names ran the xCAT clients on standard input, so the first client read the rest of the file and the loop ended after one name. Teardown said it had removed the fixture while five nodes, an osimage, a network and an unrestored site table were still there, and the next setup recorded those leftovers as the state to restore to. The loops now read on descriptor 3. `nodeset offline` is not enough either: it gives up when it cannot reach the DHCP backend and never removes the staged kernel and initrd. The artefacts the fixture's own nodes and images can produce are now removed by name. check refuses on any leftover node, not just the first.