Instace console not working

asked 2014-12-11 03:40:40 -0600

Pablo Revuelta gravatar image

updated 2014-12-11 03:49:50 -0600

Hello everyone!!

I have just deployed my first CentOS 6.5 instance inside my openstack icehouse but I am not able to login thourgh console (I need to do it because it has got a graphical installation). I have being testing some points but I am not able to find the problem. Could u help me?

PD1: my openstack installation is "allinone"

*I am using a company proxy too to connect to internet if that matters.

[root@vmlbcatfl45 ~(keystone_admin)]# lsof -Pnl +M -i4 | grep 6080
nova-novn 24348      162    3u  IPv4  1184250      0t0  TCP *:6080 (LISTEN)

[root@vmlbcatfl45 ~(keystone_admin)]# ps -eaf | grep novnc
nova      8021 24348  0 10:07 ?        00:00:00 [nova-novncproxy] <defunct>
nova      8022 24348  0 10:07 ?        00:00:00 [nova-novncproxy] <defunct>
nova      8023 24348  0 10:07 ?        00:00:00 [nova-novncproxy] <defunct>
nova      8024 24348  0 10:07 ?        00:00:00 [nova-novncproxy] <defunct>
nova      8025 24348  0 10:07 ?        00:00:00 [nova-novncproxy] <defunct>
nova      8026 24348  0 10:07 ?        00:00:00 [nova-novncproxy] <defunct>
root     12164  1411  0 10:35 pts/0    00:00:00 grep novnc
nova     24348     1  0 Dec05 ?        00:03:40 /usr/bin/python /usr/bin/nova-novncproxy --web /usr/share/novnc/

[root@vmlbcatfl45 ~(keystone_admin)]# netstat -anp | grep 6080
tcp        0      0 0.0.0.0:6080                0.0.0.0:*                   LISTEN      24348/python
tcp        0      0 180.133.140.65:36080        180.133.140.65:35357        TIME_WAIT   -

[root@vmlbcatfl45 ~(keystone_admin)]# iptables -L | grep console
ACCEPT     tcp  --  anywhere             anywhere            multiport dports 6080 /* console incoming */

[root@vmlbcatfl45 ~(keystone_admin)]# keystone service-list
+----------------------------------+------------+--------------+--------------------------------+
|                id                |    name    |     type     |          description           |
+----------------------------------+------------+--------------+--------------------------------+
| d3fa32fe7b5f47d1a0fa0b4cb92f53c4 | ceilometer |   metering   |   Openstack Metering Service   |
| 98b4bf56749c416ab99040f0de1dcb83 |   cinder   |    volume    |         Cinder Service         |
| ed3ca82afe2249d88f68ceeed1002e45 | cinder_v2  |   volumev2   |       Cinder Service v2        |
| 524dcf346d6d439998f6df9558f4da75 |  cinderv2  |   volumev2   |       Cinder Service v2        |
| e9c8f393fede423383fb19176285a906 |   glance   |    image     |    Openstack Image Service     |
| 63d341927d3e4c04a02c4ac2cbdd3e88 |  keystone  |   identity   |   OpenStack Identity Service   |
| 5c896c07ea934d999b79b1d4672258a9 |  neutron   |   network    |   Neutron Networking Service   |
| 546e4172b76d48f38f2407e5864c5cc2 |    nova    |   compute    |   Openstack Compute Service    |
| 5ca0b760505f41a982473e715c605ebd |  nova_ec2  |     ec2      |          EC2 Service           |
| a1dffa03c1fb450bae743a70358c35cd |   novav3   |  computev3   |  Openstack Compute Service v3  |
| 6e1280c93dcc454f8edaee39aafe38ad |   swift    | object-store | Openstack Object-Store Service |
| 56a5972effcf406ea36c67504d7fbbc6 |  swift_s3  |      s3      |      Openstack S3 Service      |
+----------------------------------+------------+--------------+--------------------------------+

[root@vmlbcatfl45 ~(keystone_admin)]# keystone tenant-list
+----------------------------------+----------+---------+
|                id                |   name   | enabled |
+----------------------------------+----------+---------+
| 3e229c3f8f0c45619ea5ce0074442568 |  admin   |   True  |
| 3c8140b87d674ecdb9f7771e863861ec |   demo   |   True  |
| d31dbe6fcbcb4a65ab8e587776fdd200 | services |   True  |
+----------------------------------+----------+---------+

Updated /etc/nova/nova.conf:

vnc_enabled=True
novncproxy_base_url=http://180.133.140.67:6080/vnc_auto.html
vncserver_listen=0.0.0.0
vncserver_proxyclient_address=180.133.140.67:6080

UPDATE 1:

I am able to ping to the instacne from others machines in the same net where the allinone node is but from my windows desktop where I try to log to the console I got the error.

edit retag flag offensive close merge delete

Comments

Please paste logs

teju gravatar imageteju ( 2014-12-12 00:28:37 -0600 )edit

Thx for your answer teju. Which logs do you want me to paste here?

Pablo Revuelta gravatar imagePablo Revuelta ( 2014-12-12 01:43:01 -0600 )edit

Check the networking between your desktop and the remote host: my gut feeling is that the proxy is blocking some traffic, since you can't even ping. Patience and networking debugging is probably all you need. Good luck, and let us know how you solved it.

smaffulli gravatar imagesmaffulli ( 2014-12-12 18:02:42 -0600 )edit