> + ret = cxml.define(options.ip)
> + if not ret:
> + logger.error("Failed to define the dom: %s", default_dom)
> + return FAIL
> + ret = cxml.start(options.ip)
> + if not ret:
> + logger.error("Failed to define the dom: %s", default_dom)
It's better to log the error as "logger.error("Failed to create(or
start) the dom: %s", default_dom)",
which more reflect the actual failure.
Yes, good catch - thanks! I had a copy/paste error here.
I'll change it to be "Failed to start the dom: %s" since we're starting
it (not creating it).
--
Kaitlin Rupert
IBM Linux Technology Center
kaitlin(a)linux.vnet.ibm.com