diff options
author | Sean Chen <xuchenx@gmail.com> | 2013-01-10 15:50:50 -0800 |
---|---|---|
committer | Sean Chen <xuchenx@gmail.com> | 2013-01-25 15:42:07 -0800 |
commit | 24d609447399e468937f8a278854690864ffabcd (patch) | |
tree | dbb95c910351dce88f04d67d2e5fd3786a541a3f /nova/exception.py | |
parent | f3055e77efbf1e9de23996fd6d3aea3135796f3b (diff) | |
download | nova-24d609447399e468937f8a278854690864ffabcd.tar.gz nova-24d609447399e468937f8a278854690864ffabcd.tar.xz nova-24d609447399e468937f8a278854690864ffabcd.zip |
VMware Compute Driver OVF Support
blueprint vmware-compute-driver
Launch OVF disk image
DocImpact
Add support for VMware disk and adapter type
vmware_disktype: eagerZeroedThick, preallocated and sparse
Default value is 'preallocated'.
'sparse' disk refers to OVF supported VMDK format
(sparse or streamOptimized).
A sparse disk is copied to thin disk upon deployment.
vmware_adaptertype: ide, busLogic and lsiLogic
Default value is 'lsiLogic'.
Usage:
glance add name="Ubuntu" disk_format=vmdk container_format=ovf
is_public=true vmware_adaptertype="lsiLogic"
vmware_ostype="ubuntuGuest" vmware_disktype="sparse"
< ubuntu-disk1.vmdk
Add support for VNC console
Nova conf:
vnc_enabled=[true|false] defaults to true
vnc_port=[port #] defaults to 5900
vnc_port_total=[total port #] defaults to 10000,
the actual VM VNC port is vnc_port + VM ID % vnc_port_total
vnc_password=[optional]
Change-Id: I912b46b9f72f9089b448e03a04327fb79b9f0f3f
Diffstat (limited to 'nova/exception.py')
-rw-r--r-- | nova/exception.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/nova/exception.py b/nova/exception.py index c15fc1e43..a9a565393 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -317,7 +317,15 @@ class InstanceSuspendFailure(Invalid): class InstanceResumeFailure(Invalid): - message = _("Failed to resume server") + ": %(reason)s." + message = _("Failed to resume instance: %(reason)s.") + + +class InstancePowerOnFailure(Invalid): + message = _("Failed to power on instance: %(reason)s.") + + +class InstancePowerOffFailure(Invalid): + message = _("Failed to power off instance: %(reason)s.") class InstanceRebootFailure(Invalid): |