Commit b0992f2b authored by Christos Stavrakakis's avatar Christos Stavrakakis Committed by Ilias Tsitsimpis

cyclades: Log vncauthproxy's response

Log the response of vncauthproxy when it has failed to
process a request (the status field is not 'OK').

Closes #12
parent ebef27e4
......@@ -435,6 +435,7 @@ def console(vm, console_type):
**vnc_extra_opts)
if fwd['status'] != "OK":
log.error("vncauthproxy returned error status: '%s'" % fwd)
raise faults.ServiceUnavailable('vncauthproxy returned error status')
# Verify that the VNC server settings haven't changed
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment