Have you restarted the specific nova-consoleauth service ?

TBC, the VNC console is one way to quickly access the instance, but if you need 
more, there are other ways to connect the guest :

Putting it as Invalid since I don't really see a clear Nova issue, but
let's reopen the bug by marking it as "New" if you can explain more
what's the specific issue you have.

** Changed in: nova
       Status: New => Invalid

** Changed in: nova
   Importance: Undecided => Low

You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).

  VNC console fails to connect

Status in OpenStack Compute (nova):

Bug description:
  When try to open an instance VNC console, we get an error message (such as 
"failed to connect server; code=1006) after some time.For the initial 5 min it 
work successfully.(pike release)

  browser refresh it eventually works.

  INFO nova.consoleauth.manager [req-0db1a667-bba0-427d-ba0b-4f03ecf1bcca - - - 
- -] Checking Token: f2c6eac1-ad7a-4bbf-8952-7e7fd5c4ae75, False

  INFO nova.console.websocketproxy [req-0db1a667-bba0-427d-ba0b-4f03ecf1bcca - 
- - - -] handler exception: The token 'f2c6eac1-ad7a-4bbf-8952-7e7fd5c4ae75' is 
invalid or has expired

  -3 compute nodes and 2 controller nodes 
  -nova.conf on compute node has,
   vnc_enabled = True
   novnc_enabled = True
   vnc_keymap = en-us
   vncserver_listen =
   vncserver_proxyclient_address =
   novncproxy_base_url =

  -nova.conf on controller node has [cache] section
   enabled = true
   backend = oslo_cache.memcache_pool
   memcache_servers =,,

  Steps to reproduce 
  login to the dashboard as a project user, spawn a VM, from the drop down - 
select VNC console. Able to connect to vnc console for initial 5-7 min after 
this not able to connect.An empty VNC window appears but cannot connect to the 
VM with an error "Failed to connect to server(code:1006)".
  100% repeatable

  any guidance on resolve this would be really appreciated

To manage notifications about this bug go to:

Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to