I can not access to the instance console

asked 2020-04-14 14:13:25 -0500

maryam gravatar image

updated 2020-04-18 02:46:18 -0500

I 've created an instance, but when i want to start console it show this error: Something went wrong, connection is closed

/var/log/nova/nova-novncproxy.log 2020-04-18 10:11:58.438 1949 INFO nova.console.websocketproxy [req-2c906838-6f36-41b8-9485-5185d40f7c06 - - - - -] 64: connecting to: a:5900 2020-04-18 10:11:58.682 1949 INFO nova.console.websocketproxy [req-2c906838-6f36-41b8-9485-5185d40f7c06 - - - - -] handler exception: [Errno -2] No address found 2020-04-18 10:11:59.971 1941 INFO nova.console.websocketproxy [-] 192.168.4.165: ignoring socket not ready 2020-04-18 10:11:59.978 1942 INFO nova.console.websocketproxy [-] 192.168.4.165: ignoring socket not ready 2020-04-18 10:12:16.197 1944 INFO nova.console.websocketproxy [-] 192.168.4.165: ignoring empty handshake 2020-04-18 10:12:16.197 1940 INFO nova.console.websocketproxy [-] 192.168.4.165: ignoring empty handshake 2020-04-18 10:12:16.197 1943 INFO nova.console.websocketproxy [-] 192.168.4.165: ignoring empty handshake 2020-04-18 10:25:47.520 4096 INFO nova.console.websocketproxy [-] 192.168.4.165 - - [18/Apr/2020 10:25:47] 192.168.4.165: Plain non-SSL (ws://) WebSocket connection 2020-04-18 10:25:47.523 4096 INFO nova.console.websocketproxy [-] 192.168.4.165 - - [18/Apr/2020 10:25:47] 192.168.4.165: Version hybi-13, base64: 'False' 2020-04-18 10:25:47.523 4096 INFO nova.console.websocketproxy [-] 192.168.4.165 - - [18/Apr/2020 10:25:47] 192.168.4.165: Path: '/?token=99d7b1a0-c31b-4216-a33c-87c2de2a4563' 2020-04-18 10:25:48.366 4096 INFO nova.console.websocketproxy [req-289d9aaa-1da8-4e4a-b5ee-4151dc1598fd - - - - -] 71: connect info: ConsoleAuthToken(access_url_base='http://192.168.4.95:6080/vnc_auto.html',console_type='novnc',created_at=2020-04-18T05:55:45Z,host='a',id=25,instance_uuid=bdf62b4f-fa6e-497d-ab8b-cd6af50f4bc0,internal_access_path=None,port=5902,token='',updated_at=None) 2020-04-18 10:25:48.369 4096 INFO nova.console.websocketproxy [req-289d9aaa-1da8-4e4a-b5ee-4151dc1598fd - - - - -] 71: connecting to: a:5902 2020-04-18 10:25:48.603 4096 INFO nova.console.websocketproxy [req-289d9aaa-1da8-4e4a-b5ee-4151dc1598fd - - - - -] handler exception: [Errno -2] No address found 2020-04-18 10:25:50.002 4092 INFO nova.console.websocketproxy [-] 192.168.4.165: ignoring socket not ready 2020-04-18 10:25:50.010 4093 INFO nova.console.websocketproxy [-] 192.168.4.165: ignoring socket not ready 2020-04-18 10:25:50.025 4095 INFO nova.console.websocketproxy [-] 192.168.4.165: ignoring socket not ready 2020-04-18 10:26:06.728 4094 INFO nova.console.websocketproxy [-] 192.168.4.165: ignoring empty handshake 2020-04-18 10:26:06.728 4091 INFO nova.console.websocketproxy [-] 192.168.4.165: ignoring empty handshake 2020-04-18 10:48:24.536 7634 INFO nova.console.websocketproxy [-] 192.168.4.165 - - [18/Apr/2020 10:48:24] 192.168.4.165: Plain non-SSL (ws://) WebSocket connection 2020-04-18 10:48:24.541 7634 INFO nova.console.websocketproxy [-] 192.168.4.165 - - [18/Apr/2020 10:48:24] 192.168.4.165: Version hybi-13, base64: 'False' 2020-04-18 10:48:24.543 7634 INFO nova.console.websocketproxy [-] 192.168.4.165 - - [18/Apr/2020 10:48:24] 192.168.4.165: Path: '/?token=0bfe933e-7e36-48a8-b01f-7c991785a6bc' 2020-04-18 10:48:25.488 7634 INFO nova.console.websocketproxy [req-98193a2e-dd25-4268-9970-a812d7fc4364 - - - - -] 78: connect info: ConsoleAuthToken(access_url_base='http://192.168 ... (more)

edit retag flag offensive close merge delete

Comments

Cinder has nothing to do with the console. Besides, the Cinder log message is 13 hours before the console proxy message.

Do the IP addresses 192.168.4.165 and ...95 make sense to you? Does a host named "a" make sense to you?

Bernd Bausch gravatar imageBernd Bausch ( 2020-04-14 17:39:48 -0500 )edit

@bernd-bausch what logs is usefull for my question ? I'm new in openstack

maryam gravatar imagemaryam ( 2020-04-15 02:49:55 -0500 )edit
1

The novncproxy log seems the logical choice.

Bernd Bausch gravatar imageBernd Bausch ( 2020-04-15 06:20:28 -0500 )edit

I see connecting to: a:5902 2020-04-18 10:25:48.603 4096 INFO nova.console.websocketproxy [req-289d9aaa-1da8-4e4a-b5ee-4151dc1598fd - - - - -] handler exception: [Errno -2] No address found. As Bernd said, you have a host named 'a'. Can the host resolve that to an IP address? Does ping a work?

qumulus gravatar imagequmulus ( 2020-04-21 15:10:16 -0500 )edit