instance console failed to connect error (code:1006)

asked 2014-12-30 05:18:51 -0600

fresher gravatar image

updated 2014-12-30 06:18:26 -0600

I have installed openstack juno using packstack on centos7. I am unable to connect to my instance console using vnc. Even through the dashboard I am unable to conenct with my instance.

On controller node:

lsof -i:6080
COMMAND     PID USER   FD   TYPE   DEVICE SIZE/OFF NODE NAME
nova-novn 39172 nova    3u  IPv4 12431060      0t0  TCP *:6080 (LISTEN)

On the compute node:

lsof -i:5900

does not show libvirt-qemu listening.

vi /var/log/nova/nova-novncproxy.log

InstanceNotFound_Remote: Instance instance-00000007 could not be found.

vi /var/log/nova/nova-consoleauth.log

InstanceNotFound: Instance instance-00000007 could not be found.
 to caller
2014-12-30 17:35:14.742 53535 ERROR oslo.messaging._drivers.common [req-84a38a07-deaf-4390-b8e4-d2667aa32e62 ] ['Traceback (most recent call last):\n', '  File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 134, in _dispatch_and_reply\n    incoming.message))\n', '  File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 177, in _dispatch\n    return self._do_dispatch(endpoint, method, ctxt, args)\n', '  File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 123, in _do_dispatch\n    result = getattr(endpoint, method)(ctxt, **new_args)\n', '  File "/usr/lib/python2.7/site-packages/nova/consoleauth/manager.py", line 127, in check_token\n    if self._validate_token(context, token):\n', '  File "/usr/lib/python2.7/site-packages/nova/consoleauth/manager.py", line 118, in _validate_token\n    token[\'console_type\'])\n', '  File "/usr/lib/python2.7/site-packages/nova/compute/rpcapi.py", line 497, in validate_console_port\n    console_type=console_type)\n', '  File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/client.py", line 152, in call\n    retry=self.retry)\n', '  File "/usr/lib/python2.7/site-packages/oslo/messaging/transport.py", line 90, in _send\n    timeout=timeout, retry=retry)\n', '  File "/usr/lib/python2.7/site-packages/oslo/messaging/_drivers/amqpdriver.py", line 408, in send\n    retry=retry)\n', '  File "/usr/lib/python2.7/site-packages/oslo/messaging/_drivers/amqpdriver.py", line 399, in _send\n    raise result\n', 'InstanceNotFound_Remote: Instance instance-00000007 could not be found.\nTraceback (most recent call last):\n\n  File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/server.py", line 139, in inner\n    return func(*args, **kwargs)\n\n  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 414, in decorated_function\n    return function(self, context, *args, **kwargs)\n\n  File "/usr/lib/python2.7/site-packages/nova/exception.py", line 88, in wrapped\n    payload)\n\n  File "/usr/lib/python2.7/site-packages/nova/openstack/common/excutils.py", line 82, in __exit__\n    six.reraise(self.type_, self.value, self.tb)\n\n  File "/usr/lib/python2.7/site-packages/nova/exception.py", line 71, in wrapped\n    return f(self, context, *args, **kw)\n\n  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 314, in decorated_function\n    return function(self, context, *args, **kwargs)\n\n  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 4489, in validate_console_port\n    console_info = self.driver.get_vnc_console(ctxt, instance)\n\n  File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 2733 ...
(more)
edit retag flag offensive close merge delete

Comments

check below link having some pointer for this to fix.

http://networkstatic.net/troubleshooting-common-openstack-errors/

Ranjit gravatar imageRanjit ( 2014-12-30 06:27:44 -0600 )edit