Comments (4)
From the log file /var/log/nova/nova-novncproxy.log
These two lines have the cue to the cause of the issue:
2016-11-21 00:57:11.848 12136 INFO nova.console.websocketproxy [req-e289812c-ed25-4ee1-b6ba-a1b0ed8ac6d9 - - - - -] 13: connecting to: rdo-liberty.localdomain:5900
2016-11-21 00:57:11.891 12136 INFO nova.console.websocketproxy [req-e289812c-ed25-4ee1-b6ba-a1b0ed8ac6d9 - - - - -] handler exception: [Errno -2] Name or service not known
When I tried to ping rdo-liberty.localdomain it failed.
So I changed /etc/hosts file to associate rdo-liberty.localdomain to the local IP.
192.168.0.126 rdo-liberty rdo-liberty.localdomain
Now works like a charm!!
from coa.
Services looks ok:
netstat -tulnp | grep 6080
tcp 0 0 0.0.0.0:6080 0.0.0.0:* LISTEN 11427/python2
systemctl status openstack-nova-consoleauth
● openstack-nova-consoleauth.service - OpenStack Nova VNC console auth Server
Loaded: loaded (/usr/lib/systemd/system/openstack-nova-consoleauth.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2016-11-21 00:52:07 CET; 7min ago
Main PID: 11346 (nova-consoleaut)
CGroup: /system.slice/openstack-nova-consoleauth.service
└─11346 /usr/bin/python2 /usr/bin/nova-consoleauthNov 21 00:51:59 rdo-liberty.localdomain systemd[1]: Starting OpenStack Nova VNC console auth Server...
Nov 21 00:52:07 rdo-liberty.localdomain nova-consoleauth[11346]: Option "rpc_backend" from group "DEFAULT" is deprecated for rem...ture.
Nov 21 00:52:07 rdo-liberty.localdomain systemd[1]: Started OpenStack Nova VNC console auth Server.
Hint: Some lines were ellipsized, use -l to show in full.
systemctl status openstack-nova-novncproxy
● openstack-nova-novncproxy.service - OpenStack Nova NoVNC Proxy Server
Loaded: loaded (/usr/lib/systemd/system/openstack-nova-novncproxy.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2016-11-21 00:52:22 CET; 7min ago
Main PID: 11427 (nova-novncproxy)
CGroup: /system.slice/openstack-nova-novncproxy.service
├─11427 /usr/bin/python2 /usr/bin/nova-novncproxy --web /usr/share/novnc/
└─11577 /usr/bin/python2 /usr/bin/nova-novncproxy --web /usr/share/novnc/Nov 21 00:52:22 rdo-liberty.localdomain systemd[1]: Started OpenStack Nova NoVNC Proxy Server.
Nov 21 00:52:22 rdo-liberty.localdomain systemd[1]: Starting OpenStack Nova NoVNC Proxy Server...
Nov 21 00:52:25 rdo-liberty.localdomain nova-novncproxy[11427]: Option "rpc_backend" from group "DEFAULT" is deprecated for remo...ture.
Hint: Some lines were ellipsized, use -l to show in full.
from coa.
tail /var/log/nova/nova-novncproxy.log
2016-11-21 00:57:11.686 12136 WARNING oslo_config.cfg [req-e289812c-ed25-4ee1-b6ba-a1b0ed8ac6d9 - - - - -] Option "rabbit_userid" from group "oslo_messaging_rabbit" is deprecated for removal. Its value may be silently ignored in the future.
2016-11-21 00:57:11.686 12136 WARNING oslo_config.cfg [req-e289812c-ed25-4ee1-b6ba-a1b0ed8ac6d9 - - - - -] Option "rabbit_password" from group "oslo_messaging_rabbit" is deprecated for removal. Its value may be silently ignored in the future.
2016-11-21 00:57:11.848 12136 INFO nova.console.websocketproxy [req-e289812c-ed25-4ee1-b6ba-a1b0ed8ac6d9 - - - - -] 13: connect info: {u'instance_uuid': u'cdddc9fe-069f-4055-ad52-9fcb8318469c', u'internal_access_path': None, u'last_activity_at': 1479686230.69957, u'console_type': u'novnc', u'host': u'rdo-liberty.localdomain', u'token': u'89ab5577-e808-457b-9584-04cf6b49c8e4', u'access_url': u'http://192.168.0.126:6080/vnc_auto.html?token=89ab5577-e808-457b-9584-04cf6b49c8e4', u'port': u'5900'}
2016-11-21 00:57:11.848 12136 INFO nova.console.websocketproxy [req-e289812c-ed25-4ee1-b6ba-a1b0ed8ac6d9 - - - - -] 13: connecting to: rdo-liberty.localdomain:5900
2016-11-21 00:57:11.891 12136 INFO nova.console.websocketproxy [req-e289812c-ed25-4ee1-b6ba-a1b0ed8ac6d9 - - - - -] handler exception: [Errno -2] Name or service not known
2016-11-21 00:57:14.370 12124 INFO nova.console.websocketproxy [-] 192.168.0.146: ignoring socket not ready
2016-11-21 00:57:14.376 12125 INFO nova.console.websocketproxy [-] 192.168.0.146: ignoring socket not ready
2016-11-21 00:57:14.421 12123 INFO nova.console.websocketproxy [-] 192.168.0.146: ignoring socket not ready
2016-11-21 00:57:14.428 12128 INFO nova.console.websocketproxy [-] 192.168.0.146: ignoring socket not ready
2016-11-21 00:57:14.445 12129 INFO nova.console.websocketproxy [-] 192.168.0.146: ignoring socket not ready
from coa.
A good news that the VM can be pinged from the router namespace:
openstack server list
+--------------------------------------+------+--------+----------------+------------+
| ID | Name | Status | Networks | Image Name |
+--------------------------------------+------+--------+----------------+------------+
| cdddc9fe-069f-4055-ad52-9fcb8318469c | d1i1 | ACTIVE | net33=33.0.0.4 | |
+--------------------------------------+------+--------+----------------+------------+
ip netns
qdhcp-a84b580a-b1fb-41d8-aee3-9a2f5ee81793
qdhcp-d38835fb-5d69-410f-8792-11c89777da80
qrouter-8b413e2c-dc77-4015-8c82-fbb5bb067679
qrouter-b058d790-8a35-471a-ab1a-d6514b5c1d03
ip netns exec qrouter-8b413e2c-dc77-4015-8c82-fbb5bb067679 ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
13: qr-1ee1d691-ce: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue state UNKNOWN
link/ether fa:16:3e:21:8f:e5 brd ff:ff:ff:ff:ff:ff
inet 33.0.0.254/24 brd 33.0.0.255 scope global qr-1ee1d691-ce
valid_lft forever preferred_lft forever
inet6 fe80::f816:3eff:fe21:8fe5/64 scope link
valid_lft forever preferred_lft forever
15: qg-5350ced1-f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue state UNKNOWN
link/ether fa:16:3e:a9:2f:c9 brd ff:ff:ff:ff:ff:ff
inet 172.24.4.231/28 brd 172.24.4.239 scope global qg-5350ced1-f1
valid_lft forever preferred_lft forever
inet6 2a01:e35:2fb8:f260:f816:3eff:fea9:2fc9/64 scope global mngtmpaddr dynamic
valid_lft 85888sec preferred_lft 85888sec
inet6 fe80::f816:3eff:fea9:2fc9/64 scope link
valid_lft forever preferred_lft forever
ip netns exec qrouter-8b413e2c-dc77-4015-8c82-fbb5bb067679 ping 33.0.0.4
PING 33.0.0.4 (33.0.0.4) 56(84) bytes of data.
64 bytes from 33.0.0.4: icmp_seq=1 ttl=64 time=5.60 ms
64 bytes from 33.0.0.4: icmp_seq=2 ttl=64 time=0.830 ms
64 bytes from 33.0.0.4: icmp_seq=3 ttl=64 time=0.611 ms
64 bytes from 33.0.0.4: icmp_seq=4 ttl=64 time=0.496 ms
64 bytes from 33.0.0.4: icmp_seq=5 ttl=64 time=2.58 ms
64 bytes from 33.0.0.4: icmp_seq=6 ttl=64 time=1.32 ms
^C
--- 33.0.0.4 ping statistics ---
from coa.
Related Issues (20)
- Heat: successful stack creation, but nothing happens HOT 2
- openstack command: HttpException: Bad Request
- cinder: Volume type with name LUKS could not be found. (HTTP 404) HOT 1
- openstack cli command: created user within a group, but it doesn't appear in the list of horizon. Cannot connect to horizon with new user. HOT 1
- Swift: Cannot set expiry date for a container HOT 1
- Creating an instance : aborted: Block Device Mapping is Invalid. HOT 1
- Error: Unable to retrieve instances. HOT 1
- Cannot reach floating IP from outside network HOT 3
- Consequence of Rabbitmq service stopped HOT 1
- Policy doesn't allow os_compute_api:os-quota-sets:update to be performed. (HTTP 403) (Request-ID: HOT 1
- volume backup error : volumes_backup 403 Forbidden [first 60 chars of response] <html><h1>Forbidden</h1><p>Access was denied to this resourc
- neutron: External network ... is not reachable from subnet ... Therefore, cannot associate Port ... with a Floating IP HOT 1
- Block Device Mapping is Invalid : When creating xenial instance
- Creating instance: Power state = "no state" HOT 1
- Cannot SSH access to Debian cloud image 9.1.1: HOT 1
- libvirt & guestfish : Cannot run the image : Original error from libvirt: Cannot access storage file '/root/debian-9.1.1-20170725-openstack-amd64.qcow2' (as uid:107, gid:107): Permission denied [code=38 int1=13] HOT 2
- Cannot ping outside world from instance HOT 1
- Issue deleting external network from Horizon
- Swift installation on centos
- Facing issue with "openstack token issue"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coa.