Ask Your Question
1

openstack upgrade havana -> icehouse - VNC problem

asked 2015-05-28 10:57:04 -0500

agti gravatar image

updated 2015-05-29 02:09:00 -0500

Hi, after the havana to icehouse upgrade VNC is not working. Here what I found in consoleauth.log :

[root@Openstack-controller nova(keystone_admin)]# cat consoleauth.log | grep ERROR
2015-05-28 16:43:55.381 25302 ERROR oslo.messaging.rpc.dispatcher [-] Exception during message handling: Endpoint does not support RPC version 1.2
2015-05-28 16:43:55.400 25302 ERROR oslo.messaging._drivers.common [-] Returning exception Endpoint does not support RPC version 1.2 to caller
2015-05-28 16:43:55.400 25302 ERROR oslo.messaging._drivers.common [-] ['Traceback (most recent call last):\n', '  File "/usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply\n    incoming.message))\n', '  File "/usr/lib/python2.6/site-packages/oslo/messaging/rpc/dispatcher.py", line 185, in _dispatch\n    raise UnsupportedVersion(version)\n', 'UnsupportedVersion: Endpoint does not support RPC version 1.2\n']

Here my controller nova.conf:

novncproxy_host=0.0.0.0
novncproxy_port=6080
novncproxy_base_url=http://CONTROLLER_IP:6080/vnc_auto.html
vncserver_listen=0.0.0.0
vncserver_proxyclient_address=CONTROLLER_IP

Here my compute nova.conf:

novncproxy_base_url=http://CONTROLLER_IP:6080/vnc_auto.html
vncserver_listen=COMPUTE_IP
vncserver_proxyclient_address=COMPUTE_IP
vnc_enabled=True

UPDATE

It is important to know that during the upgrade i passed from qpid to rabbitmq; I changed all related info on config files. Could it be related to this change?

Thanks

UPDATE 2

This is my endpoint list. Do you think there is something missing/wrong?

[root@Openstack-controller ~(keystone_admin)]# keystone endpoint-list
+----------------------------------+-----------+---------------------------------------------+---------------------------------------------+---------------------------------------------+----------------------------------+
|                id                |   region  |                  publicurl                  |                 internalurl                 |                   adminurl                  |            service_id            |
+----------------------------------+-----------+---------------------------------------------+---------------------------------------------+---------------------------------------------+----------------------------------+
| 0fd55b1d16a946e4bf36b83e3f84a7af | RegionOne |          http://X.Y.X.W:8777         |          http://X.Y.X.W:8777         |          http://X.Y.X.W:8777         | 061f2874081e4156a9c307b869214731 |
| 2a1b24cfd24b4f12ada7dc512711b5bb | RegionOne |       http://X.Y.X.W:5000/v2.0       |       http://X.Y.X.W:5000/v2.0       |       http://X.Y.X.W:35357/v2.0      | 53b32072efd440448a5874d26a219cc0 |
| 48f37ee7963d45239a86a290aa7ee0a1 | RegionOne |         http://X.Y.X.W:9696/         |         http://X.Y.X.W:9696/         |         http://X.Y.X.W:9696/         | 2e747f0924a04949b22b41a7b93e8195 |
| 507fc6dd32dd4fa2a83a6fa0926aea0a | RegionOne |  http://X.Y.X.W:8773/services/Cloud  |  http://X.Y.X.W:8773/services/Cloud  |  http://X.Y.X.W:8773/services/Admin  | 02fa76fdfda242fe86e8f1615ca4d267 |
| 9bece21e23fa437cb655fa92008035ec | RegionOne | http://X.Y.X.W:8776/v2/%(tenant_id)s | http://X.Y.X.W:8776/v2/%(tenant_id)s | http://X.Y.X.W:8776/v2/%(tenant_id)s | 9891914203ba4c3cb01a38f2dcc356ea |
| af9f0ada5d8c448c8366078accb6797e | RegionOne |          http://X.Y.X.W:9292         |          http://X.Y.X.W:9292         |          http://X.Y.X.W:9292         | ea44a22cf0a14947bcd80ee92b26cc12 |
| f9bec31694864d7da308f01fd7454e8f | RegionOne | http://X.Y.X.W:8776/v1/%(tenant_id)s | http://X.Y.X.W:8776/v1/%(tenant_id)s | http://X.Y.X.W:8776/v1/%(tenant_id)s | 143d559307a14e8eaf64fe8cd17f9115 |
| f9d5430da87041e599c27eec3a29bb93 | RegionOne | http://X.Y.X.W:8774/v2/%(tenant_id)s | http://X.Y.X.W:8774/v2/%(tenant_id)s | http://X.Y.X.W:8774/v2/%(tenant_id)s | 72c00a5af4394ae999f2c0dc38b776da |
+----------------------------------+-----------+---------------------------------------------+---------------------------------------------+---------------------------------------------+----------------------------------+
[root@Openstack-controller ~(keystone_admin)]# keystone service-list
+----------------------------------+------------+----------+----------------------------+
|                id                |    name    |   type   |        description         |
+----------------------------------+------------+----------+----------------------------+
| 061f2874081e4156a9c307b869214731 | ceilometer | metering | Openstack Metering Service |
| 143d559307a14e8eaf64fe8cd17f9115 |   cinder   |  volume  |       Cinder Service       |
| 9891914203ba4c3cb01a38f2dcc356ea | cinder_v2  | volumev2 |     Cinder Service v2      |
| ea44a22cf0a14947bcd80ee92b26cc12 |   glance   |  image   |  Openstack Image Service   |
| 53b32072efd440448a5874d26a219cc0 |  keystone  | identity | OpenStack Identity Service |
| 2e747f0924a04949b22b41a7b93e8195 |  neutron   | network  | Neutron Networking Service |
| 72c00a5af4394ae999f2c0dc38b776da |    nova    | compute  | Openstack Compute Service  |
| 02fa76fdfda242fe86e8f1615ca4d267 |  nova_ec2  |   ec2    |        EC2 ...
(more)
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-05-29 05:03:55 -0500

agti gravatar image

It was a file permission problem on /usr/share/novnc/include/rfb.js. Solved with:

chmod 444 rfb.js

The solution was found enablig logging on /etc/init.d/openstack-nova-novncproxy. ($logfile substitutes /dev/null)

edit flag offensive delete link more
0

answered 2015-05-28 12:01:24 -0500

bobyakov gravatar image

Check you end point URL's (nova endpoints) several URL's have the version with in them. Make sure the URL has correct version. example: nova adminURL http://192.168.1.1:8774/v2/

Side note that goes for all services...

edit flag offensive delete link more

Comments

Hi, I updated the question with relevant endpoint info. Is there anything wrong? Thanks

agti gravatar imageagti ( 2015-05-29 02:10:09 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-05-28 10:57:04 -0500

Seen: 120 times

Last updated: May 29 '15