Bug 981430 - Nova VNC: needs nova-consoleauth service
Summary: Nova VNC: needs nova-consoleauth service
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: doc-Installation_and_Configuration_Guide
Version: 3.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: async
: 3.0
Assignee: Stephen Gordon
QA Contact: ecs-bugs
URL:
Whiteboard:
Depends On:
Blocks: 1011085
TreeView+ depends on / blocked
 
Reported: 2013-07-04 16:27 UTC by Attila Darazs
Modified: 2014-01-06 04:25 UTC (History)
3 users (show)

Fixed In Version: Red_Hat_OpenStack-Installation_and_Configuration_Guide-3-web-en-US-3-31.el6eng
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Build: CSProcessor Builder Version 1.11 Build Name: 15807, Installation and Configuration Guide-3-1 Build Date: 02-07-2013 17:01:56 Topic ID: 15944-465604 [Latest]
Last Closed: 2014-01-06 04:25:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Attila Darazs 2013-07-04 16:27:22 UTC
Title: Controlling the VNC Proxy service

Describe the issue:
The get-vnc-console CLI command, and the dashboard vnc console hangs because it is not mentioned that we need to enable, and install the consoleauth service, which is part of the openstack-nova-console package.

I got errors like this in /var/log/nova/api.log:
2013-07-04 18:13:49.664 ERROR nova.api.openstack [req-6e7c8239-57e4-4a07-b915-6966af2db13f 0845d8bcf6c9453e9cb63e15bd07cce3 0462cfe859364e2e92a1f78309576d02] Caught error: Timeout while waiting on RPC response.
[..]
2013-07-04 18:13:49.664 17690 TRACE nova.api.openstack Timeout: Timeout while waiting on RPC response.

Suggestions for improvement:
1. Suggest to install openstack-nova-console package
2. Enable openstack-nova-consoleauth service and make it start automatically.

# yum install openstack-nova-console
# service openstack-nova-consoleauth start
# chkconfig openstack-nova-consoleauth on

Additional information:

This is documented here too:
http://docs.openstack.org/trunk/openstack-compute/admin/content/faq-about-vnc.html

Q: When I use nova get-vnc-console or click on the VNC tab of the Dashboard, it hangs. Why?

A: Make sure you are running nova-consoleauth (in addition to nova-novncproxy). The proxies rely on nova-consoleauth to validate tokens, and waits for a reply from them until a timeout is reached.

Comment 2 Stephen Gordon 2013-07-17 16:30:13 UTC
"Installing the Compute VNC Proxy Packages" - ID: 15817 [rev: 478999]
"Controlling the VNC Proxy service" - ID: 15944 [rev: 479000]

Comment 3 Stephen Gordon 2013-07-24 18:15:31 UTC
Is:

# service openstack-nova-console start

Should be:

# service openstack-nova-consoleauth start

Comment 4 Stephen Gordon 2013-07-24 19:03:51 UTC
"Controlling the VNC Proxy service" - ID: 15944 [rev: 481533]


Note You need to log in before you can comment on or make changes to this bug.