yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #47040
[Bug 1551104] [NEW] get-XXX-console returns 500 while an expected exception ConsoleTypeInvalid raised
Public bug reported:
1. Exact version of Nova/OpenStack you are running:
Master 791e5421cdc2130ed80e067e43b6006a6859138b
2. Relevant log files:
taget@taget-ThinkStation-P300:~/devstack$ nova get-vnc-console testvm ee
ERROR (BadRequest): Invalid input for field/attribute type. Value: ee. u'ee' is not one of ['novnc', 'xvpvnc', 'rdp-html5', 'spice-html5', 'serial', 'webmks'] (HTTP 400) (Request-ID: req-8bd1cada-caf4-4c9f-afa3-1afe7655472d)
taget@taget-ThinkStation-P300:~/devstack$ nova get-vnc-console testvm xvpvnc
+--------+------------------------------------------------------------------------------+
| Type | Url |
+--------+------------------------------------------------------------------------------+
| xvpvnc | http://10.238.157.49:6081/console?token=a7275c37-7397-414a-ba3f-1da4a03d2115 |
+--------+------------------------------------------------------------------------------+
taget@taget-ThinkStation-P300:~/devstack$ nova get-vnc-console testvm rdp-html5
ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'ConsoleTypeInvalid_Remote'> (HTTP 500) (Request-ID: req-dfd46bc0-fa46-41ea-adda-83929f8f94d8)
taget@taget-ThinkStation-P300:~/devstack$ nova get-vnc-console testvm spice-html5
ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'ConsoleTypeInvalid_Remote'> (HTTP 500) (Request-ID: req-61028912-7436-4ac5-9217-13813f55f7fa)
taget@taget-ThinkStation-P300:~/devstack$ nova get-vnc-console testvm serial
ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'ConsoleTypeInvalid_Remote'> (HTTP 500) (Request-ID: req-5f83283d-9b75-40b1-9dae-81cf30890749)
taget@taget-ThinkStation-P300:~/devstack$ nova get-vnc-console testvm webmks
ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'ConsoleTypeInvalid_Remote'> (HTTP 500) (Request-ID: req-ec419562-f7c2-43ed-9d61-333633f45e5d)
3. Reproduce steps:
create a testvm(default configurtion) with nova boot bla bla bla ..
nova get-vnc-console testvm webmks
Expected result:
HTTP 400, bad request Invalid console type %(console_type)s"
Actual result:
HTTP 500
** Affects: nova
Importance: Undecided
Assignee: Eli Qiao (taget-9)
Status: New
** Tags: api
** Changed in: nova
Assignee: (unassigned) => Eli Qiao (taget-9)
** Tags added: api
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1551104
Title:
get-XXX-console returns 500 while an expected exception
ConsoleTypeInvalid raised
Status in OpenStack Compute (nova):
New
Bug description:
1. Exact version of Nova/OpenStack you are running:
Master 791e5421cdc2130ed80e067e43b6006a6859138b
2. Relevant log files:
taget@taget-ThinkStation-P300:~/devstack$ nova get-vnc-console testvm ee
ERROR (BadRequest): Invalid input for field/attribute type. Value: ee. u'ee' is not one of ['novnc', 'xvpvnc', 'rdp-html5', 'spice-html5', 'serial', 'webmks'] (HTTP 400) (Request-ID: req-8bd1cada-caf4-4c9f-afa3-1afe7655472d)
taget@taget-ThinkStation-P300:~/devstack$ nova get-vnc-console testvm xvpvnc
+--------+------------------------------------------------------------------------------+
| Type | Url |
+--------+------------------------------------------------------------------------------+
| xvpvnc | http://10.238.157.49:6081/console?token=a7275c37-7397-414a-ba3f-1da4a03d2115 |
+--------+------------------------------------------------------------------------------+
taget@taget-ThinkStation-P300:~/devstack$ nova get-vnc-console testvm rdp-html5
ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'ConsoleTypeInvalid_Remote'> (HTTP 500) (Request-ID: req-dfd46bc0-fa46-41ea-adda-83929f8f94d8)
taget@taget-ThinkStation-P300:~/devstack$ nova get-vnc-console testvm spice-html5
ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'ConsoleTypeInvalid_Remote'> (HTTP 500) (Request-ID: req-61028912-7436-4ac5-9217-13813f55f7fa)
taget@taget-ThinkStation-P300:~/devstack$ nova get-vnc-console testvm serial
ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'ConsoleTypeInvalid_Remote'> (HTTP 500) (Request-ID: req-5f83283d-9b75-40b1-9dae-81cf30890749)
taget@taget-ThinkStation-P300:~/devstack$ nova get-vnc-console testvm webmks
ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'ConsoleTypeInvalid_Remote'> (HTTP 500) (Request-ID: req-ec419562-f7c2-43ed-9d61-333633f45e5d)
3. Reproduce steps:
create a testvm(default configurtion) with nova boot bla bla bla ..
nova get-vnc-console testvm webmks
Expected result:
HTTP 400, bad request Invalid console type %(console_type)s"
Actual result:
HTTP 500
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1551104/+subscriptions
Follow ups