Bug 981430

Summary: Nova VNC: needs nova-consoleauth service
Product: Red Hat OpenStack Reporter: Attila Darazs <adarazs>
Component: doc-Installation_and_Configuration_GuideAssignee: Stephen Gordon <sgordon>
Status: CLOSED CURRENTRELEASE QA Contact: ecs-bugs
Severity: high Docs Contact:
Priority: high    
Version: 3.0CC: alyoung, hateya, sgordon
Target Milestone: asyncKeywords: Documentation, Triaged, ZStream
Target Release: 3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Red_Hat_OpenStack-Installation_and_Configuration_Guide-3-web-en-US-3-31.el6eng Doc Type: Bug Fix
Doc Text:
Story Points: ---
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 Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1011085    

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]