Ask Your Question

Tiloo's profile - activity

2016-04-04 07:25:33 -0600 received badge  Famous Question (source)
2016-02-04 05:09:55 -0600 received badge  Notable Question (source)
2016-01-27 09:10:20 -0600 received badge  Popular Question (source)
2016-01-22 10:10:28 -0600 answered a question Neutron cannot ping router gateway external flat network

How did you fix it?

2016-01-22 10:10:28 -0600 answered a question neutron.agent.l3.router_info: Cannot create namespace file "...": File exists

It's similar as my question。 https://ask.openstack.org/en/question/87780/ip-netns-show-qrouter-f426d040-b7f8-4ad5-8a06-afce448e6e2e-id-2/ (https://ask.openstack.org/en/question...)

2016-01-22 10:10:27 -0600 commented question ip netns show "qrouter-f426d040-b7f8-4ad5-8a06-afce448e6e2e (id: 2)"

[root@network1 neutron]# ip netns add foo [root@network1 neutron]# ip netns list foo qrouter-f426d040-b7f8-4ad5-8a06-afce448e6e2e (id: 2) qdhcp-82b58b50-ed02-4642-a32e-8cf2b96c7487 (id: 0) qdhcp-912d8f74-c029-49f6-8e57-862dc8c245bf (id: 1)

2016-01-22 10:10:26 -0600 asked a question ip netns show "qrouter-f426d040-b7f8-4ad5-8a06-afce448e6e2e (id: 2)"

I got some error in l3-agent.log as below:

 2016-01-21 14:19:02.917 28366 ERROR neutron.agent.linux.utils [-] 
Command: ['ip', 'netns', 'exec', 'qrouter-f426d040-b7f8-4ad5-8a06-afce448e6e2e (id: 2)', 'find', '/sys/class/net', '-maxdepth', '1', '-type', 'l', '-printf', '%f ']
Exit code: 1
Stdin: 
Stdout: 
Stderr: Cannot open network namespace "qrouter-f426d040-b7f8-4ad5-8a06-afce448e6e2e (id: 2)": No such file or directory

It's weird that show the "(id:2)"----------------------------------------------------------------------?

The "ip netns" output is :

    [root@network1 neutron]# ip netns
qrouter-f426d040-b7f8-4ad5-8a06-afce448e6e2e (id: 2)
qdhcp-82b58b50-ed02-4642-a32e-8cf2b96c7487 (id: 0)
qdhcp-912d8f74-c029-49f6-8e57-862dc8c245bf (id: 1)

The "ip netns list-id" output is:

   [root@network1 neutron]# ip netns list-id
nsid 0 (iproute2 netns name: qdhcp-82b58b50-ed02-4642-a32e-8cf2b96c7487)
nsid 1 (iproute2 netns name: qdhcp-912d8f74-c029-49f6-8e57-862dc8c245bf)
nsid 2 (iproute2 netns name: qrouter-f426d040-b7f8-4ad5-8a06-afce448e6e2e)

As I remeber that should be only namespace's name but why include the (id:x) ?

2016-01-22 10:10:26 -0600 asked a question namespace format is wrong

I got some error in l3-agent.log as below:

2016-01-21 14:19:02.917 28366 ERROR neutron.agent.linux.utils [-] Command: ['ip', 'netns', 'exec', 'qrouter-f426d040-b7f8-4ad5-8a06-afce448e6e2e (id: 2)', 'find', '/sys/class/net', '-maxdepth', '1', '-type', 'l', '-printf', '%f '] Exit code: 1 Stdin: Stdout: Stderr: Cannot open network namespace "qrouter-f426d040-b7f8-4ad5-8a06-afce448e6e2e (id: 2)": No such file or directory

It's weird that show the "(id:2)"----------------------------------------------------------------------?

The "ip netns" output is : [root@network1 neutron]# ip netns qrouter-f426d040-b7f8-4ad5-8a06-afce448e6e2e (id: 2) qdhcp-82b58b50-ed02-4642-a32e-8cf2b96c7487 (id: 0) qdhcp-912d8f74-c029-49f6-8e57-862dc8c245bf (id: 1)

The "ip netns list-id" output is: [root@network1 neutron]# ip netns list-id nsid 0 (iproute2 netns name: qdhcp-82b58b50-ed02-4642-a32e-8cf2b96c7487) nsid 1 (iproute2 netns name: qdhcp-912d8f74-c029-49f6-8e57-862dc8c245bf) nsid 2 (iproute2 netns name: qrouter-f426d040-b7f8-4ad5-8a06-afce448e6e2e)

As I remeber that should be only namespace's name but why include the (id:x) ?