← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1459943] Re: The API unit tests for serial console use http instead of ws

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => liberty-3

-- 
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/1459943

Title:
  The API unit tests for serial console use http instead of ws

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  AFAIK the serial console will only work if a websocket URL is
  returned, e.g. "ws://127.0.0.1:6083/" [1]

  The API unit tests use "http" as scheme name [2], which could lead to
  misinterpretation of the capabilities of this feature.

  IMO they should use "ws" in the tests to avoid misleading.

  [1] table 3.53; http://docs.openstack.org/kilo/config-reference/content/list-of-compute-config-options.html
  [2] https://github.com/openstack/nova/blob/master/nova/tests/unit/api/openstack/compute/contrib/test_consoles.py#L42

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1459943/+subscriptions


References