Ask Your Question

Neutron namespace missing?

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

l6unchpad gravatar image

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

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


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


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

dbaxps gravatar imagedbaxps ( 2015-06-26 06:39:34 -0600 )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": ""} |

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

2 answers

Sort by ยป oldest newest most voted

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

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

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

dbaxps gravatar image

For now using answer field to comment

[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": ""} |
| 696d7746-17ed-4b0e-9f90-b96f099a64bc |      | fa:16:3e:dc:93:e8 | {"subnet_id": "c6d0f404-6dd6-4652-9783-84ae2fceeb5b", "ip_address": ""}      |

In my case is external network is tenant's network
Which one are you missing ?

edit flag offensive delete link more


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 -0600 )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 -0600 )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 -0600 )edit

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

l6unchpad gravatar imagel6unchpad ( 2015-06-26 08:00:55 -0600 )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 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


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

Seen: 1,589 times

Last updated: Jun 26 '15