SM:R3.2 build 24: unable to login to the console of the vm with error in nova-novncproxy

Bug #1668271 reported by sundarkh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.2
Fix Committed
High
Dheeraj Gautam
Trunk
Fix Committed
High
Dheeraj Gautam

Bug Description

SM:R3.2 build 24: unable to login to the console of the vm with error in nova-novncproxy port 5999

1) Provision the centos72/liberty targets with SM

2) creation of vm is succesful;

3) Login to Openstack UI

OpenstackIP/dashboard/project/instances/88cf26f4-f810-4400-9b9a-2d6568e6ae67/

Console is unable to connect with Error

Unable to connect
Firefox can’t establish a connection to the server at 10.204.217.112:5999.

Please find the snapshot attached

nova-novncproxy.log
---------------------

2017-02-27 04:33:38.690 25460 INFO nova.console.websocketproxy [-] WebSocket server settings:
2017-02-27 04:33:38.691 25460 INFO nova.console.websocketproxy [-] - Listen on 10.204.217.112:5999
2017-02-27 04:33:38.691 25460 INFO nova.console.websocketproxy [-] - Flash security policy server
2017-02-27 04:33:38.691 25460 INFO nova.console.websocketproxy [-] - Web server. Web root: /usr/share/novnc
2017-02-27 04:33:38.691 25460 INFO nova.console.websocketproxy [-] - No SSL/TLS support (no cert file)
2017-02-27 04:33:38.692 25460 INFO nova.console.websocketproxy [-] - proxying from 10.204.217.112:5999 to None:None
2017-02-27 04:41:49.692 25460 INFO nova.console.websocketproxy [-] Got SIGTERM, exiting
2017-02-27 04:41:49.693 25460 INFO nova.console.websocketproxy [-] In exit
2017-02-27 04:41:49.693 25460 DEBUG nova.console.websocketproxy [-] Closing socket listening at 10.204.217.112:5999 vmsg /usr/lib/python2.7/site-packages/websockify/websocket.py:828
2017-02-27 04:46:50.572 1418 INFO nova.console.websocketproxy [-] WebSocket server settings:
2017-02-27 04:46:57.030 1418 INFO nova.console.websocketproxy [-] - Listen on 10.204.217.112:5999
2017-02-27 04:46:57.031 1418 INFO nova.console.websocketproxy [-] - Flash security policy server
2017-02-27 04:46:57.031 1418 INFO nova.console.websocketproxy [-] - Web server. Web root: /usr/share/novnc
2017-02-27 04:46:57.031 1418 INFO nova.console.websocketproxy [-] - No SSL/TLS support (no cert file)
2017-02-27 04:46:57.032 1418 CRITICAL nova [-] error: [Errno 99] Cannot assign requested address
2017-02-27 04:46:57.032 1418 ERROR nova Traceback (most recent call last):
2017-02-27 04:46:57.032 1418 ERROR nova File "/usr/bin/nova-novncproxy", line 10, in <module>
2017-02-27 04:46:57.032 1418 ERROR nova sys.exit(main())
2017-02-27 04:46:57.032 1418 ERROR nova File "/usr/lib/python2.7/site-packages/nova/cmd/novncproxy.py", line 51, in main
2017-02-27 04:46:57.032 1418 ERROR nova port=CONF.novncproxy_port)
2017-02-27 04:46:57.032 1418 ERROR nova File "/usr/lib/python2.7/site-packages/nova/cmd/baseproxy.py", line 72, in proxy
2017-02-27 04:46:57.032 1418 ERROR nova RequestHandlerClass=websocketproxy.NovaProxyRequestHandler
2017-02-27 04:46:57.032 1418 ERROR nova File "/usr/lib/python2.7/site-packages/websockify/websocket.py", line 909, in start_server
2017-02-27 04:46:57.032 1418 ERROR nova tcp_keepintvl=self.tcp_keepintvl)
2017-02-27 04:46:57.032 1418 ERROR nova File "/usr/lib/python2.7/site-packages/websockify/websocket.py", line 698, in socket
2017-02-27 04:46:57.032 1418 ERROR nova sock.bind(addrs[0][4])
2017-02-27 04:46:57.032 1418 ERROR nova File "/usr/lib64/python2.7/socket.py", line 224, in meth
2017-02-27 04:46:57.032 1418 ERROR nova return getattr(self._sock,name)(*args)
2017-02-27 04:46:57.032 1418 ERROR nova error: [Errno 99] Cannot assign requested address
2017-02-27 04:46:57.032 1418 ERROR nova

Seen with ubuntu/centos based targets

Revision history for this message
sundarkh (sundar-kh) wrote :
sundarkh (sundar-kh)
description: updated
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.2

Review in progress for https://review.opencontrail.org/30673
Submitter: Dheeraj Gautam (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/30675
Submitter: Dheeraj Gautam (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/30673
Committed: http://github.com/Juniper/contrail-puppet/commit/1330f24f1a9e7efe225814e4e49b7dedfb858238
Submitter: Zuul (<email address hidden>)
Branch: R3.2

commit 1330f24f1a9e7efe225814e4e49b7dedfb858238
Author: Dheeraj Gautam <email address hidden>
Date: Fri Apr 21 14:40:26 2017 -0700

listen on all interfaces for novncproxy instead of just ctrl_data_ip

Closes-Bug: #1668271

novncproxy should listen on all interfaces instead of just control_data interface.

TESTING:
1. provisoining 2 node compute, launched 3 VMs, validated access to VM console

Change-Id: I29c39aaadacdb951a91c23b181697ef65e0ac9c7

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/30675
Committed: http://github.com/Juniper/contrail-puppet/commit/9e85815d3803072e9bab3db547ef24698ef049ad
Submitter: Zuul (<email address hidden>)
Branch: master

commit 9e85815d3803072e9bab3db547ef24698ef049ad
Author: Dheeraj Gautam <email address hidden>
Date: Fri Apr 21 14:40:26 2017 -0700

listen on all interfaces for novncproxy instead of just ctrl_data_ip

Closes-Bug: #1668271

novncproxy should listen on all interfaces instead of just control_data interface.

TESTING:
1. provisoining 2 node compute, launched 3 VMs, validated access to VM console

Change-Id: I29c39aaadacdb951a91c23b181697ef65e0ac9c7

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.