← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1408708] [NEW] The API returns a serial console connection without an activated nova-serialproxy

 

Public bug reported:

Problem description
===================
The Nova REST API returns with server action ``os-getSerialConsole``
a connection info (a websocket URL) although the nova-serialproxy service
is *not* activated. 

Steps to reproduce
==================
* Configure in ``nova.conf``
    [serial_console]
    enabled=true
* restart nova compute service
* boot an instance
* query serial console connection (e.g. with CLI 
  ``nova get-serial-console <server>``)

Expected behavior
=================
Get an exception with a reason that the ``nova-serialproxy`` is not
activated.

Observed behavior
=================
Get a valid looking URL which doesn't lead to an actual connection
because of the inactive nova-serialproxy.

Additional data 
===============
* Nova code from master branch until commit 31bfc6415484054457c84924ac2d824e8ce2db93 (Mon Jan 5 11:49:56 2015 +0000)
* A serial console client: https://github.com/larsks/novaconsole

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: proxy serial-console

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

Title:
  The API returns a serial console connection without an activated nova-
  serialproxy

Status in OpenStack Compute (Nova):
  New

Bug description:
  Problem description
  ===================
  The Nova REST API returns with server action ``os-getSerialConsole``
  a connection info (a websocket URL) although the nova-serialproxy service
  is *not* activated. 

  Steps to reproduce
  ==================
  * Configure in ``nova.conf``
      [serial_console]
      enabled=true
  * restart nova compute service
  * boot an instance
  * query serial console connection (e.g. with CLI 
    ``nova get-serial-console <server>``)

  Expected behavior
  =================
  Get an exception with a reason that the ``nova-serialproxy`` is not
  activated.

  Observed behavior
  =================
  Get a valid looking URL which doesn't lead to an actual connection
  because of the inactive nova-serialproxy.

  Additional data 
  ===============
  * Nova code from master branch until commit 31bfc6415484054457c84924ac2d824e8ce2db93 (Mon Jan 5 11:49:56 2015 +0000)
  * A serial console client: https://github.com/larsks/novaconsole

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


Follow ups

References