If a request to salt succeeds, but the event comes back with some internal
failure (e.g.: an exception was thrown inside the salt runner), we need to
log this so the admin can find out what on earth went wrong.
Signed-off-by: Tim Serong <tserong@suse.com>
dev.metadata_space_free = d['metadata_space_free']
devs.append(dev)
result.append(orchestrator.InventoryNode(node_name, devs))
+ else:
+ self.log.error(event_data['return'])
return result
with self._completion_lock:
desc.service_instance = service_instance
desc.service_type = service_type
result.append(desc)
+ else:
+ self.log.error(event_data['return'])
return result
with self._completion_lock: