The setup function in Test_power_provisioning_sgi deletes all nodes and recreates them.
While the nodes were created using shortnames, the following code in setup() tries to delete a node with FQDN as id. This causes “Unknown node” error.
if host == self.server.hostname:
self.server.manager(MGR_CMD_DELETE, NODE, None, host)
FQDN name should be changed to node’s shortname in the above code to fix this issue.