Revision 523687d7 lib/hypervisor.py
b/lib/hypervisor.py | ||
---|---|---|
265 | 265 |
result = utils.RunCmd(["xm", "create", instance.name]) |
266 | 266 |
|
267 | 267 |
if result.failed: |
268 |
raise HypervisorError("Failed to start instance %s: %s" % |
|
269 |
(instance.name, result.fail_reason)) |
|
268 |
raise HypervisorError("Failed to start instance %s: %s (%s)" %
|
|
269 |
(instance.name, result.fail_reason, result.output))
|
|
270 | 270 |
|
271 | 271 |
def StopInstance(self, instance, force=False): |
272 | 272 |
"""Stop an instance.""" |
Also available in: Unified diff