instance console failed to connect error (code:1006)

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

fresher gravatar image

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

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
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/", line 134, in _dispatch_and_reply\n    incoming.message))\n', '  File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/", line 177, in _dispatch\n    return self._do_dispatch(endpoint, method, ctxt, args)\n', '  File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/", line 123, in _do_dispatch\n    result = getattr(endpoint, method)(ctxt, **new_args)\n', '  File "/usr/lib/python2.7/site-packages/nova/consoleauth/", line 127, in check_token\n    if self._validate_token(context, token):\n', '  File "/usr/lib/python2.7/site-packages/nova/consoleauth/", line 118, in _validate_token\n    token[\'console_type\'])\n', '  File "/usr/lib/python2.7/site-packages/nova/compute/", line 497, in validate_console_port\n    console_type=console_type)\n', '  File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/", line 152, in call\n    retry=self.retry)\n', '  File "/usr/lib/python2.7/site-packages/oslo/messaging/", line 90, in _send\n    timeout=timeout, retry=retry)\n', '  File "/usr/lib/python2.7/site-packages/oslo/messaging/_drivers/", line 408, in send\n    retry=retry)\n', '  File "/usr/lib/python2.7/site-packages/oslo/messaging/_drivers/", 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/", line 139, in inner\n    return func(*args, **kwargs)\n\n  File "/usr/lib/python2.7/site-packages/nova/compute/", line 414, in decorated_function\n    return function(self, context, *args, **kwargs)\n\n  File "/usr/lib/python2.7/site-packages/nova/", line 88, in wrapped\n    payload)\n\n  File "/usr/lib/python2.7/site-packages/nova/openstack/common/", line 82, in __exit__\n    six.reraise(self.type_, self.value, self.tb)\n\n  File "/usr/lib/python2.7/site-packages/nova/", line 71, in wrapped\n    return f(self, context, *args, **kw)\n\n  File "/usr/lib/python2.7/site-packages/nova/compute/", line 314, in decorated_function\n    return function(self, context, *args, **kwargs)\n\n  File "/usr/lib/python2.7/site-packages/nova/compute/", 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/", line 2733 ...
edit retag flag offensive close merge delete


check below link having some pointer for this to fix.

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