Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Can't ping or ssh vms from anywhere

I'm new here and trying to install openstack without any installer like packstack/devstack. Right now i'm not able to ping any of my instance by floating or private ip. Here is the some detail about my setup.

Network

1) MGMT Network :- 10 .10.1.0/24 2) VM Network :- 10.10.2.0/24 3) External Network :- 10.10.2.0/24 4) Access network :- 192.168.1.0/24

**Node Information :-** 
1. controller node:-
    ens32:- 192.168.1.55
    ens33:- 10.10.1.2
    ens34:- 10.10.2.2
    ens35:- 10.10.3.2
2. compute node :- 
    ens32:- 192.168.1.56
    ens33:- 10.10.1.3
    ens34:- 10.10.2.3
    ens35:- 10.10.3.3

[root@compute ~]# openstack service list
+----------------------------------+----------+----------+
| ID                               | Name     | Type     |
+----------------------------------+----------+----------+
| 3de4658fbc0b457a95168c6d3b4e0d0e | glance   | image    |
| 5b2405cba41846afbdf4675f0e53a5e5 | nova     | compute  |
| bbcf8af78cef46558262b6772972d335 | keystone | identity |
| fc6551c634f94c1a8b193ead7c2bb78b | neutron  | network  |
+----------------------------------+----------+----------+
[root@compute ~]#

[root@controller ~]# nova service-list
+----+------------------+------------+----------+---------+-------+----------------------------+-----------------+
| Id | Binary           | Host       | Zone     | Status  | State | Updated_at                 | Disabled Reason |
+----+------------------+------------+----------+---------+-------+----------------------------+-----------------+
| 1  | nova-consoleauth | controller | internal | enabled | up    | 2016-10-20T15:52:52.000000 | -               |
| 2  | nova-scheduler   | controller | internal | enabled | up    | 2016-10-20T15:52:52.000000 | -               |
| 3  | nova-conductor   | controller | internal | enabled | up    | 2016-10-20T15:52:47.000000 | -               |
| 4  | nova-cert        | controller | internal | enabled | up    | 2016-10-20T15:52:49.000000 | -               |
| 5  | nova-compute     | compute    | nova     | enabled | up    | 2016-10-20T15:52:46.000000 | -               |
| 6  | nova-console     | controller | internal | enabled | down  | 2016-10-20T15:11:47.000000 | -               |
+----+------------------+------------+----------+---------+-------+----------------------------+-----------------+
[root@controller ~]#

[root@controller ~]# neutron agent-list
+--------------------------------------+--------------------+------------+-------+----------------+---------------------------+
| id                                   | agent_type         | host       | alive | admin_state_up | binary                    |
+--------------------------------------+--------------------+------------+-------+----------------+---------------------------+
| 13794dbb-6612-478c-8fd5-a18ba3fc7753 | Metadata agent     | controller | :-)   | True           | neutron-metadata-agent    |
| 1a88eb17-1ee1-46d9-8963-23563a492294 | L3 agent           | controller | :-)   | True           | neutron-l3-agent          |
| 320b7e12-a4d3-40b4-89ec-080dd0502d02 | DHCP agent         | controller | :-)   | True           | neutron-dhcp-agent        |
| 9c678dae-4c27-4757-8949-198d6ec28665 | Linux bridge agent | controller | :-)   | True           | neutron-linuxbridge-agent |
| d3030823-87a5-405b-b9e3-35cc8ab19f84 | Linux bridge agent | compute    | :-)   | True           | neutron-linuxbridge-agent |
+--------------------------------------+--------------------+------------+-------+----------------+---------------------------+
[root@controller ~]# 


[root@controller ~]# nova list
+--------------------------------------+-------------+--------+------------+-------------+--------------------------------+
| ID                                   | Name        | Status | Task State | Power State | Networks                       |
+--------------------------------------+-------------+--------+------------+-------------+--------------------------------+
| 8dae8ab1-4979-4737-9b21-4ecfd8e5734d | centos-test | ACTIVE | -          | Running     | private=172.16.1.4, 10.10.3.53 |
+--------------------------------------+-------------+--------+------------+-------------+--------------------------------+
[root@controller ~]# 




[root@controller ~]# neutron router-list
+--------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+-------+
| id                                   | name   | external_gateway_info                                                                                                                                                                  | distributed | ha    |
+--------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+-------+
| a59cf399-cb64-45c6-b106-2e2c2aa50ce5 | router | {"network_id": "e7c77bcf-b8f5-4c52-88c0-02ac94d45966", "enable_snat": true, "external_fixed_ips": [{"subnet_id": "ea475e80-6d7d-4941-ae10-bb3456e58347", "ip_address": "10.10.3.52"}]} | False       | False |
+--------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+-------+
[root@controller ~]#


[root@controller ~]# neutron net-list
+--------------------------------------+---------+----------------------------------------------------+
| id                                   | name    | subnets                                            |
+--------------------------------------+---------+----------------------------------------------------+
| c09c0557-335a-4a6c-ba98-c225f8bff8e3 | private | 0fa9a1d5-08dc-4678-aa75-678d96b57c69 172.16.1.0/24 |
| e7c77bcf-b8f5-4c52-88c0-02ac94d45966 | public  | ea475e80-6d7d-4941-ae10-bb3456e58347 10.10.3.0/24  |
+--------------------------------------+---------+----------------------------------------------------+
[root@controller ~]#


[root@controller ~]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: ens32: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 00:50:56:be:5f:84 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.55/24 brd 10.220.9.255 scope global ens32
       valid_lft forever preferred_lft forever
    inet6 fe80::250:56ff:febe:5f84/64 scope link
       valid_lft forever preferred_lft forever
3: ens33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 00:50:56:be:5f:85 brd ff:ff:ff:ff:ff:ff
    inet 10.10.1.2/24 brd 10.10.1.255 scope global ens33
       valid_lft forever preferred_lft forever
    inet6 fe80::250:56ff:febe:5f85/64 scope link
       valid_lft forever preferred_lft forever
4: ens34: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master brqe7c77bcf-b8 state UP qlen 1000
    link/ether 00:50:56:be:5f:86 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::250:56ff:febe:5f86/64 scope link
       valid_lft forever preferred_lft forever
5: ens35: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 00:50:56:be:5f:87 brd ff:ff:ff:ff:ff:ff
    inet 10.10.3.2/24 brd 10.10.3.255 scope global ens35
       valid_lft forever preferred_lft forever
    inet6 fe80::250:56ff:febe:5f87/64 scope link
       valid_lft forever preferred_lft forever
10: tapf5ae4f32-8c: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master brqe7c77bcf-b8 state UP qlen 1000
    link/ether 5e:f7:fb:19:73:db brd ff:ff:ff:ff:ff:ff
11: brqe7c77bcf-b8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
    link/ether 00:50:56:be:5f:86 brd ff:ff:ff:ff:ff:ff
    inet 10.10.2.2/24 brd 10.10.2.255 scope global brqe7c77bcf-b8
       valid_lft forever preferred_lft forever
12: tap05f96637-2d: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc pfifo_fast master brqc09c0557-33 state UP qlen 1000
    link/ether c2:c4:1b:f4:1b:f4 brd ff:ff:ff:ff:ff:ff
13: vxlan-61: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue master brqc09c0557-33 state UNKNOWN
    link/ether 4e:0d:93:1e:f5:47 brd ff:ff:ff:ff:ff:ff
14: brqc09c0557-33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue state UP
    link/ether 4e:0d:93:1e:f5:47 brd ff:ff:ff:ff:ff:ff
15: tape5c5a6cd-b1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc pfifo_fast master brqc09c0557-33 state UP qlen 1000
    link/ether f6:3a:25:5e:a1:37 brd ff:ff:ff:ff:ff:ff
16: tap265ee1d8-bf: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master brqe7c77bcf-b8 state UP qlen 1000
    link/ether 76:4f:9e:62:47:54 brd ff:ff:ff:ff:ff:ff
[root@controller ~]#


 [root@controller ~]# nova list
+--------------------------------------+-------------+--------+------------+-------------+--------------------------------+
| ID                                   | Name        | Status | Task State | Power State | Networks                       |
+--------------------------------------+-------------+--------+------------+-------------+--------------------------------+
| 8dae8ab1-4979-4737-9b21-4ecfd8e5734d | centos-test | ACTIVE | -          | Running     | private=172.16.1.4, 10.10.3.53 |
+--------------------------------------+-------------+--------+------------+-------------+--------------------------------+
[root@controller ~]# ping 172.16.1.4
PING 172.16.1.4 (172.16.1.4) 56(84) bytes of data.



^C
--- 172.16.1.4 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 1999ms

[root@controller ~]# ping 10.10.3.53
PING 10.10.3.53 (10.10.3.53) 56(84) bytes of data.


^C
--- 10.10.3.53 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 1999ms

[root@controller ~]#