diff options
| author | sateesh <sateesh.chodapuneedi@citrix.com> | 2011-03-10 21:07:44 +0530 |
|---|---|---|
| committer | sateesh <sateesh.chodapuneedi@citrix.com> | 2011-03-10 21:07:44 +0530 |
| commit | 3e97dc47221d19b39aba99f6d389d2ec326e72be (patch) | |
| tree | b85f7c1040133e103ebf03cc6c4a064fa95dffbb /nova/console | |
| parent | f53357d32304cd721185704fa0d48454b5627199 (diff) | |
Updated the code to detect the exception by fault type.
SOAP faults are embedded in the SOAP response as a property. Certain faults are sent as a part of the SOAP body as property of missingSet. E.g. NotAuthenticated fault. So we examine the response object for missingSet and try to check the property for fault type.
Diffstat (limited to 'nova/console')
| -rw-r--r-- | nova/console/vmrc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/console/vmrc.py b/nova/console/vmrc.py index 09f8067e5..9c5e3b444 100644 --- a/nova/console/vmrc.py +++ b/nova/console/vmrc.py @@ -119,7 +119,7 @@ class VMRCSessionConsole(VMRCConsole): vim_session._get_vim(), "AcquireCloneTicket", vim_session._get_vim().get_service_content().sessionManager) - return str(vm_ref) + ":" + virtual_machine_ticket + return str(vm_ref.value) + ":" + virtual_machine_ticket def is_otp(self): """Is one time password.""" |
