External/Tenant Network setup [closed]

asked 2014-08-20 17:29:32 -0500

AmitA gravatar image

updated 2014-08-21 00:23:05 -0500

dbaxps gravatar image

Hi all -

Well this is prob stupidest question ever asked here but Im at wits end as I am new to Openstack. So I followed through the guide for setup for CentOS ( http://docs.openstack.org/icehouse/in... ) and did exactly what was shown for both external and tenant network setup on the COntroller node. All the previous steps in the guide were also followed and those seem to be working correctly. But when I try to see the network or ping the gw as asked in verify section I see absolutely none of the network that was supp to be configured on the controller node. I ran these commands and I can see its configured but I cant see the network (ie netstat, etc)? I think I missing something here and would really appreciate any help or even snide remarks to get me pointed in the right direction. Thanks all

PING 203.0.113.101 (203.0.113.101) 56(84) bytes of data.
--- 203.0.113.101 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 2999ms

controlnode log]# neutron net-list
+--------------------------------------+----------+-----------------------------------------------------+
| id                                   | name     | subnets                                             |
+--------------------------------------+----------+-----------------------------------------------------+
| 2f5adbf8-50f4-4a2d-9fb9-460a979e5552 | demo-net | b3d89b06-7115-4ca7-8165-53c35b858629 192.168.1.0/24 |

| cbbc4b48-ea88-409a-b6fb-cb8f4afae2da | ext-net  | 6067c9c6-b160-4c29-90b7-6fc21ec05404 203.0.113.0/24 |
+--------------------------------------+----------+-----------------------------------------------------+

[root@controlnode log]# neutron subnet-list
+--------------------------------------+-------------+----------------+----------------------------------------------------+
| id                                   | name        | cidr           | allocation_pools                                   |
+--------------------------------------+-------------+----------------+----------------------------------------------------+
| b3d89b06-7115-4ca7-8165-53c35b858629 | demo-subnet | 192.168.1.0/24 | {"start": "192.168.1.2", "end": "192.168.1.254"}   |

| 6067c9c6-b160-4c29-90b7-6fc21ec05404 | ext-subnet  | 203.0.113.0/24 | {"start": "203.0.113.101", "end": "203.0.113.200"} |
+--------------------------------------+-------------+----------------+----------------------------------------------------+
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by rbowen
close date 2015-11-16 15:43:55.423716

Comments

Could you run: -
1. neutron router-list
2. ip netns list

dbaxps gravatar imagedbaxps ( 2014-08-21 00:26:29 -0500 )edit

Thanks dbaxps -

# neutron router-list
+--------------------------------------+-------------+-----------------------------------------------------------------------------+
| id                                   | name        | external_gateway_info                                                       |
+--------------------------------------+-------------+-----------------------------------------------------------------------------+
| afa29c75-632e-4539-b8bd-a6015e02feb2 | demo-router | {"network_id": "cbbc4b48-ea88-409a-b6fb-cb8f4afae2da", "enable_snat": true} |
+--------------------------------------+-------------+-----------------------------------------------------------------------------+

[root@controlnode ~]# ip netns list

AmitA gravatar imageAmitA ( 2014-08-21 10:18:30 -0500 )edit

ip netns list returns nothing?

AmitA gravatar imageAmitA ( 2014-08-21 10:19:19 -0500 )edit

Try to launch CirrOS VM && provide ovs-vsctl show and ip netns list again.

dbaxps gravatar imagedbaxps ( 2014-08-21 10:31:30 -0500 )edit

Do you want me to skip all the way to section 14 (Launch an instance)? I am at section 7 Add networking service - Verify connectivity. Also I ran the ovs-vsctl command on the control node this is what I get:

]# ovs-vsctl show bash: ovs-vsctl: command not found...

AmitA gravatar imageAmitA ( 2014-08-21 10:57:56 -0500 )edit