Ask Your Question
1

Networking single node install - public access for nodes

asked 2014-02-03 15:22:52 -0500

dro gravatar image

Greetings All , I setup the initial configuration at Quickstart for RDO. I was able from the primary server, to communicate with the nodes on their private network with the default public network floating ip. I then deleted all the configs using the following commands.

neutron net-delet neutron subnet-delet neutron floating-ip-delete neutron router-delete

I deleted all the tenants, and added a new project, added new public network with available floating public ips. I connected the network to my new test project network, added instances but I cannot from the primary server, or any other server on my local(which would be public to openstack), communicate with any of the new nodes.

on the dashboard, i see the public network router, and its marked as active but connections are down.

(45dbcedd) 192.168.1.1 DOWN External Gateway UP

Is this the issue? If so, how do I enable that connection, I tried looking at the neutron router commands

This is my config:

neutron net-list +--------------------------------------+----------+-----------------------------------------------------+ | id | name | subnets | +--------------------------------------+----------+-----------------------------------------------------+ | 4f495c0b-2d2d-46ba-972a-d7861ef9a4ed | public | cdb80c68-c92c-4b23-87d0-9ec571e327ed 192.168.1.0/24 | | c4dcd6ee-d750-477c-90e8-b0fb384e3de7 | test_net | ea1088c2-5953-4d27-9b73-d1f9c2d61397 10.10.10.0/24 | +--------------------------------------+----------+-----------------------------------------------------+

neutron subnet-list +--------------------------------------+----------+----------------+--------------------------------------------------+ | id | name | cidr | allocation_pools | +--------------------------------------+----------+----------------+--------------------------------------------------+ | cdb80c68-c92c-4b23-87d0-9ec571e327ed | vlan | 192.168.1.0/24 | {"start": "192.168.1.1", "end": "192.168.1.100"} | | ea1088c2-5953-4d27-9b73-d1f9c2d61397 | test_sub | 10.10.10.0/24 | {"start": "10.10.10.10", "end": "10.10.10.100"} | +--------------------------------------+----------+----------------+--------------------------------------------------+

neutron floatingip-list +--------------------------------------+------------------+---------------------+--------------------------------------+ | id | fixed_ip_address | floating_ip_address | port_id | +--------------------------------------+------------------+---------------------+--------------------------------------+ | 45b96eb0-1bb5-40c5-86c4-c7785873c027 | 10.10.10.12 | 192.168.1.4 | dccf5e7b-9aea-47c0-aad5-1af0fe287e53 | | ab982e81-6c80-460f-bf74-a44ff0f97527 | 10.10.10.10 | 192.168.1.3 | 3e4f2f39-3810-4b78-898f-b7129595cbac | +--------------------------------------+------------------+---------------------+--------------------------------------+

eutron router-list +--------------------------------------+----------------+-----------------------------------------------------------------------------+ | id | name | external_gateway_info | +--------------------------------------+----------------+-----------------------------------------------------------------------------+ | 8e4dd42b-b396-4e92-af4f-3b9f544c995a | test_co_router | {"network_id": "4f495c0b-2d2d-46ba-972a-d7861ef9a4ed", "enable_snat": true} | | f06c6210-8685-43b4-af3d-f3ea9a5a2126 | pub_router | {"network_id": "4f495c0b-2d2d-46ba-972a-d7861ef9a4ed", "enable_snat": true} | +--------------------------------------+----------------+-----------------------------------------------------------------------------+

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-02-04 09:31:51 -0500

luigi.romagnoli gravatar image

updated 2014-02-14 19:02:30 -0500

smaffulli gravatar image

U need

  • 1 external network with its subnet
  • 1 internal network with its subent
  • 1 router with one gateway (set to external network) and one port linked to internal network

can u give me the output of neutron port-list

[root@node1 ~(keystone_admin)]# neutron net-list
+--------------------------------------+--------------+-------------------------------------------------------+
| id                                   | name         | subnets                                               |
+--------------------------------------+--------------+-------------------------------------------------------+
| 3a587bcf-b6ef-4a6e-b33a-885499c2a1eb | public       | 8eb8a109-a52b-4d87-9358-eb53f298d504 192.168.133.0/24 |
| bb5a47ae-32fb-4083-a3cb-0285751e9b96 | private_net1 | bff99b8f-cd3e-440e-8b41-8feaed4b7925 10.0.0.0/24      |
+--------------------------------------+--------------+-------------------------------------------------------+
[root@node1 ~(keystone_admin)]# neutron subnet-list
+--------------------------------------+-----------+------------------+------------------------------------------------------+
| id                                   | name      | cidr             | allocation_pools                                     |
+--------------------------------------+-----------+------------------+------------------------------------------------------+
| 8eb8a109-a52b-4d87-9358-eb53f298d504 | public    | 192.168.133.0/24 | {"start": "192.168.133.57", "end": "192.168.133.70"} |
| bff99b8f-cd3e-440e-8b41-8feaed4b7925 | sub_priv1 | 10.0.0.0/24      | {"start": "10.0.0.2", "end": "10.0.0.254"}           |
+--------------------------------------+-----------+------------------+------------------------------------------------------+
[root@node1 ~(keystone_admin)]# neutron router-list
+--------------------------------------+-----------+-----------------------------------------------------------------------------+
| id                                   | name      | external_gateway_info                                                       |
+--------------------------------------+-----------+-----------------------------------------------------------------------------+
| c5874bfc-0f35-43ca-99e3-3a38bc9fea26 | routerExt | {"network_id": "3a587bcf-b6ef-4a6e-b33a-885499c2a1eb", "enable_snat": true} |
+--------------------------------------+-----------+-----------------------------------------------------------------------------+
[root@node1 ~(keystone_admin)]# neutron port-list
+--------------------------------------+------+-------------------+---------------------------------------------------------------------------------------+
| id                                   | name | mac_address       | fixed_ips                                                                             |
+--------------------------------------+------+-------------------+---------------------------------------------------------------------------------------+
| 719a674a-12ff-4940-836a-46b53a9564d3 |      | fa:16:3e:99:aa:15 | {"subnet_id": "bff99b8f-cd3e-440e-8b41-8feaed4b7925", "ip_address": "10.0.0.1"}       |
| b56eb122-048d-40cc-b7ce-a564496305e5 |      | fa:16:3e:d8:c8:19 | {"subnet_id": "8eb8a109-a52b-4d87-9358-eb53f298d504", "ip_address": "192.168.133.57"} |
+--------------------------------------+------+-------------------+---------------------------------------------------------------------------------------+
edit flag offensive delete link more
0

answered 2014-02-13 08:40:08 -0500

Le Wang gravatar image

Check this bug https://bugs.launchpad.net/neutron/+bug/1192883 (https://bugs.launchpad.net/neutron/+b...) You could probably try to ping from router's ns to the IP address of your public interface to see whether it is the similar situation reported in the bug.

If not, could you show the dump by issuing cmd "ovs-vsctl show" and "ovs-ofctl show br-ex"?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2014-02-03 15:22:52 -0500

Seen: 209 times

Last updated: Feb 14 '14