[Openstack] VNC is not working

MinoX minox.88 at gmail.com
Mon Aug 19 16:53:40 UTC 2013


Ok. I don't know.

The command nova get-vnc-console ID novnc generate that in my environment

2013-08-19 18:50:02 AUDIT nova.consoleauth.manager
[req-3956b820-0f72-475d-ac0e-10e663368fff 0f5e030e8ac44d9a8a91d80d5ceeb45f
8431ce087f4e40a4baf7dcb38d9278fc] Received Token:
3d1f1b20-02fc-46f8-b823-87af988d9d9e, {'instance_uuid':
u'2dba6484-bba8-4940-9949-9057b2cda93e', 'internal_access_path':
u'/console?ref=OpaqueRef:ce79f66a-a86a-3401-bee0-c149de161bfd&session_id=OpaqueRef:8c4e6443-8011-b3ad-0296-06d592bc9b1d',
'last_activity_at': 1376931002.322279, 'console_type': u'novnc', 'host':
u'10.62.8.21', 'token': u'3d1f1b20-02fc-46f8-b823-87af988d9d9e', 'port':
80})

and open url

2013-08-19 18:51:26 2531 DEBUG nova.openstack.common.rpc.amqp [-] received
{u'_context_roles': [], u'_msg_id': u'e57b53825c7040bea27d4bd399f038e6',
u'_context_quota_class': None, u'_context_request_id':
u'req-9baf3e17-8681-452f-9f31-c86f241a2f09', u'_context_service_catalog':
None, u'_context_user_name': None, u'_context_auth_token': '<SANITIZED>',
u'args': {u'token': u'3d1f1b20-02fc-46f8-b823-87af988d9d9e'},
u'_context_instance_lock_checked': False, u'_context_project_name': None,
u'_context_is_admin': True, u'_context_project_id': None,
u'_context_timestamp': u'2013-08-19T16:51:26.384049',
u'_context_read_deleted': u'no', u'_context_user_id': None, u'method':
u'check_token', u'_context_remote_address': None} _safe_log
/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/common.py:195
2013-08-19 18:51:26 2531 DEBUG nova.openstack.common.rpc.amqp [-] unpacked
context: {'project_name': None, 'user_id': None, 'roles': [], 'timestamp':
u'2013-08-19T16:51:26.384049', 'auth_token': '<SANITIZED>',
'remote_address': None, 'quota_class': None, 'is_admin': True,
'service_catalog': None, 'request_id':
u'req-9baf3e17-8681-452f-9f31-c86f241a2f09', 'instance_lock_checked':
False, 'project_id': None, 'user_name': None, 'read_deleted': u'no'}
_safe_log
/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/common.py:195
2013-08-19 18:51:26 AUDIT nova.consoleauth.manager
[req-9baf3e17-8681-452f-9f31-c86f241a2f09 None None] Checking Token:
3d1f1b20-02fc-46f8-b823-87af988d9d9e, True)
2013-08-19 18:51:26 2531 DEBUG nova.openstack.common.rpc.amqp [-] Making
asynchronous call on compute.computo1 ... multicall
/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/amqp.py:352
2013-08-19 18:51:26 2531 DEBUG nova.openstack.common.rpc.amqp [-] MSG_ID is
c75f42fca2df44fe9eabaea40a3fdcac multicall
/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/amqp.py:355

you see checking token: yes...

In your log say FAIL or nothing.

Sorry if my help is not valid.


2013/8/19 Jitendra Bhaskar <jeetuindian at gmail.com>

> Only one nova-consoleauth process is running on controller. Started
> consoleauth  in debug mode , looks able to get TOKEN :
>
> 2013-08-19 20:57:56.193 DEBUG nova.openstack.common.rpc.amqp
> [req-df6a67ba-4a0d-4793-bceb-fe842779ced1 36f1f7d329864497b0df15ae4b4c00f2
> a0f7df9eb4f04678811c50c65a91c3f4] Pool creating new connection create
> /usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py:75
> 2013-08-19 20:57:56.195 INFO nova.openstack.common.rpc.common
> [req-df6a67ba-4a0d-4793-bceb-fe842779ced1 36f1f7d329864497b0df15ae4b4c00f2
> a0f7df9eb4f04678811c50c65a91c3f4] Connected to AMQP server on localhost:5672
> 2013-08-19 20:57:56.196 DEBUG nova.openstack.common.rpc.amqp
> [req-df6a67ba-4a0d-4793-bceb-fe842779ced1 36f1f7d329864497b0df15ae4b4c00f2
> a0f7df9eb4f04678811c50c65a91c3f4] UNIQUE_ID is
> 17ec2f8b25cf460ca60255593f217540. _add_unique_id
> /usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py:337
>
>
>
>
> On Mon, Aug 19, 2013 at 8:16 PM, MinoX <minox.88 at gmail.com> wrote:
>
>> How many nova-consoleauth process you have? Three? One in each
>> controller?.
>>
>> In this case, the nova-consoleauth(s) should shared the tokens.
>>
>> Enabled verbose output to nova-consoleauth log and you see token - FAIL?
>>
>>
>> 2013/8/19 Jitendra Bhaskar <jeetuindian at gmail.com>
>>
>>>  Hi,
>>>
>>> Unable to see console using vnc. Running openstack with three node
>>> controller, network and compute.
>>>
>>> Compute node nova.conf for vnc :
>>> # novnc
>>> vnc_enabled=true
>>> novncproxy_base_url=http://public_ip_of_controller:6080/vnc_auto.html
>>> novncproxy_port=6080
>>> vncserver_proxyclient_address=management_ip_compute
>>> vncserver_listen=0.0.0.0
>>>
>>> Controller node nova.conf for vnc :
>>>
>>> # novnc
>>> novnc_enabled=true
>>> novncproxy_port=6080
>>> novncproxy_base_url=http://public_ip_of_controller:6080/vnc_auto.html
>>> vncserver_proxyclient_address=management_ip_of_controller
>>> vncserver_listen=0.0.0.0
>>>
>>> On controller node :
>>> # tail -f /var/log/nova-consoleauth.log
>>> 2013-08-19 19:07:48.787 AUDIT nova.consoleauth.manager
>>> [req-a3619e78-957a-4306-adda-a18fffff0689 36f1f7d329864497b0df15ae4b4c00f2
>>> a0f7df9eb4f04678811c50c65a91c3f4] Received Token:
>>> 694ca183-02d2-4e8e-9ab7-7e14529bc42d, {'instance_uuid':
>>> u'72d76c4e-eec6-4529-b8f6-26ad7ad8947c', 'internal_access_path': None,
>>> 'last_activity_at': 1376919468.787, 'console_type': u'novnc', 'host':
>>> u'compute_IP', 'token': u'694ca183-02d2-4e8e-9ab7-7e14529bc42d', 'port':
>>> u'5901'})
>>>
>>>
>>>
>>>
>>> --
>>> * Thanks & Regards   *
>>> *Jitendra Kumar Bhaskar*
>>> Cell:- +91 7306311531
>>>       :- +91 9989743042
>>>
>>>
>>> _______________________________________________
>>> Mailing list:
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>> Post to     : openstack at lists.openstack.org
>>> Unsubscribe :
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>
>>>
>>
>
>
> --
> * Thanks & Regards   *
> *Jitendra Kumar Bhaskar*
> Cell:- +91 7306311531
>       :- +91 9989743042
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130819/e3ffcf03/attachment.html>


More information about the Openstack mailing list