Ask Your Question
1

Neutron namespace missing?

asked 2015-06-26 05:16:16 -0500

l6unchpad gravatar image

updated 2015-06-26 07:41:07 -0500

Troubleshooting connectivity to my instance I found that the namespace for the router which should be handling the traffic for that instance, was missing.

So:

ip netns list | grep qrouter-<router-uuid>

comes back empty.

How did this happen and what's the best way to fix this without deleting and recreating the router.

edit retag flag offensive close merge delete

Comments

Please, run
$ neutron router-port-list your-router-name

dbaxps gravatar imagedbaxps ( 2015-06-26 06:39:34 -0500 )edit

neutron router-port-list myproject-rtr-3320 | e659b091-3ae3-4c64-b34f-1b621d193608 | aa:16:3a:a4:a3:a2 | {"subnet_id": "d9a5b8ea-0b5d-47c5-a556-24b2ce343dbc", "ip_address": "192.168.102.5"} |

l6unchpad gravatar imagel6unchpad ( 2015-06-26 07:41:15 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-06-26 08:20:09 -0500

l6unchpad gravatar image

Taking a look in the vpn_agent.log, I noticed:

TRACE neutron.agent.linux.interface Stderr: '/usr/bin/neutron-rootwrap: Executable not found: conntrack (filter match = conntrack)\n'

Installed conntrack, added the namespace (with only a down loopback interface at the time of creation) and restarted neutron-vpn-agent.

Looks like my namespace is back and connectivity has been resolved.

edit flag offensive delete link more
0

answered 2015-06-26 07:09:06 -0500

dbaxps gravatar image

For now using answer field to comment
Usually

[root@fedora22wks07 ~(keystone_admin)]# neutron router-port-list RouterDemo
+--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+
| id                                   | name | mac_address       | fixed_ips                                                                            |
+--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+
| 63198d5a-8532-4acd-ad3a-1813fda6ef58 |      | fa:16:3e:79:3e:50 | {"subnet_id": "9e9ca6b6-1ed6-4d25-b737-864a00742516", "ip_address": "192.168.1.150"} |
| 696d7746-17ed-4b0e-9f90-b96f099a64bc |      | fa:16:3e:dc:93:e8 | {"subnet_id": "c6d0f404-6dd6-4652-9783-84ae2fceeb5b", "ip_address": "40.0.0.1"}      |
+--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+

In my case 192.168.1.0/24 is external network
40.0.0.0/24 is tenant's network
Which one are you missing ?

edit flag offensive delete link more

Comments

If I use an admin account I get both ports: internal and external. Where are we going with this?

l6unchpad gravatar imagel6unchpad ( 2015-06-26 07:40:05 -0500 )edit

Please, launch CirrOS VM , try to assign floating IP and ping this IP
If all goes well run ip netns as admin.

dbaxps gravatar imagedbaxps ( 2015-06-26 07:44:51 -0500 )edit

Launched. Floating i assigned, interfaces on the routers up. Ping failed. ip netns comes back the same: the namespace is missing on the neutron host.

l6unchpad gravatar imagel6unchpad ( 2015-06-26 07:51:18 -0500 )edit

Terminal on the machine can't ping the interface of the router on the network: 192.168.102.5.

l6unchpad gravatar imagel6unchpad ( 2015-06-26 08:00:55 -0500 )edit

I would try neutron router-gateway-clear router-id and recreate external network, re set up gateway.
Just in case update question with ovs-vsctl show on network node.

dbaxps gravatar imagedbaxps ( 2015-06-26 08:09:02 -0500 )edit

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

1 follower

Stats

Asked: 2015-06-26 05:16:16 -0500

Seen: 1,247 times

Last updated: Jun 26 '15