Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

update: using the following commands I can ping the virtual interface on router u1804Ro from neutron-gateway

$: juju ssh neutron-gateway/0

then

ubuntu@os-compute01:~$ ip netns list
qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 (id: 4)
qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f (id: 3)

then

ubuntu@os-compute01:~$ ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.212
PING 10.20.81.212 (10.20.81.212) 56(84) bytes of data.
64 bytes from 10.20.81.212: icmp_seq=1 ttl=64 time=0.085 ms
64 bytes from 10.20.81.212: icmp_seq=2 ttl=64 time=0.054 ms

while the floating IP assigned to instance no way

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.215
PING 10.20.81.215 (10.20.81.215) 56(84) bytes of data.
From 10.20.81.215 icmp_seq=1 Destination Host Unreachable
From 10.20.81.215 icmp_seq=2 Destination Host Unreachable
From 10.20.81.215 icmp_seq=3 Destination Host Unreachable

update: update:

using the following commands I can ping the virtual interface on router u1804Ro from neutron-gateway

$: juju ssh neutron-gateway/0

then

ubuntu@os-compute01:~$ ip netns list
qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 (id: 4)
qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f (id: 3)

then

ubuntu@os-compute01:~$ ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.212
PING 10.20.81.212 (10.20.81.212) 56(84) bytes of data.
64 bytes from 10.20.81.212: icmp_seq=1 ttl=64 time=0.085 ms
64 bytes from 10.20.81.212: icmp_seq=2 ttl=64 time=0.054 ms

while the floating IP assigned to instance no way

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.215
PING 10.20.81.215 (10.20.81.215) 56(84) bytes of data.
From 10.20.81.215 icmp_seq=1 Destination Host Unreachable
From 10.20.81.215 icmp_seq=2 Destination Host Unreachable
From 10.20.81.215 icmp_seq=3 Destination Host Unreachable

update:

using the following commands I can ping the virtual interface on router u1804Ro from neutron-gateway

$: juju ssh neutron-gateway/0

then

ubuntu@os-compute01:~$ ip netns list
qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 (id: 4)
qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f (id: 3)

thenand

ubuntu@os-compute01:~$ ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.212
PING 10.20.81.212 (10.20.81.212) 56(84) bytes of data.
64 bytes from 10.20.81.212: icmp_seq=1 ttl=64 time=0.085 ms
64 bytes from 10.20.81.212: icmp_seq=2 ttl=64 time=0.054 ms

while the floating IP assigned to instance no way

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.215
PING 10.20.81.215 (10.20.81.215) 56(84) bytes of data.
From 10.20.81.215 icmp_seq=1 Destination Host Unreachable
From 10.20.81.215 icmp_seq=2 Destination Host Unreachable
From 10.20.81.215 icmp_seq=3 Destination Host Unreachable

update:

using the following commands I can ping the virtual interface on router u1804Ro from neutron-gateway

$: juju ssh neutron-gateway/0

then

ubuntu@os-compute01:~$ ip netns list
qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 (id: 4)
qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f (id: 3)

and

ubuntu@os-compute01:~$ ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.212
PING 10.20.81.212 (10.20.81.212) 56(84) bytes of data.
64 bytes from 10.20.81.212: icmp_seq=1 ttl=64 time=0.085 ms
64 bytes from 10.20.81.212: icmp_seq=2 ttl=64 time=0.054 ms

while the floating IP assigned to instance no way

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.215
PING 10.20.81.215 (10.20.81.215) 56(84) bytes of data.
From 10.20.81.215 icmp_seq=1 Destination Host Unreachable
From 10.20.81.215 icmp_seq=2 Destination Host Unreachable
From 10.20.81.215 icmp_seq=3 Destination Host Unreachable

The strange think is that:

sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ns-cefc1973-b1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
        inet 10.0.0.2  netmask 255.255.255.0  broadcast 10.0.0.255
        inet6 fe80::f816:3eff:fedc:af67  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:dc:af:67  txqueuelen 1000  (Ethernet)
        RX packets 2297  bytes 96522 (96.5 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 5  bytes 446 (446.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

if I try the ping

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ping 10.0.0.2
PING 10.0.0.1 (10.0.0.2) 56(84) bytes of data.
64 bytes from 10.0.0.2: icmp_seq=1 ttl=64 time=1.32 ms
64 bytes from 10.0.0.2: icmp_seq=2 ttl=64 time=0.096 ms

why if the instance on Openstack has as IP address 10.0.0.9?

update:

using the following commands I can ping the virtual interface on router u1804Ro from neutron-gateway

$: juju ssh neutron-gateway/0

then

ubuntu@os-compute01:~$ ip netns list
qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 (id: 4)
qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f (id: 3)

and

ubuntu@os-compute01:~$ ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.212
PING 10.20.81.212 (10.20.81.212) 56(84) bytes of data.
64 bytes from 10.20.81.212: icmp_seq=1 ttl=64 time=0.085 ms
64 bytes from 10.20.81.212: icmp_seq=2 ttl=64 time=0.054 ms

while the floating IP assigned to instance no way

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.215
PING 10.20.81.215 (10.20.81.215) 56(84) bytes of data.
From 10.20.81.215 icmp_seq=1 Destination Host Unreachable
From 10.20.81.215 icmp_seq=2 Destination Host Unreachable
From 10.20.81.215 icmp_seq=3 Destination Host Unreachable

The strange think is that:

sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ns-cefc1973-b1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
        inet 10.0.0.2  netmask 255.255.255.0  broadcast 10.0.0.255
        inet6 fe80::f816:3eff:fedc:af67  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:dc:af:67  txqueuelen 1000  (Ethernet)
        RX packets 2297  bytes 96522 (96.5 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 5  bytes 446 (446.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

if I try the ping

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ping 10.0.0.2
PING 10.0.0.1 (10.0.0.2) 56(84) bytes of data.
64 bytes from 10.0.0.2: icmp_seq=1 ttl=64 time=1.32 ms
64 bytes from 10.0.0.2: icmp_seq=2 ttl=64 time=0.096 ms

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ping 10.0.0.9
PING 10.0.0.9 (10.0.0.9) 56(84) bytes of data.
From 10.0.0.2 icmp_seq=1 Destination Host Unreachable
From 10.0.0.2 icmp_seq=2 Destination Host Unreachable

why if the instance on Openstack has as IP address 10.0.0.9?

update:

using the following commands I can ping the virtual interface on router u1804Ro from neutron-gateway

$: juju ssh neutron-gateway/0

then

ubuntu@os-compute01:~$ ip netns list
qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 (id: 4)
qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f (id: 3)

and

ubuntu@os-compute01:~$ ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.212
PING 10.20.81.212 (10.20.81.212) 56(84) bytes of data.
64 bytes from 10.20.81.212: icmp_seq=1 ttl=64 time=0.085 ms
64 bytes from 10.20.81.212: icmp_seq=2 ttl=64 time=0.054 ms

while the floating IP assigned to instance no way

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.215
PING 10.20.81.215 (10.20.81.215) 56(84) bytes of data.
From 10.20.81.215 icmp_seq=1 Destination Host Unreachable
From 10.20.81.215 icmp_seq=2 Destination Host Unreachable
From 10.20.81.215 icmp_seq=3 Destination Host Unreachable

The strange think is that:

sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ns-cefc1973-b1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
        inet 10.0.0.2  netmask 255.255.255.0  broadcast 10.0.0.255
        inet6 fe80::f816:3eff:fedc:af67  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:dc:af:67  txqueuelen 1000  (Ethernet)
        RX packets 2297  bytes 96522 (96.5 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 5  bytes 446 (446.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

if I try the ping

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ping 10.0.0.2
PING 10.0.0.1 (10.0.0.2) 56(84) bytes of data.
64 bytes from 10.0.0.2: icmp_seq=1 ttl=64 time=1.32 ms
64 bytes from 10.0.0.2: icmp_seq=2 ttl=64 time=0.096 ms

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ping 10.0.0.9
PING 10.0.0.9 (10.0.0.9) 56(84) bytes of data.
From 10.0.0.2 icmp_seq=1 Destination Host Unreachable
From 10.0.0.2 icmp_seq=2 Destination Host Unreachable

why if the instance on Openstack has as IP address 10.0.0.9?

update:

using the following commands I can ping the virtual interface on router u1804Ro from neutron-gateway

$: juju ssh neutron-gateway/0

then

ubuntu@os-compute01:~$ ip netns list
qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 (id: 4)
qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f (id: 3)

and

ubuntu@os-compute01:~$ ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.212
PING 10.20.81.212 (10.20.81.212) 56(84) bytes of data.
64 bytes from 10.20.81.212: icmp_seq=1 ttl=64 time=0.085 ms
64 bytes from 10.20.81.212: icmp_seq=2 ttl=64 time=0.054 ms

while the floating IP assigned to instance no way

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.215
PING 10.20.81.215 (10.20.81.215) 56(84) bytes of data.
From 10.20.81.215 icmp_seq=1 Destination Host Unreachable
From 10.20.81.215 icmp_seq=2 Destination Host Unreachable
From 10.20.81.215 icmp_seq=3 Destination Host Unreachable

The strange think is that:

sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ns-cefc1973-b1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
        inet 10.0.0.2  netmask 255.255.255.0  broadcast 10.0.0.255
        inet6 fe80::f816:3eff:fedc:af67  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:dc:af:67  txqueuelen 1000  (Ethernet)
        RX packets 2297  bytes 96522 (96.5 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 5  bytes 446 (446.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

if I try the ping

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ping 10.0.0.2
PING 10.0.0.1 (10.0.0.2) 56(84) bytes of data.
64 bytes from 10.0.0.2: icmp_seq=1 ttl=64 time=1.32 ms
64 bytes from 10.0.0.2: icmp_seq=2 ttl=64 time=0.096 ms

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ping 10.0.0.9
PING 10.0.0.9 (10.0.0.9) 56(84) bytes of data.
From 10.0.0.2 icmp_seq=1 Destination Host Unreachable
From 10.0.0.2 icmp_seq=2 Destination Host Unreachable

running an Arp command obtain that:

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f arp -a
? (10.0.0.1) at fa:16:3e:63:4b:f7 [ether] on ns-cefc1973-b1
? (10.0.0.254) at <incomplete> on ns-cefc1973-b1
? (10.0.0.9) at <incomplete> on ns-cefc1973-b1

update:

using the following commands I can ping the virtual interface on router u1804Ro from neutron-gateway

$: juju ssh neutron-gateway/0

then

ubuntu@os-compute01:~$ ip netns list
qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 (id: 4)
qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f (id: 3)

and

ubuntu@os-compute01:~$ ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.212
PING 10.20.81.212 (10.20.81.212) 56(84) bytes of data.
64 bytes from 10.20.81.212: icmp_seq=1 ttl=64 time=0.085 ms
64 bytes from 10.20.81.212: icmp_seq=2 ttl=64 time=0.054 ms

while the floating IP assigned to instance no way

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.215
PING 10.20.81.215 (10.20.81.215) 56(84) bytes of data.
From 10.20.81.215 icmp_seq=1 Destination Host Unreachable
From 10.20.81.215 icmp_seq=2 Destination Host Unreachable
From 10.20.81.215 icmp_seq=3 Destination Host Unreachable

The strange think is that:

sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ns-cefc1973-b1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
        inet 10.0.0.2  netmask 255.255.255.0  broadcast 10.0.0.255
        inet6 fe80::f816:3eff:fedc:af67  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:dc:af:67  txqueuelen 1000  (Ethernet)
        RX packets 2297  bytes 96522 (96.5 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 5  bytes 446 (446.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

if I try the ping

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ping 10.0.0.2
PING 10.0.0.1 (10.0.0.2) 56(84) bytes of data.
64 bytes from 10.0.0.2: icmp_seq=1 ttl=64 time=1.32 ms
64 bytes from 10.0.0.2: icmp_seq=2 ttl=64 time=0.096 ms

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ping 10.0.0.9
PING 10.0.0.9 (10.0.0.9) 56(84) bytes of data.
From 10.0.0.2 icmp_seq=1 Destination Host Unreachable
From 10.0.0.2 icmp_seq=2 Destination Host Unreachable

running an Arp command obtain that:

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f arp -a
? (10.0.0.1) at fa:16:3e:63:4b:f7 [ether] on ns-cefc1973-b1
? (10.0.0.254) at <incomplete> on ns-cefc1973-b1
? (10.0.0.9) at <incomplete> on ns-cefc1973-b1

catalog list

$:openstack catalog list
Password: 
+-----------+--------------+-------------------------------------------------------------------------+
| Name      | Type         | Endpoints                                                               |
+-----------+--------------+-------------------------------------------------------------------------+
| neutron   | network      | RegionOne                                                               |
|           |              |   admin: http://10.20.81.17:9696                                        |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.17:9696                                       |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.17:9696                                     |
|           |              |                                                                         |
| placement | placement    | RegionOne                                                               |
|           |              |   public: http://10.20.81.6:8778                                        |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.6:8778                                      |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.6:8778                                         |
|           |              |                                                                         |
| cinderv3  | volumev3     | RegionOne                                                               |
|           |              |   admin: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c   |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c |
|           |              |                                                                         |
| swift     | object-store | RegionOne                                                               |
|           |              |   admin: http://10.20.81.19:80/swift                                    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.19:80/swift/v1                                |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.19:80/swift/v1                              |
|           |              |                                                                         |
| nova      | compute      | RegionOne                                                               |
|           |              |   internal: http://10.20.81.6:8774/v2.1                                 |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.6:8774/v2.1                                   |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.6:8774/v2.1                                    |
|           |              |                                                                         |
| keystone  | identity     | RegionOne                                                               |
|           |              |   public: http://10.20.81.5:5000/v3                                     |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.5:35357/v3                                     |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.5:5000/v3                                   |
|           |              |                                                                         |
| cinderv2  | volumev2     | RegionOne                                                               |
|           |              |   admin: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c   |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c |
|           |              |                                                                         |
| glance    | image        | RegionOne                                                               |
|           |              |   internal: http://10.20.81.8:9292                                      |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.8:9292                                         |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.8:9292                                        |
|           |              |                                                                         |
+-----------+--------------+-------------------------------------------------------------------------+

keypair

$:openstack keypair list
Password: 
+----------+-------------------------------------------------+
| Name     | Fingerprint                                     |
+----------+-------------------------------------------------+
| u1804Key | 29:6f:87:cf:b1:5e:de:45:2f:c1:e2:85:88:80:60:8b |
+----------+-------------------------------------------------+

update:

using the following commands I can ping the virtual interface on router u1804Ro from neutron-gateway

$: juju ssh neutron-gateway/0

then

ubuntu@os-compute01:~$ ip netns list
qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 (id: 4)
qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f (id: 3)

andif I try to ping the public interface and the internat interface set on the router of Openstack, that ones work

ubuntu@os-compute01:~$ ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.212
PING 10.20.81.212 (10.20.81.212) 56(84) bytes of data.
64 bytes from 10.20.81.212: icmp_seq=1 ttl=64 time=0.085 ms
64 bytes from 10.20.81.212: icmp_seq=2 ttl=64 time=0.054 ms

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-919fcbc7-566b-4b9b-bdc2-27fa959330dd ping 10.0.0.1
PING 10.0.0.1 (10.0.0.1) 56(84) bytes of data.
64 bytes from 10.0.0.1: icmp_seq=1 ttl=64 time=0.075 ms
64 bytes from 10.0.0.1: icmp_seq=2 ttl=64 time=0.070 ms

while the ping to the floating IP assigned to instance and its own internal IP no waywork

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.215
PING 10.20.81.215 (10.20.81.215) 56(84) bytes of data.
From 10.20.81.215 icmp_seq=1 Destination Host Unreachable
From 10.20.81.215 icmp_seq=2 Destination Host Unreachable

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.0.0.9
PING 10.0.0.9 (110.0.0.9) 56(84) bytes of data.
From 10.20.81.215 icmp_seq=3 10.0.0.9 icmp_seq=1 Destination Host Unreachable
From 10.0.0.9 icmp_seq=2 Destination Host Unreachable

The strange think is that:

sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ns-cefc1973-b1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
        inet 10.0.0.2  netmask 255.255.255.0  broadcast 10.0.0.255
        inet6 fe80::f816:3eff:fedc:af67  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:dc:af:67  txqueuelen 1000  (Ethernet)
        RX packets 2297  bytes 96522 (96.5 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 5  bytes 446 (446.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

if I try the ping

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ping 10.0.0.2
PING 10.0.0.1 (10.0.0.2) 56(84) bytes of data.
64 bytes from 10.0.0.2: icmp_seq=1 ttl=64 time=1.32 ms
64 bytes from 10.0.0.2: icmp_seq=2 ttl=64 time=0.096 ms

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ping 10.0.0.9
PING 10.0.0.9 (10.0.0.9) 56(84) bytes of data.
From 10.0.0.2 icmp_seq=1 Destination Host Unreachable
From 10.0.0.2 icmp_seq=2 Destination Host Unreachable

running an Arp command obtain that:

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f arp -a
? (10.0.0.1) at fa:16:3e:63:4b:f7 [ether] on ns-cefc1973-b1
? (10.0.0.254) at <incomplete> on ns-cefc1973-b1
? (10.0.0.9) at <incomplete> on ns-cefc1973-b1

catalog list

$:openstack catalog list
Password: 
+-----------+--------------+-------------------------------------------------------------------------+
| Name      | Type         | Endpoints                                                               |
+-----------+--------------+-------------------------------------------------------------------------+
| neutron   | network      | RegionOne                                                               |
|           |              |   admin: http://10.20.81.17:9696                                        |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.17:9696                                       |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.17:9696                                     |
|           |              |                                                                         |
| placement | placement    | RegionOne                                                               |
|           |              |   public: http://10.20.81.6:8778                                        |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.6:8778                                      |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.6:8778                                         |
|           |              |                                                                         |
| cinderv3  | volumev3     | RegionOne                                                               |
|           |              |   admin: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c   |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c |
|           |              |                                                                         |
| swift     | object-store | RegionOne                                                               |
|           |              |   admin: http://10.20.81.19:80/swift                                    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.19:80/swift/v1                                |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.19:80/swift/v1                              |
|           |              |                                                                         |
| nova      | compute      | RegionOne                                                               |
|           |              |   internal: http://10.20.81.6:8774/v2.1                                 |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.6:8774/v2.1                                   |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.6:8774/v2.1                                    |
|           |              |                                                                         |
| keystone  | identity     | RegionOne                                                               |
|           |              |   public: http://10.20.81.5:5000/v3                                     |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.5:35357/v3                                     |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.5:5000/v3                                   |
|           |              |                                                                         |
| cinderv2  | volumev2     | RegionOne                                                               |
|           |              |   admin: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c   |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c |
|           |              |                                                                         |
| glance    | image        | RegionOne                                                               |
|           |              |   internal: http://10.20.81.8:9292                                      |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.8:9292                                         |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.8:9292                                        |
|           |              |                                                                         |
+-----------+--------------+-------------------------------------------------------------------------+

keypair

$:openstack keypair list
Password: 
+----------+-------------------------------------------------+
| Name     | Fingerprint                                     |
+----------+-------------------------------------------------+
| u1804Key | 29:6f:87:cf:b1:5e:de:45:2f:c1:e2:85:88:80:60:8b |
+----------+-------------------------------------------------+

update:

using the following commands I can ping the virtual interface on router u1804Ro from neutron-gateway

$: juju ssh neutron-gateway/0

then

ubuntu@os-compute01:~$ ip netns list
qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 (id: 4)
qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f (id: 3)

if I try to ping the public interface and the internat interface set on the router of Openstack, that ones work

ubuntu@os-compute01:~$ ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.212
PING 10.20.81.212 (10.20.81.212) 56(84) bytes of data.
64 bytes from 10.20.81.212: icmp_seq=1 ttl=64 time=0.085 ms
64 bytes from 10.20.81.212: icmp_seq=2 ttl=64 time=0.054 ms

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-919fcbc7-566b-4b9b-bdc2-27fa959330dd ping 10.0.0.1
PING 10.0.0.1 (10.0.0.1) 56(84) bytes of data.
64 bytes from 10.0.0.1: icmp_seq=1 ttl=64 time=0.075 ms
64 bytes from 10.0.0.1: icmp_seq=2 ttl=64 time=0.070 ms

while the ping to the floating IP assigned to instance and its own internal IP no work

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.215
PING 10.20.81.215 (10.20.81.215) 56(84) bytes of data.
From 10.20.81.215 icmp_seq=1 Destination Host Unreachable
From 10.20.81.215 icmp_seq=2 Destination Host Unreachable

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.0.0.9
PING 10.0.0.9 (110.0.0.9) 56(84) bytes of data.
From 10.0.0.9 icmp_seq=1 Destination Host Unreachable
From 10.0.0.9 icmp_seq=2 Destination Host Unreachable

The strange think is that:

sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ns-cefc1973-b1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
        inet 10.0.0.2 10.0.0.1  netmask 255.255.255.0  broadcast 10.0.0.255
        inet6 fe80::f816:3eff:fedc:af67  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:dc:af:67  txqueuelen 1000  (Ethernet)
        RX packets 2297  bytes 96522 (96.5 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 5  bytes 446 (446.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

running an Arp command obtain that:

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f arp -a
? (10.0.0.1) at fa:16:3e:63:4b:f7 [ether] on ns-cefc1973-b1
? (10.0.0.254) at <incomplete> on ns-cefc1973-b1
? (10.0.0.9) at <incomplete> on ns-cefc1973-b1

catalog list

$:openstack catalog list
Password: 
+-----------+--------------+-------------------------------------------------------------------------+
| Name      | Type         | Endpoints                                                               |
+-----------+--------------+-------------------------------------------------------------------------+
| neutron   | network      | RegionOne                                                               |
|           |              |   admin: http://10.20.81.17:9696                                        |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.17:9696                                       |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.17:9696                                     |
|           |              |                                                                         |
| placement | placement    | RegionOne                                                               |
|           |              |   public: http://10.20.81.6:8778                                        |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.6:8778                                      |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.6:8778                                         |
|           |              |                                                                         |
| cinderv3  | volumev3     | RegionOne                                                               |
|           |              |   admin: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c   |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c |
|           |              |                                                                         |
| swift     | object-store | RegionOne                                                               |
|           |              |   admin: http://10.20.81.19:80/swift                                    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.19:80/swift/v1                                |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.19:80/swift/v1                              |
|           |              |                                                                         |
| nova      | compute      | RegionOne                                                               |
|           |              |   internal: http://10.20.81.6:8774/v2.1                                 |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.6:8774/v2.1                                   |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.6:8774/v2.1                                    |
|           |              |                                                                         |
| keystone  | identity     | RegionOne                                                               |
|           |              |   public: http://10.20.81.5:5000/v3                                     |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.5:35357/v3                                     |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.5:5000/v3                                   |
|           |              |                                                                         |
| cinderv2  | volumev2     | RegionOne                                                               |
|           |              |   admin: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c   |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c |
|           |              |                                                                         |
| glance    | image        | RegionOne                                                               |
|           |              |   internal: http://10.20.81.8:9292                                      |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.8:9292                                         |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.8:9292                                        |
|           |              |                                                                         |
+-----------+--------------+-------------------------------------------------------------------------+

keypair

$:openstack keypair list
Password: 
+----------+-------------------------------------------------+
| Name     | Fingerprint                                     |
+----------+-------------------------------------------------+
| u1804Key | 29:6f:87:cf:b1:5e:de:45:2f:c1:e2:85:88:80:60:8b |
+----------+-------------------------------------------------+

update:

using the following commands I can ping the virtual interface on router u1804Ro from neutron-gateway

$: juju ssh neutron-gateway/0

then

ubuntu@os-compute01:~$ ip netns list
qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 (id: 4)
qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f (id: 3)

if I try to ping the public interface and the internat interface set on the router of Openstack, that ones work

ubuntu@os-compute01:~$ ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.212
PING 10.20.81.212 (10.20.81.212) 56(84) bytes of data.
64 bytes from 10.20.81.212: icmp_seq=1 ttl=64 time=0.085 ms
64 bytes from 10.20.81.212: icmp_seq=2 ttl=64 time=0.054 ms

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-919fcbc7-566b-4b9b-bdc2-27fa959330dd qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.0.0.1
PING 10.0.0.1 (10.0.0.1) 56(84) bytes of data.
64 bytes from 10.0.0.1: icmp_seq=1 ttl=64 time=0.075 ms
64 bytes from 10.0.0.1: icmp_seq=2 ttl=64 time=0.070 ms

while the ping to the floating IP assigned to instance and its own internal IP no work

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.215
PING 10.20.81.215 (10.20.81.215) 56(84) bytes of data.
From 10.20.81.215 icmp_seq=1 Destination Host Unreachable
From 10.20.81.215 icmp_seq=2 Destination Host Unreachable

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.0.0.9
PING 10.0.0.9 (110.0.0.9) 56(84) bytes of data.
From 10.0.0.9 icmp_seq=1 Destination Host Unreachable
From 10.0.0.9 icmp_seq=2 Destination Host Unreachable

The strange think is that:then:

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
         inet 127.0.0.1  netmask 255.0.0.0
         inet6 ::1  prefixlen 128  scopeid 0x10<host>
         loop  txqueuelen 1000  (Local Loopback)
         RX packets 0  bytes 0 (0.0 B)
         RX errors 0  dropped 0  overruns 0  frame 0
         TX packets 0  bytes 0 (0.0 B)
         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ns-cefc1973-b1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
         inet 10.0.0.1 10.0.0.10  netmask 255.255.255.0  broadcast 10.0.0.255
         inet6 fe80::f816:3eff:fedc:af67  prefixlen 64  scopeid 0x20<link>
         ether fa:16:3e:dc:af:67  txqueuelen 1000  (Ethernet)
         RX packets 2297  bytes 96522 (96.5 KB)
         RX errors 0  dropped 0  overruns 0  frame 0
         TX packets 5  bytes 446 (446.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 12  bytes 1120 (1.1 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 1120 (1.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qg-df7a9cfe-3d: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.20.81.41  netmask 255.255.255.0  broadcast 10.20.81.255
        inet6 fe80::f816:3eff:fe64:3a54  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:64:3a:54  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qr-8ceea738-c9: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
        inet 10.0.0.1  netmask 255.255.255.0  broadcast 10.0.0.255
        inet6 fe80::f816:3eff:fe74:1c88  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:74:1c:88  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

running an Arp command obtain that:

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f arp -a
? (10.0.0.1) at fa:16:3e:63:4b:f7 [ether] on ns-cefc1973-b1
? (10.0.0.254) at <incomplete> on ns-cefc1973-b1
? (10.0.0.9) at <incomplete> on ns-cefc1973-b1

catalog list

$:openstack catalog list
Password: 
+-----------+--------------+-------------------------------------------------------------------------+
| Name      | Type         | Endpoints                                                               |
+-----------+--------------+-------------------------------------------------------------------------+
| neutron   | network      | RegionOne                                                               |
|           |              |   admin: http://10.20.81.17:9696                                        |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.17:9696                                       |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.17:9696                                     |
|           |              |                                                                         |
| placement | placement    | RegionOne                                                               |
|           |              |   public: http://10.20.81.6:8778                                        |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.6:8778                                      |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.6:8778                                         |
|           |              |                                                                         |
| cinderv3  | volumev3     | RegionOne                                                               |
|           |              |   admin: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c   |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c |
|           |              |                                                                         |
| swift     | object-store | RegionOne                                                               |
|           |              |   admin: http://10.20.81.19:80/swift                                    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.19:80/swift/v1                                |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.19:80/swift/v1                              |
|           |              |                                                                         |
| nova      | compute      | RegionOne                                                               |
|           |              |   internal: http://10.20.81.6:8774/v2.1                                 |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.6:8774/v2.1                                   |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.6:8774/v2.1                                    |
|           |              |                                                                         |
| keystone  | identity     | RegionOne                                                               |
|           |              |   public: http://10.20.81.5:5000/v3                                     |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.5:35357/v3                                     |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.5:5000/v3                                   |
|           |              |                                                                         |
| cinderv2  | volumev2     | RegionOne                                                               |
|           |              |   admin: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c   |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c |
|           |              |                                                                         |
| glance    | image        | RegionOne                                                               |
|           |              |   internal: http://10.20.81.8:9292                                      |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.8:9292                                         |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.8:9292                                        |
|           |              |                                                                         |
+-----------+--------------+-------------------------------------------------------------------------+

keypair

$:openstack keypair list
Password: 
+----------+-------------------------------------------------+
| Name     | Fingerprint                                     |
+----------+-------------------------------------------------+
| u1804Key | 29:6f:87:cf:b1:5e:de:45:2f:c1:e2:85:88:80:60:8b |
+----------+-------------------------------------------------+

update:

using the following commands I can ping the virtual interface interfaces on router u1804Ro from neutron-gatewayof openstack

$: juju ssh neutron-gateway/0

then

ubuntu@os-compute01:~$ ip netns list
qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 (id: 4)
qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f (id: 3)

if I try to ping the public interface and the internat interface set on the router of Openstack, that ones work

ubuntu@os-compute01:~$ ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.212
PING 10.20.81.212 (10.20.81.212) 56(84) bytes of data.
64 bytes from 10.20.81.212: icmp_seq=1 ttl=64 time=0.085 ms
64 bytes from 10.20.81.212: icmp_seq=2 ttl=64 time=0.054 ms

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.0.0.1
PING 10.0.0.1 (10.0.0.1) 56(84) bytes of data.
64 bytes from 10.0.0.1: icmp_seq=1 ttl=64 time=0.075 ms
64 bytes from 10.0.0.1: icmp_seq=2 ttl=64 time=0.070 ms

while the ping to the floating IP assigned to instance and its own internal IP no work

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.215
PING 10.20.81.215 (10.20.81.215) 56(84) bytes of data.
From 10.20.81.215 icmp_seq=1 Destination Host Unreachable
From 10.20.81.215 icmp_seq=2 Destination Host Unreachable

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.0.0.9
PING 10.0.0.9 (110.0.0.9) 56(84) bytes of data.
From 10.0.0.9 icmp_seq=1 Destination Host Unreachable
From 10.0.0.9 icmp_seq=2 Destination Host Unreachable

then:

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ns-cefc1973-b1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
            inet 10.0.0.10  netmask 255.255.255.0  broadcast 10.0.0.255
            inet6 fe80::f816:3eff:fedc:af67  prefixlen 64  scopeid 0x20<link>
            ether fa:16:3e:dc:af:67  txqueuelen 1000  (Ethernet)
            RX packets 2297  bytes 96522 (96.5 KB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 5  bytes 446 (446.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 12  bytes 1120 (1.1 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 1120 (1.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qg-df7a9cfe-3d: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.20.81.41  netmask 255.255.255.0  broadcast 10.20.81.255
        inet6 fe80::f816:3eff:fe64:3a54  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:64:3a:54  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qr-8ceea738-c9: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
        inet 10.0.0.1  netmask 255.255.255.0  broadcast 10.0.0.255
        inet6 fe80::f816:3eff:fe74:1c88  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:74:1c:88  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

running an Arp command obtain that:

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f arp -a
? (10.0.0.1) at fa:16:3e:63:4b:f7 [ether] on ns-cefc1973-b1
? (10.0.0.254) at <incomplete> on ns-cefc1973-b1
? (10.0.0.9) at <incomplete> on ns-cefc1973-b1

catalog list

$:openstack catalog list
Password: 
+-----------+--------------+-------------------------------------------------------------------------+
| Name      | Type         | Endpoints                                                               |
+-----------+--------------+-------------------------------------------------------------------------+
| neutron   | network      | RegionOne                                                               |
|           |              |   admin: http://10.20.81.17:9696                                        |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.17:9696                                       |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.17:9696                                     |
|           |              |                                                                         |
| placement | placement    | RegionOne                                                               |
|           |              |   public: http://10.20.81.6:8778                                        |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.6:8778                                      |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.6:8778                                         |
|           |              |                                                                         |
| cinderv3  | volumev3     | RegionOne                                                               |
|           |              |   admin: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c   |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c |
|           |              |                                                                         |
| swift     | object-store | RegionOne                                                               |
|           |              |   admin: http://10.20.81.19:80/swift                                    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.19:80/swift/v1                                |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.19:80/swift/v1                              |
|           |              |                                                                         |
| nova      | compute      | RegionOne                                                               |
|           |              |   internal: http://10.20.81.6:8774/v2.1                                 |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.6:8774/v2.1                                   |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.6:8774/v2.1                                    |
|           |              |                                                                         |
| keystone  | identity     | RegionOne                                                               |
|           |              |   public: http://10.20.81.5:5000/v3                                     |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.5:35357/v3                                     |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.5:5000/v3                                   |
|           |              |                                                                         |
| cinderv2  | volumev2     | RegionOne                                                               |
|           |              |   admin: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c   |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c |
|           |              |                                                                         |
| glance    | image        | RegionOne                                                               |
|           |              |   internal: http://10.20.81.8:9292                                      |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.8:9292                                         |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.8:9292                                        |
|           |              |                                                                         |
+-----------+--------------+-------------------------------------------------------------------------+

keypair

$:openstack keypair list
Password: 
+----------+-------------------------------------------------+
| Name     | Fingerprint                                     |
+----------+-------------------------------------------------+
| u1804Key | 29:6f:87:cf:b1:5e:de:45:2f:c1:e2:85:88:80:60:8b |
+----------+-------------------------------------------------+

update:

using the following commands I can ping the virtual interfaces on router u1804Ro of openstack

$: juju ssh neutron-gateway/0

then

ubuntu@os-compute01:~$ ip netns list
qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 (id: 4)
qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f (id: 3)

if I try to ping the public interface and the internat interface set on the router of Openstack, that ones work

ubuntu@os-compute01:~$ ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.212
PING 10.20.81.212 (10.20.81.212) 56(84) bytes of data.
64 bytes from 10.20.81.212: icmp_seq=1 ttl=64 time=0.085 ms
64 bytes from 10.20.81.212: icmp_seq=2 ttl=64 time=0.054 ms

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.0.0.1
PING 10.0.0.1 (10.0.0.1) 56(84) bytes of data.
64 bytes from 10.0.0.1: icmp_seq=1 ttl=64 time=0.075 ms
64 bytes from 10.0.0.1: icmp_seq=2 ttl=64 time=0.070 ms

while the ping to the floating IP assigned to instance and its own internal IP no work

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.215
PING 10.20.81.215 (10.20.81.215) 56(84) bytes of data.
From 10.20.81.215 icmp_seq=1 Destination Host Unreachable
From 10.20.81.215 icmp_seq=2 Destination Host Unreachable

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.0.0.9
PING 10.0.0.9 (110.0.0.9) 56(84) bytes of data.
From 10.0.0.9 icmp_seq=1 Destination Host Unreachable
From 10.0.0.9 icmp_seq=2 Destination Host Unreachable

then:

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ns-cefc1973-b1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
            inet 10.0.0.10  netmask 255.255.255.0  broadcast 10.0.0.255
            inet6 fe80::f816:3eff:fedc:af67  prefixlen 64  scopeid 0x20<link>
            ether fa:16:3e:dc:af:67  txqueuelen 1000  (Ethernet)
            RX packets 2297  bytes 96522 (96.5 KB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 5  bytes 446 (446.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 12  bytes 1120 (1.1 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 1120 (1.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qg-df7a9cfe-3d: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.20.81.41  netmask 255.255.255.0  broadcast 10.20.81.255
        inet6 fe80::f816:3eff:fe64:3a54  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:64:3a:54  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qr-8ceea738-c9: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
        inet 10.0.0.1  netmask 255.255.255.0  broadcast 10.0.0.255
        inet6 fe80::f816:3eff:fe74:1c88  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:74:1c:88  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

the routing table is that:

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-919fcbc7-566b-4b9b-bdc2-27fa959330dd route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 qr-8ceea738-c9
10.20.81.0      0.0.0.0         255.255.255.0   U     0      0        0 qg-df7a9cfe-3d

running an Arp command obtain that:

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f arp -a
? (10.0.0.1) at fa:16:3e:63:4b:f7 [ether] on ns-cefc1973-b1
? (10.0.0.254) at <incomplete> on ns-cefc1973-b1
? (10.0.0.9) at <incomplete> on ns-cefc1973-b1

catalog list

$:openstack catalog list
Password: 
+-----------+--------------+-------------------------------------------------------------------------+
| Name      | Type         | Endpoints                                                               |
+-----------+--------------+-------------------------------------------------------------------------+
| neutron   | network      | RegionOne                                                               |
|           |              |   admin: http://10.20.81.17:9696                                        |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.17:9696                                       |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.17:9696                                     |
|           |              |                                                                         |
| placement | placement    | RegionOne                                                               |
|           |              |   public: http://10.20.81.6:8778                                        |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.6:8778                                      |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.6:8778                                         |
|           |              |                                                                         |
| cinderv3  | volumev3     | RegionOne                                                               |
|           |              |   admin: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c   |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c |
|           |              |                                                                         |
| swift     | object-store | RegionOne                                                               |
|           |              |   admin: http://10.20.81.19:80/swift                                    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.19:80/swift/v1                                |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.19:80/swift/v1                              |
|           |              |                                                                         |
| nova      | compute      | RegionOne                                                               |
|           |              |   internal: http://10.20.81.6:8774/v2.1                                 |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.6:8774/v2.1                                   |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.6:8774/v2.1                                    |
|           |              |                                                                         |
| keystone  | identity     | RegionOne                                                               |
|           |              |   public: http://10.20.81.5:5000/v3                                     |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.5:35357/v3                                     |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.5:5000/v3                                   |
|           |              |                                                                         |
| cinderv2  | volumev2     | RegionOne                                                               |
|           |              |   admin: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c   |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c |
|           |              |                                                                         |
| glance    | image        | RegionOne                                                               |
|           |              |   internal: http://10.20.81.8:9292                                      |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.8:9292                                         |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.8:9292                                        |
|           |              |                                                                         |
+-----------+--------------+-------------------------------------------------------------------------+

keypair

$:openstack keypair list
Password: 
+----------+-------------------------------------------------+
| Name     | Fingerprint                                     |
+----------+-------------------------------------------------+
| u1804Key | 29:6f:87:cf:b1:5e:de:45:2f:c1:e2:85:88:80:60:8b |
+----------+-------------------------------------------------+

update:

using the following commands I can ping the virtual interfaces on router u1804Ro of openstack

$: juju ssh neutron-gateway/0

then

ubuntu@os-compute01:~$ ip netns list
qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 (id: 4)
qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f (id: 3)

if I try to ping the public interface and the internat interface set on the router of Openstack, that ones work

ubuntu@os-compute01:~$ ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.212
PING 10.20.81.212 (10.20.81.212) 56(84) bytes of data.
64 bytes from 10.20.81.212: icmp_seq=1 ttl=64 time=0.085 ms
64 bytes from 10.20.81.212: icmp_seq=2 ttl=64 time=0.054 ms

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.0.0.1
PING 10.0.0.1 (10.0.0.1) 56(84) bytes of data.
64 bytes from 10.0.0.1: icmp_seq=1 ttl=64 time=0.075 ms
64 bytes from 10.0.0.1: icmp_seq=2 ttl=64 time=0.070 ms

while the ping to the floating IP assigned to instance and its own internal IP no work

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.215
PING 10.20.81.215 (10.20.81.215) 56(84) bytes of data.
From 10.20.81.215 icmp_seq=1 Destination Host Unreachable
From 10.20.81.215 icmp_seq=2 Destination Host Unreachable

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.0.0.9
PING 10.0.0.9 (110.0.0.9) 56(84) bytes of data.
From 10.0.0.9 icmp_seq=1 Destination Host Unreachable
From 10.0.0.9 icmp_seq=2 Destination Host Unreachable

then:

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ns-cefc1973-b1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
            inet 10.0.0.10  netmask 255.255.255.0  broadcast 10.0.0.255
            inet6 fe80::f816:3eff:fedc:af67  prefixlen 64  scopeid 0x20<link>
            ether fa:16:3e:dc:af:67  txqueuelen 1000  (Ethernet)
            RX packets 2297  bytes 96522 (96.5 KB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 5  bytes 446 (446.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 12  bytes 1120 (1.1 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 1120 (1.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qg-df7a9cfe-3d: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.20.81.41  netmask 255.255.255.0  broadcast 10.20.81.255
        inet6 fe80::f816:3eff:fe64:3a54  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:64:3a:54  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qr-8ceea738-c9: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
        inet 10.0.0.1  netmask 255.255.255.0  broadcast 10.0.0.255
        inet6 fe80::f816:3eff:fe74:1c88  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:74:1c:88  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

the routing table is that:

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-919fcbc7-566b-4b9b-bdc2-27fa959330dd route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 qr-8ceea738-c9
10.20.81.0      0.0.0.0         255.255.255.0   U     0      0        0 qg-df7a9cfe-3d

running an Arp command obtain that:

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f arp -a
? (10.0.0.1) at fa:16:3e:63:4b:f7 [ether] on ns-cefc1973-b1
? (10.0.0.254) at <incomplete> on ns-cefc1973-b1
? (10.0.0.9) at <incomplete> on ns-cefc1973-b1

catalog list

$:openstack catalog list
Password: 
+-----------+--------------+-------------------------------------------------------------------------+
| Name      | Type         | Endpoints                                                               |
+-----------+--------------+-------------------------------------------------------------------------+
| neutron   | network      | RegionOne                                                               |
|           |              |   admin: http://10.20.81.17:9696                                        |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.17:9696                                       |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.17:9696                                     |
|           |              |                                                                         |
| placement | placement    | RegionOne                                                               |
|           |              |   public: http://10.20.81.6:8778                                        |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.6:8778                                      |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.6:8778                                         |
|           |              |                                                                         |
| cinderv3  | volumev3     | RegionOne                                                               |
|           |              |   admin: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c   |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c |
|           |              |                                                                         |
| swift     | object-store | RegionOne                                                               |
|           |              |   admin: http://10.20.81.19:80/swift                                    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.19:80/swift/v1                                |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.19:80/swift/v1                              |
|           |              |                                                                         |
| nova      | compute      | RegionOne                                                               |
|           |              |   internal: http://10.20.81.6:8774/v2.1                                 |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.6:8774/v2.1                                   |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.6:8774/v2.1                                    |
|           |              |                                                                         |
| keystone  | identity     | RegionOne                                                               |
|           |              |   public: http://10.20.81.5:5000/v3                                     |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.5:35357/v3                                     |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.5:5000/v3                                   |
|           |              |                                                                         |
| cinderv2  | volumev2     | RegionOne                                                               |
|           |              |   admin: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c   |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c |
|           |              |                                                                         |
| glance    | image        | RegionOne                                                               |
|           |              |   internal: http://10.20.81.8:9292                                      |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.8:9292                                         |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.8:9292                                        |
|           |              |                                                                         |
+-----------+--------------+-------------------------------------------------------------------------+

keypair

$:openstack keypair list
Password: 
+----------+-------------------------------------------------+
| Name     | Fingerprint                                     |
+----------+-------------------------------------------------+
| u1804Key | 29:6f:87:cf:b1:5e:de:45:2f:c1:e2:85:88:80:60:8b |
+----------+-------------------------------------------------+

running that I don't see IP released on instance, while on dashboard there is 10.0.0.12 assigned on it

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-008cdb55-51f4-49f6-87d2-a9c187485d26 tcpdump port 67 or port 68 -lne
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ns-4b279831-1a, link-type EN10MB (Ethernet), capture size 262144 bytes

cc

update:

using the following commands I can ping the virtual interfaces on router u1804Ro of openstack

$: juju ssh neutron-gateway/0

then

ubuntu@os-compute01:~$ cat /var/lib/neutron/dhcp/008cdb55-51f4-49f6-87d2-a9c187485d26/host 
fa:16:3e:77:d6:96,host-10-0-0-10.openstacklocal,10.0.0.10
fa:16:3e:b4:9e:0c,host-10-0-0-1.openstacklocal,10.0.0.1
fa:16:3e:d3:49:76,host-10-0-0-12.openstacklocal,10.0.0.12

then

ubuntu@os-compute01:~$ ip netns list
qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 (id: 4)
qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f (id: 3)

if I try to ping the public interface and the internat interface set on the router of Openstack, that ones work

ubuntu@os-compute01:~$ ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.212
PING 10.20.81.212 (10.20.81.212) 56(84) bytes of data.
64 bytes from 10.20.81.212: icmp_seq=1 ttl=64 time=0.085 ms
64 bytes from 10.20.81.212: icmp_seq=2 ttl=64 time=0.054 ms

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.0.0.1
PING 10.0.0.1 (10.0.0.1) 56(84) bytes of data.
64 bytes from 10.0.0.1: icmp_seq=1 ttl=64 time=0.075 ms
64 bytes from 10.0.0.1: icmp_seq=2 ttl=64 time=0.070 ms

while the ping to the floating IP assigned to instance and its own internal IP no work

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.215
PING 10.20.81.215 (10.20.81.215) 56(84) bytes of data.
From 10.20.81.215 icmp_seq=1 Destination Host Unreachable
From 10.20.81.215 icmp_seq=2 Destination Host Unreachable

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.0.0.9
PING 10.0.0.9 (110.0.0.9) 56(84) bytes of data.
From 10.0.0.9 icmp_seq=1 Destination Host Unreachable
From 10.0.0.9 icmp_seq=2 Destination Host Unreachable

then:

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ns-cefc1973-b1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
            inet 10.0.0.10  netmask 255.255.255.0  broadcast 10.0.0.255
            inet6 fe80::f816:3eff:fedc:af67  prefixlen 64  scopeid 0x20<link>
            ether fa:16:3e:dc:af:67  txqueuelen 1000  (Ethernet)
            RX packets 2297  bytes 96522 (96.5 KB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 5  bytes 446 (446.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 12  bytes 1120 (1.1 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 1120 (1.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qg-df7a9cfe-3d: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.20.81.41  netmask 255.255.255.0  broadcast 10.20.81.255
        inet6 fe80::f816:3eff:fe64:3a54  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:64:3a:54  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qr-8ceea738-c9: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
        inet 10.0.0.1  netmask 255.255.255.0  broadcast 10.0.0.255
        inet6 fe80::f816:3eff:fe74:1c88  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:74:1c:88  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

the routing table is that:

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-919fcbc7-566b-4b9b-bdc2-27fa959330dd route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 qr-8ceea738-c9
10.20.81.0      0.0.0.0         255.255.255.0   U     0      0        0 qg-df7a9cfe-3d

running an Arp command obtain that:

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f arp -a
? (10.0.0.1) at fa:16:3e:63:4b:f7 [ether] on ns-cefc1973-b1
? (10.0.0.254) at <incomplete> on ns-cefc1973-b1
? (10.0.0.9) at <incomplete> on ns-cefc1973-b1

catalog list

$:openstack catalog list
Password: 
+-----------+--------------+-------------------------------------------------------------------------+
| Name      | Type         | Endpoints                                                               |
+-----------+--------------+-------------------------------------------------------------------------+
| neutron   | network      | RegionOne                                                               |
|           |              |   admin: http://10.20.81.17:9696                                        |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.17:9696                                       |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.17:9696                                     |
|           |              |                                                                         |
| placement | placement    | RegionOne                                                               |
|           |              |   public: http://10.20.81.6:8778                                        |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.6:8778                                      |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.6:8778                                         |
|           |              |                                                                         |
| cinderv3  | volumev3     | RegionOne                                                               |
|           |              |   admin: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c   |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c |
|           |              |                                                                         |
| swift     | object-store | RegionOne                                                               |
|           |              |   admin: http://10.20.81.19:80/swift                                    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.19:80/swift/v1                                |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.19:80/swift/v1                              |
|           |              |                                                                         |
| nova      | compute      | RegionOne                                                               |
|           |              |   internal: http://10.20.81.6:8774/v2.1                                 |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.6:8774/v2.1                                   |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.6:8774/v2.1                                    |
|           |              |                                                                         |
| keystone  | identity     | RegionOne                                                               |
|           |              |   public: http://10.20.81.5:5000/v3                                     |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.5:35357/v3                                     |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.5:5000/v3                                   |
|           |              |                                                                         |
| cinderv2  | volumev2     | RegionOne                                                               |
|           |              |   admin: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c   |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c |
|           |              |                                                                         |
| glance    | image        | RegionOne                                                               |
|           |              |   internal: http://10.20.81.8:9292                                      |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.8:9292                                         |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.8:9292                                        |
|           |              |                                                                         |
+-----------+--------------+-------------------------------------------------------------------------+

keypair

$:openstack keypair list
Password: 
+----------+-------------------------------------------------+
| Name     | Fingerprint                                     |
+----------+-------------------------------------------------+
| u1804Key | 29:6f:87:cf:b1:5e:de:45:2f:c1:e2:85:88:80:60:8b |
+----------+-------------------------------------------------+

running that I don't see IP released on instance, while on dashboard there is 10.0.0.12 assigned on it

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-008cdb55-51f4-49f6-87d2-a9c187485d26 tcpdump port 67 or port 68 -lne
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ns-4b279831-1a, link-type EN10MB (Ethernet), capture size 262144 bytes

cc

update:

using the following commands I can ping the virtual interfaces on router u1804Ro of openstack

$: juju ssh neutron-gateway/0

then

ubuntu@os-compute01:~$ cat /var/lib/neutron/dhcp/008cdb55-51f4-49f6-87d2-a9c187485d26/host 
fa:16:3e:77:d6:96,host-10-0-0-10.openstacklocal,10.0.0.10
fa:16:3e:b4:9e:0c,host-10-0-0-1.openstacklocal,10.0.0.1
fa:16:3e:d3:49:76,host-10-0-0-12.openstacklocal,10.0.0.12

then

ubuntu@os-compute01:~$ ip netns list
qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 (id: 4)
qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f (id: 3)

if I try to ping the public interface and the internat interface set on the router of Openstack, that ones work

ubuntu@os-compute01:~$ ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.212
PING 10.20.81.212 (10.20.81.212) 56(84) bytes of data.
64 bytes from 10.20.81.212: icmp_seq=1 ttl=64 time=0.085 ms
64 bytes from 10.20.81.212: icmp_seq=2 ttl=64 time=0.054 ms

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.0.0.1
PING 10.0.0.1 (10.0.0.1) 56(84) bytes of data.
64 bytes from 10.0.0.1: icmp_seq=1 ttl=64 time=0.075 ms
64 bytes from 10.0.0.1: icmp_seq=2 ttl=64 time=0.070 ms

while the ping to the floating IP assigned to instance and its own internal IP no work

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.215
PING 10.20.81.215 (10.20.81.215) 56(84) bytes of data.
From 10.20.81.215 icmp_seq=1 Destination Host Unreachable
From 10.20.81.215 icmp_seq=2 Destination Host Unreachable

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.0.0.9
PING 10.0.0.9 (110.0.0.9) 56(84) bytes of data.
From 10.0.0.9 icmp_seq=1 Destination Host Unreachable
From 10.0.0.9 icmp_seq=2 Destination Host Unreachable

then:

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ns-cefc1973-b1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
            inet 10.0.0.10  netmask 255.255.255.0  broadcast 10.0.0.255
            inet6 fe80::f816:3eff:fedc:af67  prefixlen 64  scopeid 0x20<link>
            ether fa:16:3e:dc:af:67  txqueuelen 1000  (Ethernet)
            RX packets 2297  bytes 96522 (96.5 KB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 5  bytes 446 (446.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 12  bytes 1120 (1.1 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 1120 (1.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qg-df7a9cfe-3d: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.20.81.41  netmask 255.255.255.0  broadcast 10.20.81.255
        inet6 fe80::f816:3eff:fe64:3a54  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:64:3a:54  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qr-8ceea738-c9: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
        inet 10.0.0.1  netmask 255.255.255.0  broadcast 10.0.0.255
        inet6 fe80::f816:3eff:fe74:1c88  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:74:1c:88  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

the routing table is that:

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-919fcbc7-566b-4b9b-bdc2-27fa959330dd route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 qr-8ceea738-c9
10.20.81.0      0.0.0.0         255.255.255.0   U     0      0        0 qg-df7a9cfe-3d

running an Arp command obtain that:

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f arp -a
? (10.0.0.1) at fa:16:3e:63:4b:f7 [ether] on ns-cefc1973-b1
? (10.0.0.254) at <incomplete> on ns-cefc1973-b1
? (10.0.0.9) at <incomplete> on ns-cefc1973-b1

catalog list

$:openstack catalog list
Password: 
+-----------+--------------+-------------------------------------------------------------------------+
| Name      | Type         | Endpoints                                                               |
+-----------+--------------+-------------------------------------------------------------------------+
| neutron   | network      | RegionOne                                                               |
|           |              |   admin: http://10.20.81.17:9696                                        |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.17:9696                                       |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.17:9696                                     |
|           |              |                                                                         |
| placement | placement    | RegionOne                                                               |
|           |              |   public: http://10.20.81.6:8778                                        |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.6:8778                                      |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.6:8778                                         |
|           |              |                                                                         |
| cinderv3  | volumev3     | RegionOne                                                               |
|           |              |   admin: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c   |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c |
|           |              |                                                                         |
| swift     | object-store | RegionOne                                                               |
|           |              |   admin: http://10.20.81.19:80/swift                                    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.19:80/swift/v1                                |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.19:80/swift/v1                              |
|           |              |                                                                         |
| nova      | compute      | RegionOne                                                               |
|           |              |   internal: http://10.20.81.6:8774/v2.1                                 |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.6:8774/v2.1                                   |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.6:8774/v2.1                                    |
|           |              |                                                                         |
| keystone  | identity     | RegionOne                                                               |
|           |              |   public: http://10.20.81.5:5000/v3                                     |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.5:35357/v3                                     |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.5:5000/v3                                   |
|           |              |                                                                         |
| cinderv2  | volumev2     | RegionOne                                                               |
|           |              |   admin: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c   |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c |
|           |              |                                                                         |
| glance    | image        | RegionOne                                                               |
|           |              |   internal: http://10.20.81.8:9292                                      |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.8:9292                                         |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.8:9292                                        |
|           |              |                                                                         |
+-----------+--------------+-------------------------------------------------------------------------+

keypair

$:openstack keypair list
Password: 
+----------+-------------------------------------------------+
| Name     | Fingerprint                                     |
+----------+-------------------------------------------------+
| u1804Key | 29:6f:87:cf:b1:5e:de:45:2f:c1:e2:85:88:80:60:8b |
+----------+-------------------------------------------------+

running that I don't see IP released on instance, while on dashboard there is 10.0.0.12 assigned on ittcpdump

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-008cdb55-51f4-49f6-87d2-a9c187485d26 tcpdump port 67 or port 68 -lne
tcpdump: -i ns-cefc1973-b1
cpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ns-cefc1973-b1, link-type EN10MB (Ethernet), capture size 262144 bytes
16:20:52.380174 ARP, Request who-has 10.0.0.12 tell 10.0.0.1, length 28
16:20:53.404207 ARP, Request who-has 10.0.0.12 tell 10.0.0.1, length 28

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-008cdb55-51f4-49f6-87d2-a9c187485d26 tcpdump port 67 or port 68 -vv
listening on ns-4b279831-1a, link-type EN10MB (Ethernet), capture size 262144 bytes

cc

update:

using the following commands I can ping the virtual interfaces on router u1804Ro of openstack

$: juju ssh neutron-gateway/0

then

ubuntu@os-compute01:~$ cat /var/lib/neutron/dhcp/008cdb55-51f4-49f6-87d2-a9c187485d26/host 
fa:16:3e:77:d6:96,host-10-0-0-10.openstacklocal,10.0.0.10
fa:16:3e:b4:9e:0c,host-10-0-0-1.openstacklocal,10.0.0.1
fa:16:3e:d3:49:76,host-10-0-0-12.openstacklocal,10.0.0.12

then

ubuntu@os-compute01:~$ ip netns list
qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 (id: 4)
qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f (id: 3)

if I try to ping the public interface and the internat interface set on the router of Openstack, that ones work

ubuntu@os-compute01:~$ ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.212
PING 10.20.81.212 (10.20.81.212) 56(84) bytes of data.
64 bytes from 10.20.81.212: icmp_seq=1 ttl=64 time=0.085 ms
64 bytes from 10.20.81.212: icmp_seq=2 ttl=64 time=0.054 ms

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.0.0.1
PING 10.0.0.1 (10.0.0.1) 56(84) bytes of data.
64 bytes from 10.0.0.1: icmp_seq=1 ttl=64 time=0.075 ms
64 bytes from 10.0.0.1: icmp_seq=2 ttl=64 time=0.070 ms

while the ping to the floating IP assigned to instance and its own internal IP no work

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.215
PING 10.20.81.215 (10.20.81.215) 56(84) bytes of data.
From 10.20.81.215 icmp_seq=1 Destination Host Unreachable
From 10.20.81.215 icmp_seq=2 Destination Host Unreachable

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.0.0.9
PING 10.0.0.9 (110.0.0.9) 56(84) bytes of data.
From 10.0.0.9 icmp_seq=1 Destination Host Unreachable
From 10.0.0.9 icmp_seq=2 Destination Host Unreachable

then:

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ns-cefc1973-b1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
            inet 10.0.0.10  netmask 255.255.255.0  broadcast 10.0.0.255
            inet6 fe80::f816:3eff:fedc:af67  prefixlen 64  scopeid 0x20<link>
            ether fa:16:3e:dc:af:67  txqueuelen 1000  (Ethernet)
            RX packets 2297  bytes 96522 (96.5 KB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 5  bytes 446 (446.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 12  bytes 1120 (1.1 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 1120 (1.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qg-df7a9cfe-3d: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.20.81.41  netmask 255.255.255.0  broadcast 10.20.81.255
        inet6 fe80::f816:3eff:fe64:3a54  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:64:3a:54  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qr-8ceea738-c9: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
        inet 10.0.0.1  netmask 255.255.255.0  broadcast 10.0.0.255
        inet6 fe80::f816:3eff:fe74:1c88  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:74:1c:88  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

the routing table is that:

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-919fcbc7-566b-4b9b-bdc2-27fa959330dd route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 qr-8ceea738-c9
10.20.81.0      0.0.0.0         255.255.255.0   U     0      0        0 qg-df7a9cfe-3d

running an Arp command obtain that:

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f arp -a
? (10.0.0.1) at fa:16:3e:63:4b:f7 [ether] on ns-cefc1973-b1
? (10.0.0.254) at <incomplete> on ns-cefc1973-b1
? (10.0.0.9) at <incomplete> on ns-cefc1973-b1

catalog list

$:openstack catalog list
Password: 
+-----------+--------------+-------------------------------------------------------------------------+
| Name      | Type         | Endpoints                                                               |
+-----------+--------------+-------------------------------------------------------------------------+
| neutron   | network      | RegionOne                                                               |
|           |              |   admin: http://10.20.81.17:9696                                        |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.17:9696                                       |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.17:9696                                     |
|           |              |                                                                         |
| placement | placement    | RegionOne                                                               |
|           |              |   public: http://10.20.81.6:8778                                        |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.6:8778                                      |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.6:8778                                         |
|           |              |                                                                         |
| cinderv3  | volumev3     | RegionOne                                                               |
|           |              |   admin: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c   |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c |
|           |              |                                                                         |
| swift     | object-store | RegionOne                                                               |
|           |              |   admin: http://10.20.81.19:80/swift                                    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.19:80/swift/v1                                |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.19:80/swift/v1                              |
|           |              |                                                                         |
| nova      | compute      | RegionOne                                                               |
|           |              |   internal: http://10.20.81.6:8774/v2.1                                 |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.6:8774/v2.1                                   |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.6:8774/v2.1                                    |
|           |              |                                                                         |
| keystone  | identity     | RegionOne                                                               |
|           |              |   public: http://10.20.81.5:5000/v3                                     |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.5:35357/v3                                     |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.5:5000/v3                                   |
|           |              |                                                                         |
| cinderv2  | volumev2     | RegionOne                                                               |
|           |              |   admin: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c   |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c |
|           |              |                                                                         |
| glance    | image        | RegionOne                                                               |
|           |              |   internal: http://10.20.81.8:9292                                      |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.8:9292                                         |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.8:9292                                        |
|           |              |                                                                         |
+-----------+--------------+-------------------------------------------------------------------------+

keypair

$:openstack keypair list
Password: 
+----------+-------------------------------------------------+
| Name     | Fingerprint                                     |
+----------+-------------------------------------------------+
| u1804Key | 29:6f:87:cf:b1:5e:de:45:2f:c1:e2:85:88:80:60:8b |
+----------+-------------------------------------------------+

tcpdump

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-008cdb55-51f4-49f6-87d2-a9c187485d26 tcpdump -i ns-cefc1973-b1
cpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ns-cefc1973-b1, link-type EN10MB (Ethernet), capture size 262144 bytes
16:20:52.380174 ARP, Request who-has 10.0.0.12 tell 10.0.0.1, length 28
16:20:53.404207 ARP, Request who-has 10.0.0.12 tell 10.0.0.1, length 28

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-008cdb55-51f4-49f6-87d2-a9c187485d26 tcpdump port 67 or port 68 -vv
listening on ns-4b279831-1a, link-type EN10MB (Ethernet), capture size 262144 bytes

update:

using the following commands I can ping the virtual interfaces on router u1804Ro of openstack

$: juju ssh neutron-gateway/0

then

ubuntu@os-compute01:~$ cat /var/lib/neutron/dhcp/008cdb55-51f4-49f6-87d2-a9c187485d26/host 
fa:16:3e:77:d6:96,host-10-0-0-10.openstacklocal,10.0.0.10
fa:16:3e:b4:9e:0c,host-10-0-0-1.openstacklocal,10.0.0.1
fa:16:3e:d3:49:76,host-10-0-0-12.openstacklocal,10.0.0.12
fa:16:3e:d3:49:76,host-10-0-0-9.openstacklocal,10.0.0.9

then

ubuntu@os-compute01:~$ ip netns list
qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 (id: 4)
qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f (id: 3)

if I try to ping the public interface and the internat interface set on the router of Openstack, that ones work

ubuntu@os-compute01:~$ ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.212
PING 10.20.81.212 (10.20.81.212) 56(84) bytes of data.
64 bytes from 10.20.81.212: icmp_seq=1 ttl=64 time=0.085 ms
64 bytes from 10.20.81.212: icmp_seq=2 ttl=64 time=0.054 ms

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.0.0.1
PING 10.0.0.1 (10.0.0.1) 56(84) bytes of data.
64 bytes from 10.0.0.1: icmp_seq=1 ttl=64 time=0.075 ms
64 bytes from 10.0.0.1: icmp_seq=2 ttl=64 time=0.070 ms

while the ping to the floating IP assigned to instance and its own internal IP no work

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.215
PING 10.20.81.215 (10.20.81.215) 56(84) bytes of data.
From 10.20.81.215 icmp_seq=1 Destination Host Unreachable
From 10.20.81.215 icmp_seq=2 Destination Host Unreachable

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.0.0.9
PING 10.0.0.9 (110.0.0.9) 56(84) bytes of data.
From 10.0.0.9 icmp_seq=1 Destination Host Unreachable
From 10.0.0.9 icmp_seq=2 Destination Host Unreachable

then:

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ns-cefc1973-b1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
            inet 10.0.0.10  netmask 255.255.255.0  broadcast 10.0.0.255
            inet6 fe80::f816:3eff:fedc:af67  prefixlen 64  scopeid 0x20<link>
            ether fa:16:3e:dc:af:67  txqueuelen 1000  (Ethernet)
            RX packets 2297  bytes 96522 (96.5 KB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 5  bytes 446 (446.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 12  bytes 1120 (1.1 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 1120 (1.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qg-df7a9cfe-3d: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.20.81.41  netmask 255.255.255.0  broadcast 10.20.81.255
        inet6 fe80::f816:3eff:fe64:3a54  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:64:3a:54  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qr-8ceea738-c9: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
        inet 10.0.0.1  netmask 255.255.255.0  broadcast 10.0.0.255
        inet6 fe80::f816:3eff:fe74:1c88  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:74:1c:88  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

the routing table is that:

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-919fcbc7-566b-4b9b-bdc2-27fa959330dd route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 qr-8ceea738-c9
10.20.81.0      0.0.0.0         255.255.255.0   U     0      0        0 qg-df7a9cfe-3d

running an Arp command obtain that:

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f arp -a
? (10.0.0.1) at fa:16:3e:63:4b:f7 [ether] on ns-cefc1973-b1
? (10.0.0.254) at <incomplete> on ns-cefc1973-b1
? (10.0.0.9) at <incomplete> on ns-cefc1973-b1

catalog list

$:openstack catalog list
Password: 
+-----------+--------------+-------------------------------------------------------------------------+
| Name      | Type         | Endpoints                                                               |
+-----------+--------------+-------------------------------------------------------------------------+
| neutron   | network      | RegionOne                                                               |
|           |              |   admin: http://10.20.81.17:9696                                        |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.17:9696                                       |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.17:9696                                     |
|           |              |                                                                         |
| placement | placement    | RegionOne                                                               |
|           |              |   public: http://10.20.81.6:8778                                        |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.6:8778                                      |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.6:8778                                         |
|           |              |                                                                         |
| cinderv3  | volumev3     | RegionOne                                                               |
|           |              |   admin: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c   |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c |
|           |              |                                                                         |
| swift     | object-store | RegionOne                                                               |
|           |              |   admin: http://10.20.81.19:80/swift                                    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.19:80/swift/v1                                |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.19:80/swift/v1                              |
|           |              |                                                                         |
| nova      | compute      | RegionOne                                                               |
|           |              |   internal: http://10.20.81.6:8774/v2.1                                 |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.6:8774/v2.1                                   |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.6:8774/v2.1                                    |
|           |              |                                                                         |
| keystone  | identity     | RegionOne                                                               |
|           |              |   public: http://10.20.81.5:5000/v3                                     |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.5:35357/v3                                     |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.5:5000/v3                                   |
|           |              |                                                                         |
| cinderv2  | volumev2     | RegionOne                                                               |
|           |              |   admin: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c   |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c |
|           |              |                                                                         |
| glance    | image        | RegionOne                                                               |
|           |              |   internal: http://10.20.81.8:9292                                      |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.8:9292                                         |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.8:9292                                        |
|           |              |                                                                         |
+-----------+--------------+-------------------------------------------------------------------------+

keypair

$:openstack keypair list
Password: 
+----------+-------------------------------------------------+
| Name     | Fingerprint                                     |
+----------+-------------------------------------------------+
| u1804Key | 29:6f:87:cf:b1:5e:de:45:2f:c1:e2:85:88:80:60:8b |
+----------+-------------------------------------------------+

tcpdump

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-008cdb55-51f4-49f6-87d2-a9c187485d26 tcpdump -i ns-cefc1973-b1
cpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ns-cefc1973-b1, link-type EN10MB (Ethernet), capture size 262144 bytes
16:20:52.380174 ARP, Request who-has 10.0.0.12 10.0.0.9 tell 10.0.0.1, length 28
16:20:53.404207 ARP, Request who-has 10.0.0.12 10.0.0.9 tell 10.0.0.1, length 28

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-008cdb55-51f4-49f6-87d2-a9c187485d26 tcpdump port 67 or port 68 -vv
listening on ns-4b279831-1a, link-type EN10MB (Ethernet), capture size 262144 bytes

update:

using the following commands I can ping the virtual interfaces on router u1804Ro of openstack

$: juju ssh neutron-gateway/0

then

ubuntu@os-compute01:~$ cat /var/lib/neutron/dhcp/008cdb55-51f4-49f6-87d2-a9c187485d26/host 
fa:16:3e:77:d6:96,host-10-0-0-10.openstacklocal,10.0.0.10
fa:16:3e:b4:9e:0c,host-10-0-0-1.openstacklocal,10.0.0.1
fa:16:3e:d3:49:76,host-10-0-0-9.openstacklocal,10.0.0.9

then

ubuntu@os-compute01:~$ ip netns list
qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 (id: 4)
qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f (id: 3)

if I try to ping the public interface and the internat interface set on the router of Openstack, that ones work

ubuntu@os-compute01:~$ ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.212
PING 10.20.81.212 (10.20.81.212) 56(84) bytes of data.
64 bytes from 10.20.81.212: icmp_seq=1 ttl=64 time=0.085 ms
64 bytes from 10.20.81.212: icmp_seq=2 ttl=64 time=0.054 ms

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.0.0.1
PING 10.0.0.1 (10.0.0.1) 56(84) bytes of data.
64 bytes from 10.0.0.1: icmp_seq=1 ttl=64 time=0.075 ms
64 bytes from 10.0.0.1: icmp_seq=2 ttl=64 time=0.070 ms

while the ping to the floating IP assigned to instance and its own internal IP no work

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.215
PING 10.20.81.215 (10.20.81.215) 56(84) bytes of data.
From 10.20.81.215 icmp_seq=1 Destination Host Unreachable
From 10.20.81.215 icmp_seq=2 Destination Host Unreachable

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.0.0.9
PING 10.0.0.9 (110.0.0.9) 56(84) bytes of data.
From 10.0.0.9 icmp_seq=1 Destination Host Unreachable
From 10.0.0.9 icmp_seq=2 Destination Host Unreachable

then:

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ns-cefc1973-b1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
            inet 10.0.0.10  netmask 255.255.255.0  broadcast 10.0.0.255
            inet6 fe80::f816:3eff:fedc:af67  prefixlen 64  scopeid 0x20<link>
            ether fa:16:3e:dc:af:67  txqueuelen 1000  (Ethernet)
            RX packets 2297  bytes 96522 (96.5 KB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 5  bytes 446 (446.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 12  bytes 1120 (1.1 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 1120 (1.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qg-df7a9cfe-3d: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.20.81.41  netmask 255.255.255.0  broadcast 10.20.81.255
        inet6 fe80::f816:3eff:fe64:3a54  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:64:3a:54  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qr-8ceea738-c9: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
        inet 10.0.0.1  netmask 255.255.255.0  broadcast 10.0.0.255
        inet6 fe80::f816:3eff:fe74:1c88  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:74:1c:88  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

the routing table is that:

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-919fcbc7-566b-4b9b-bdc2-27fa959330dd route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 qr-8ceea738-c9
10.20.81.0      0.0.0.0         255.255.255.0   U     0      0        0 qg-df7a9cfe-3d

running an Arp command obtain that:

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f arp -a
? (10.0.0.1) at fa:16:3e:63:4b:f7 [ether] on ns-cefc1973-b1
? (10.0.0.254) at <incomplete> on ns-cefc1973-b1
? (10.0.0.9) at <incomplete> on ns-cefc1973-b1

catalog list

$:openstack catalog list
Password: 
+-----------+--------------+-------------------------------------------------------------------------+
| Name      | Type         | Endpoints                                                               |
+-----------+--------------+-------------------------------------------------------------------------+
| neutron   | network      | RegionOne                                                               |
|           |              |   admin: http://10.20.81.17:9696                                        |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.17:9696                                       |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.17:9696                                     |
|           |              |                                                                         |
| placement | placement    | RegionOne                                                               |
|           |              |   public: http://10.20.81.6:8778                                        |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.6:8778                                      |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.6:8778                                         |
|           |              |                                                                         |
| cinderv3  | volumev3     | RegionOne                                                               |
|           |              |   admin: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c   |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c |
|           |              |                                                                         |
| swift     | object-store | RegionOne                                                               |
|           |              |   admin: http://10.20.81.19:80/swift                                    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.19:80/swift/v1                                |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.19:80/swift/v1                              |
|           |              |                                                                         |
| nova      | compute      | RegionOne                                                               |
|           |              |   internal: http://10.20.81.6:8774/v2.1                                 |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.6:8774/v2.1                                   |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.6:8774/v2.1                                    |
|           |              |                                                                         |
| keystone  | identity     | RegionOne                                                               |
|           |              |   public: http://10.20.81.5:5000/v3                                     |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.5:35357/v3                                     |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.5:5000/v3                                   |
|           |              |                                                                         |
| cinderv2  | volumev2     | RegionOne                                                               |
|           |              |   admin: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c   |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c |
|           |              |                                                                         |
| glance    | image        | RegionOne                                                               |
|           |              |   internal: http://10.20.81.8:9292                                      |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.8:9292                                         |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.8:9292                                        |
|           |              |                                                                         |
+-----------+--------------+-------------------------------------------------------------------------+

keypair

$:openstack keypair list
Password: 
+----------+-------------------------------------------------+
| Name     | Fingerprint                                     |
+----------+-------------------------------------------------+
| u1804Key | 29:6f:87:cf:b1:5e:de:45:2f:c1:e2:85:88:80:60:8b |
+----------+-------------------------------------------------+

tcpdump

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-008cdb55-51f4-49f6-87d2-a9c187485d26 qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f tcpdump -i ns-cefc1973-b1
cpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ns-cefc1973-b1, link-type EN10MB (Ethernet), capture size 262144 bytes
16:20:52.380174 ARP, Request who-has 10.0.0.9 tell 10.0.0.1, length 28
16:20:53.404207 ARP, Request who-has 10.0.0.9 tell 10.0.0.1, length 28

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-008cdb55-51f4-49f6-87d2-a9c187485d26 qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f tcpdump port 67 or port 68 -vv
listening on ns-4b279831-1a, link-type EN10MB (Ethernet), capture size 262144 bytes

update:

using the following commands I can ping the virtual interfaces on router u1804Ro of openstack

$: juju ssh neutron-gateway/0

then

ubuntu@os-compute01:~$ cat /var/lib/neutron/dhcp/008cdb55-51f4-49f6-87d2-a9c187485d26/host 
fa:16:3e:77:d6:96,host-10-0-0-10.openstacklocal,10.0.0.10
fa:16:3e:b4:9e:0c,host-10-0-0-1.openstacklocal,10.0.0.1
fa:16:3e:d3:49:76,host-10-0-0-9.openstacklocal,10.0.0.9
fa:16:3e:77:d6:96,host-10-0-0-10.openstacklocal,10.10.0.10
fa:16:3e:b4:9e:0c,host-10-0-0-1.openstacklocal,10.10.0.1
fa:16:3e:d3:49:76,host-10-0-0-9.openstacklocal,10.10.0.13

then

ubuntu@os-compute01:~$ ip netns list
qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 (id: 4)
qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f (id: 3)

if I try to ping the public interface and the internat interface set on the router of Openstack, that ones work

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 qrouter-8129a212-8db7-42a7-8d91-a5c8cdca42e0 ping 10.20.81.212
10.20.81.222
PING 10.20.81.212 (10.20.81.212) 10.20.81.222 (10.20.81.222) 56(84) bytes of data.
64 bytes from 10.20.81.212: 10.20.81.222: icmp_seq=1 ttl=64 time=0.085 ms
64 bytes from 10.20.81.212: 10.20.81.222: icmp_seq=2 ttl=64 time=0.054 time=0.081 ms

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.0.0.1
10.10.0.1
PING 10.0.0.1 (10.0.0.1) 10.10.0.1 (10.10.0.1) 56(84) bytes of data.
64 bytes from 10.0.0.1: 10.10.0.1: icmp_seq=1 ttl=64 time=0.075 ms
64 bytes from 10.0.0.1: 10.10.0.1: icmp_seq=2 ttl=64 time=0.070 ms

while the ping to the floating IP assigned to instance and its own internal IP no workworks

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.215
10.10.0.13
PING 10.20.81.215 (10.20.81.215) 10.10.0.13 (10.10.0.13) 56(84) bytes of data.
From 10.20.81.215 10.10.0.13 icmp_seq=1 Destination Host Unreachable
From 10.20.81.215 icmp_seq=2 Destination Host Unreachable

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.0.0.9
PING 10.0.0.9 (110.0.0.9) 56(84) bytes of data.
From 10.0.0.9 icmp_seq=1 Destination Host Unreachable
From 10.0.0.9 10.10.0.13 icmp_seq=2 Destination Host Unreachable

then:

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ns-cefc1973-b1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
            inet 10.0.0.10 10.10.0.10  netmask 255.255.255.0  broadcast 10.0.0.255
            inet6 fe80::f816:3eff:fedc:af67  prefixlen 64  scopeid 0x20<link>
            ether fa:16:3e:dc:af:67  txqueuelen 1000  (Ethernet)
            RX packets 2297  bytes 96522 (96.5 KB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 5  bytes 446 (446.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 12  bytes 1120 (1.1 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 1120 (1.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qg-df7a9cfe-3d: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.20.81.41 10.20.81.222  netmask 255.255.255.0  broadcast 10.20.81.255
        inet6 fe80::f816:3eff:fe64:3a54  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:64:3a:54  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qr-8ceea738-c9: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
        inet 10.0.0.1 10.10.0.1  netmask 255.255.255.0  broadcast 10.0.0.255
        inet6 fe80::f816:3eff:fe74:1c88  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:74:1c:88  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

the routing table is that:

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-919fcbc7-566b-4b9b-bdc2-27fa959330dd route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 qr-8ceea738-c9
10.20.81.0      0.0.0.0         255.255.255.0   U     0      0        0 qg-df7a9cfe-3d

running an Arp command obtain that:

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f arp -a
? (10.0.0.1) at fa:16:3e:63:4b:f7 [ether] on ns-cefc1973-b1
? (10.0.0.254) at <incomplete> on ns-cefc1973-b1
? (10.0.0.9) at <incomplete> on ns-cefc1973-b1

catalog list

$:openstack catalog list
Password: 
+-----------+--------------+-------------------------------------------------------------------------+
| Name      | Type         | Endpoints                                                               |
+-----------+--------------+-------------------------------------------------------------------------+
| neutron   | network      | RegionOne                                                               |
|           |              |   admin: http://10.20.81.17:9696                                        |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.17:9696                                       |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.17:9696                                     |
|           |              |                                                                         |
| placement | placement    | RegionOne                                                               |
|           |              |   public: http://10.20.81.6:8778                                        |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.6:8778                                      |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.6:8778                                         |
|           |              |                                                                         |
| cinderv3  | volumev3     | RegionOne                                                               |
|           |              |   admin: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c   |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c |
|           |              |                                                                         |
| swift     | object-store | RegionOne                                                               |
|           |              |   admin: http://10.20.81.19:80/swift                                    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.19:80/swift/v1                                |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.19:80/swift/v1                              |
|           |              |                                                                         |
| nova      | compute      | RegionOne                                                               |
|           |              |   internal: http://10.20.81.6:8774/v2.1                                 |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.6:8774/v2.1                                   |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.6:8774/v2.1                                    |
|           |              |                                                                         |
| keystone  | identity     | RegionOne                                                               |
|           |              |   public: http://10.20.81.5:5000/v3                                     |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.5:35357/v3                                     |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.5:5000/v3                                   |
|           |              |                                                                         |
| cinderv2  | volumev2     | RegionOne                                                               |
|           |              |   admin: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c   |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c |
|           |              |                                                                         |
| glance    | image        | RegionOne                                                               |
|           |              |   internal: http://10.20.81.8:9292                                      |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.8:9292                                         |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.8:9292                                        |
|           |              |                                                                         |
+-----------+--------------+-------------------------------------------------------------------------+

keypair

$:openstack keypair list
Password: 
+----------+-------------------------------------------------+
| Name     | Fingerprint                                     |
+----------+-------------------------------------------------+
| u1804Key | 29:6f:87:cf:b1:5e:de:45:2f:c1:e2:85:88:80:60:8b |
+----------+-------------------------------------------------+

tcpdump

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f tcpdump -i ns-cefc1973-b1
cpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ns-cefc1973-b1, link-type EN10MB (Ethernet), capture size 262144 bytes
16:20:52.380174 ARP, Request who-has 10.0.0.9 10.10.0.13 tell 10.0.0.1, 10.10.0.1, length 28
16:20:53.404207 ARP, Request who-has 10.0.0.9 10.10.0.13 tell 10.0.0.1, 10.10.0.1, length 28

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f tcpdump port 67 or port 68 -vv
listening on ns-4b279831-1a, link-type EN10MB (Ethernet), capture size 262144 bytes

update:

using the following commands I can ping the virtual interfaces on router u1804Ro of openstack

$: juju ssh neutron-gateway/0

then

ubuntu@os-compute01:~$ cat /var/lib/neutron/dhcp/008cdb55-51f4-49f6-87d2-a9c187485d26/host 
fa:16:3e:77:d6:96,host-10-0-0-10.openstacklocal,10.10.0.10
fa:16:3e:b4:9e:0c,host-10-0-0-1.openstacklocal,10.10.0.1
fa:16:3e:d3:49:76,host-10-0-0-9.openstacklocal,10.10.0.13

then

ubuntu@os-compute01:~$ ip netns list
qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 (id: 4)
qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f (id: 3)

if I try to ping the public interface and the internat interface set on the router of Openstack, that ones work

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-8129a212-8db7-42a7-8d91-a5c8cdca42e0 ping 10.20.81.222
PING 10.20.81.222 (10.20.81.222) 56(84) bytes of data.
64 bytes from 10.20.81.222: icmp_seq=1 ttl=64 time=0.085 ms
64 bytes from 10.20.81.222: icmp_seq=2 ttl=64 time=0.081 ms

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.10.0.1
PING 10.10.0.1 (10.10.0.1) 56(84) bytes of data.
64 bytes from 10.10.0.1: icmp_seq=1 ttl=64 time=0.075 ms
64 bytes from 10.10.0.1: icmp_seq=2 ttl=64 time=0.070 ms

while the ping to the instance no works

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.10.0.13
PING 10.10.0.13 (10.10.0.13) 56(84) bytes of data.
From 10.10.0.13 icmp_seq=1 Destination Host Unreachable
From 10.10.0.13 icmp_seq=2 Destination Host Unreachable

then:

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ns-cefc1973-b1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
            inet 10.10.0.10  netmask 255.255.255.0  broadcast 10.0.0.255
            inet6 fe80::f816:3eff:fedc:af67  prefixlen 64  scopeid 0x20<link>
            ether fa:16:3e:dc:af:67  txqueuelen 1000  (Ethernet)
            RX packets 2297  bytes 96522 (96.5 KB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 5  bytes 446 (446.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 12  bytes 1120 (1.1 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 1120 (1.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qg-df7a9cfe-3d: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.20.81.222  netmask 255.255.255.0  broadcast 10.20.81.255
        inet6 fe80::f816:3eff:fe64:3a54  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:64:3a:54  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qr-8ceea738-c9: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
        inet 10.10.0.1  netmask 255.255.255.0  broadcast 10.0.0.255
        inet6 fe80::f816:3eff:fe74:1c88  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:74:1c:88  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

the routing table is that:

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-919fcbc7-566b-4b9b-bdc2-27fa959330dd route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 qr-8ceea738-c9
10.20.81.0      0.0.0.0         255.255.255.0   U     0      0        0 qg-df7a9cfe-3d

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-919fcbc7-566b-4b9b-bdc2-27fa959330dd ip route
default via 10.20.81.254 dev  qg-df7a9cfe-3d
10.10.0.0/24 dev  qr-8ceea738-c9 proto kernel scope link src 10.10.0.1 
10.20.81.0/24 dev qg-df7a9cfe-3d proto kernel scope link src 10.20.81.222

catalog list

$:openstack catalog list
Password: 
+-----------+--------------+-------------------------------------------------------------------------+
| Name      | Type         | Endpoints                                                               |
+-----------+--------------+-------------------------------------------------------------------------+
| neutron   | network      | RegionOne                                                               |
|           |              |   admin: http://10.20.81.17:9696                                        |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.17:9696                                       |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.17:9696                                     |
|           |              |                                                                         |
| placement | placement    | RegionOne                                                               |
|           |              |   public: http://10.20.81.6:8778                                        |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.6:8778                                      |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.6:8778                                         |
|           |              |                                                                         |
| cinderv3  | volumev3     | RegionOne                                                               |
|           |              |   admin: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c   |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c |
|           |              |                                                                         |
| swift     | object-store | RegionOne                                                               |
|           |              |   admin: http://10.20.81.19:80/swift                                    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.19:80/swift/v1                                |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.19:80/swift/v1                              |
|           |              |                                                                         |
| nova      | compute      | RegionOne                                                               |
|           |              |   internal: http://10.20.81.6:8774/v2.1                                 |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.6:8774/v2.1                                   |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.6:8774/v2.1                                    |
|           |              |                                                                         |
| keystone  | identity     | RegionOne                                                               |
|           |              |   public: http://10.20.81.5:5000/v3                                     |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.5:35357/v3                                     |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.5:5000/v3                                   |
|           |              |                                                                         |
| cinderv2  | volumev2     | RegionOne                                                               |
|           |              |   admin: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c   |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c |
|           |              |                                                                         |
| glance    | image        | RegionOne                                                               |
|           |              |   internal: http://10.20.81.8:9292                                      |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.8:9292                                         |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.8:9292                                        |
|           |              |                                                                         |
+-----------+--------------+-------------------------------------------------------------------------+

keypair

$:openstack keypair list
Password: 
+----------+-------------------------------------------------+
| Name     | Fingerprint                                     |
+----------+-------------------------------------------------+
| u1804Key | 29:6f:87:cf:b1:5e:de:45:2f:c1:e2:85:88:80:60:8b |
+----------+-------------------------------------------------+

tcpdump

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f tcpdump -i ns-cefc1973-b1
cpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ns-cefc1973-b1, link-type EN10MB (Ethernet), capture size 262144 bytes
16:20:52.380174 ARP, Request who-has 10.10.0.13 tell 10.10.0.1, length 28
16:20:53.404207 ARP, Request who-has 10.10.0.13 tell 10.10.0.1, length 28

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f tcpdump port 67 or port 68 -vv
listening on ns-4b279831-1a, link-type EN10MB (Ethernet), capture size 262144 bytes

update:

using the following commands I can ping the virtual interfaces on router u1804Ro of openstack

$: juju ssh neutron-gateway/0

then

ubuntu@os-compute01:~$ cat /var/lib/neutron/dhcp/008cdb55-51f4-49f6-87d2-a9c187485d26/host 
fa:16:3e:77:d6:96,host-10-0-0-10.openstacklocal,10.10.0.10
fa:16:3e:b4:9e:0c,host-10-0-0-1.openstacklocal,10.10.0.1
fa:16:3e:d3:49:76,host-10-0-0-9.openstacklocal,10.10.0.13

then

ubuntu@os-compute01:~$ ip netns list
qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 (id: 4)
qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f (id: 3)

if I try to ping the public interface and the internat interface set on the router of Openstack, that ones work

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-8129a212-8db7-42a7-8d91-a5c8cdca42e0 ping 10.20.81.222
PING 10.20.81.222 (10.20.81.222) 56(84) bytes of data.
64 bytes from 10.20.81.222: icmp_seq=1 ttl=64 time=0.085 ms
64 bytes from 10.20.81.222: icmp_seq=2 ttl=64 time=0.081 ms

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.10.0.1
PING 10.10.0.1 (10.10.0.1) 56(84) bytes of data.
64 bytes from 10.10.0.1: icmp_seq=1 ttl=64 time=0.075 ms
64 bytes from 10.10.0.1: icmp_seq=2 ttl=64 time=0.070 ms

while the ping to the instance no works

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.10.0.13
PING 10.10.0.13 (10.10.0.13) 56(84) bytes of data.
From 10.10.0.13 icmp_seq=1 Destination Host Unreachable
From 10.10.0.13 icmp_seq=2 Destination Host Unreachable

then:

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ns-cefc1973-b1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
            inet 10.10.0.10  netmask 255.255.255.0  broadcast 10.0.0.255
            inet6 fe80::f816:3eff:fedc:af67  prefixlen 64  scopeid 0x20<link>
            ether fa:16:3e:dc:af:67  txqueuelen 1000  (Ethernet)
            RX packets 2297  bytes 96522 (96.5 KB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 5  bytes 446 (446.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 12  bytes 1120 (1.1 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 1120 (1.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qg-df7a9cfe-3d: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.20.81.222  netmask 255.255.255.0  broadcast 10.20.81.255
        inet6 fe80::f816:3eff:fe64:3a54  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:64:3a:54  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qr-8ceea738-c9: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
        inet 10.10.0.1  netmask 255.255.255.0  broadcast 10.0.0.255
        inet6 fe80::f816:3eff:fe74:1c88  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:74:1c:88  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

the routing table is that:

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-919fcbc7-566b-4b9b-bdc2-27fa959330dd route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 qr-8ceea738-c9
10.20.81.0      0.0.0.0         255.255.255.0   U     0      0        0 qg-df7a9cfe-3d

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-919fcbc7-566b-4b9b-bdc2-27fa959330dd ip route
default via 10.20.81.254 dev  qg-df7a9cfe-3d
10.10.0.0/24 dev  qr-8ceea738-c9 proto kernel scope link src 10.10.0.1 
10.20.81.0/24 dev qg-df7a9cfe-3d proto kernel scope link src 10.20.81.222

catalog list

$:openstack catalog list
Password: 
+-----------+--------------+-------------------------------------------------------------------------+
| Name      | Type         | Endpoints                                                               |
+-----------+--------------+-------------------------------------------------------------------------+
| neutron   | network      | RegionOne                                                               |
|           |              |   admin: http://10.20.81.17:9696                                        |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.17:9696                                       |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.17:9696                                     |
|           |              |                                                                         |
| placement | placement    | RegionOne                                                               |
|           |              |   public: http://10.20.81.6:8778                                        |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.6:8778                                      |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.6:8778                                         |
|           |              |                                                                         |
| cinderv3  | volumev3     | RegionOne                                                               |
|           |              |   admin: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c   |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c |
|           |              |                                                                         |
| swift     | object-store | RegionOne                                                               |
|           |              |   admin: http://10.20.81.19:80/swift                                    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.19:80/swift/v1                                |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.19:80/swift/v1                              |
|           |              |                                                                         |
| nova      | compute      | RegionOne                                                               |
|           |              |   internal: http://10.20.81.6:8774/v2.1                                 |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.6:8774/v2.1                                   |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.6:8774/v2.1                                    |
|           |              |                                                                         |
| keystone  | identity     | RegionOne                                                               |
|           |              |   public: http://10.20.81.5:5000/v3                                     |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.5:35357/v3                                     |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.5:5000/v3                                   |
|           |              |                                                                         |
| cinderv2  | volumev2     | RegionOne                                                               |
|           |              |   admin: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c   |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c |
|           |              |                                                                         |
| glance    | image        | RegionOne                                                               |
|           |              |   internal: http://10.20.81.8:9292                                      |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.8:9292                                         |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.8:9292                                        |
|           |              |                                                                         |
+-----------+--------------+-------------------------------------------------------------------------+

keypair

$:openstack keypair list
Password: 
+----------+-------------------------------------------------+
| Name     | Fingerprint                                     |
+----------+-------------------------------------------------+
| u1804Key | 29:6f:87:cf:b1:5e:de:45:2f:c1:e2:85:88:80:60:8b |
+----------+-------------------------------------------------+

tcpdump

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f tcpdump -i ns-cefc1973-b1
cpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ns-cefc1973-b1, link-type EN10MB (Ethernet), capture size 262144 bytes
16:20:52.380174 ARP, Request who-has 10.10.0.13 tell 10.10.0.1, length 28
16:20:53.404207 ARP, Request who-has 10.10.0.13 tell 10.10.0.1, length 28

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f tcpdump port 67 or port 68 -vv
listening on ns-4b279831-1a, link-type EN10MB (Ethernet), capture size 262144 bytes

update:

using the following commands I can ping the virtual interfaces on router u1804Ro of openstack

$: juju ssh neutron-gateway/0

then

ubuntu@os-compute01:~$ cat /var/lib/neutron/dhcp/008cdb55-51f4-49f6-87d2-a9c187485d26/host 
fa:16:3e:77:d6:96,host-10-0-0-10.openstacklocal,10.10.0.10
fa:16:3e:b4:9e:0c,host-10-0-0-1.openstacklocal,10.10.0.1
fa:16:3e:d3:49:76,host-10-0-0-9.openstacklocal,10.10.0.13

then

ubuntu@os-compute01:~$ ip netns list
qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 (id: 4)
qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f (id: 3)

if I try to ping the public interface and the internat interface set on the router of Openstack, that ones work

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-8129a212-8db7-42a7-8d91-a5c8cdca42e0 ping 10.20.81.222
PING 10.20.81.222 (10.20.81.222) 56(84) bytes of data.
64 bytes from 10.20.81.222: icmp_seq=1 ttl=64 time=0.085 ms
64 bytes from 10.20.81.222: icmp_seq=2 ttl=64 time=0.081 ms

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.10.0.1
PING 10.10.0.1 (10.10.0.1) 56(84) bytes of data.
64 bytes from 10.10.0.1: icmp_seq=1 ttl=64 time=0.075 ms
64 bytes from 10.10.0.1: icmp_seq=2 ttl=64 time=0.070 ms

while the ping to the instance and google.com no works

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.10.0.13
PING 10.10.0.13 (10.10.0.13) 56(84) bytes of data.
From 10.10.0.13 icmp_seq=1 Destination Host Unreachable
From 10.10.0.13 icmp_seq=2 Destination Host Unreachable

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 10.20.81.222 icmp_seq=1 Destination Host Unreachable
From 10.20.81.222 icmp_seq=2 Destination Host Unreachable

then:

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ns-cefc1973-b1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
            inet 10.10.0.10  netmask 255.255.255.0  broadcast 10.0.0.255
            inet6 fe80::f816:3eff:fedc:af67  prefixlen 64  scopeid 0x20<link>
            ether fa:16:3e:dc:af:67  txqueuelen 1000  (Ethernet)
            RX packets 2297  bytes 96522 (96.5 KB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 5  bytes 446 (446.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 12  bytes 1120 (1.1 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 1120 (1.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qg-df7a9cfe-3d: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.20.81.222  netmask 255.255.255.0  broadcast 10.20.81.255
        inet6 fe80::f816:3eff:fe64:3a54  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:64:3a:54  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qr-8ceea738-c9: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
        inet 10.10.0.1  netmask 255.255.255.0  broadcast 10.0.0.255
        inet6 fe80::f816:3eff:fe74:1c88  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:74:1c:88  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

the routing table is that:

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-919fcbc7-566b-4b9b-bdc2-27fa959330dd route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 qr-8ceea738-c9
10.20.81.0      0.0.0.0         255.255.255.0   U     0      0        0 qg-df7a9cfe-3d

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-919fcbc7-566b-4b9b-bdc2-27fa959330dd ip route
default via 10.20.81.254 dev  qg-df7a9cfe-3d
10.10.0.0/24 dev  qr-8ceea738-c9 proto kernel scope link src 10.10.0.1 
10.20.81.0/24 dev qg-df7a9cfe-3d proto kernel scope link src 10.20.81.222

catalog list

$:openstack catalog list
Password: 
+-----------+--------------+-------------------------------------------------------------------------+
| Name      | Type         | Endpoints                                                               |
+-----------+--------------+-------------------------------------------------------------------------+
| neutron   | network      | RegionOne                                                               |
|           |              |   admin: http://10.20.81.17:9696                                        |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.17:9696                                       |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.17:9696                                     |
|           |              |                                                                         |
| placement | placement    | RegionOne                                                               |
|           |              |   public: http://10.20.81.6:8778                                        |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.6:8778                                      |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.6:8778                                         |
|           |              |                                                                         |
| cinderv3  | volumev3     | RegionOne                                                               |
|           |              |   admin: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c   |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c |
|           |              |                                                                         |
| swift     | object-store | RegionOne                                                               |
|           |              |   admin: http://10.20.81.19:80/swift                                    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.19:80/swift/v1                                |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.19:80/swift/v1                              |
|           |              |                                                                         |
| nova      | compute      | RegionOne                                                               |
|           |              |   internal: http://10.20.81.6:8774/v2.1                                 |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.6:8774/v2.1                                   |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.6:8774/v2.1                                    |
|           |              |                                                                         |
| keystone  | identity     | RegionOne                                                               |
|           |              |   public: http://10.20.81.5:5000/v3                                     |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.5:35357/v3                                     |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.5:5000/v3                                   |
|           |              |                                                                         |
| cinderv2  | volumev2     | RegionOne                                                               |
|           |              |   admin: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c   |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c |
|           |              |                                                                         |
| glance    | image        | RegionOne                                                               |
|           |              |   internal: http://10.20.81.8:9292                                      |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.8:9292                                         |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.8:9292                                        |
|           |              |                                                                         |
+-----------+--------------+-------------------------------------------------------------------------+

keypair

$:openstack keypair list
Password: 
+----------+-------------------------------------------------+
| Name     | Fingerprint                                     |
+----------+-------------------------------------------------+
| u1804Key | 29:6f:87:cf:b1:5e:de:45:2f:c1:e2:85:88:80:60:8b |
+----------+-------------------------------------------------+

tcpdump

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f tcpdump -i ns-cefc1973-b1
cpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ns-cefc1973-b1, link-type EN10MB (Ethernet), capture size 262144 bytes
16:20:52.380174 ARP, Request who-has 10.10.0.13 tell 10.10.0.1, length 28
16:20:53.404207 ARP, Request who-has 10.10.0.13 tell 10.10.0.1, length 28

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f tcpdump port 67 or port 68 -vv
listening on ns-4b279831-1a, link-type EN10MB (Ethernet), capture size 262144 bytes

update:

using the following commands I can ping the virtual interfaces on router u1804Ro of openstack

$: juju ssh neutron-gateway/0

then

ubuntu@os-compute01:~$ cat /var/lib/neutron/dhcp/008cdb55-51f4-49f6-87d2-a9c187485d26/host 
fa:16:3e:77:d6:96,host-10-0-0-10.openstacklocal,10.10.0.10
fa:16:3e:b4:9e:0c,host-10-0-0-1.openstacklocal,10.10.0.1
fa:16:3e:d3:49:76,host-10-0-0-9.openstacklocal,10.10.0.13

then

ubuntu@os-compute01:~$ ip netns list
qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 (id: 4)
qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f (id: 3)

if I try to ping the public interface and the internat interface set on the router of Openstack, that ones work

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-8129a212-8db7-42a7-8d91-a5c8cdca42e0 ping 10.20.81.222
PING 10.20.81.222 (10.20.81.222) 56(84) bytes of data.
64 bytes from 10.20.81.222: icmp_seq=1 ttl=64 time=0.085 ms
64 bytes from 10.20.81.222: icmp_seq=2 ttl=64 time=0.081 ms

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.10.0.1
PING 10.10.0.1 (10.10.0.1) 56(84) bytes of data.
64 bytes from 10.10.0.1: icmp_seq=1 ttl=64 time=0.075 ms
64 bytes from 10.10.0.1: icmp_seq=2 ttl=64 time=0.070 ms

while the ping to the instance and google.com no works

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.10.0.13
PING 10.10.0.13 (10.10.0.13) 56(84) bytes of data.
From 10.10.0.13 icmp_seq=1 Destination Host Unreachable
From 10.10.0.13 icmp_seq=2 Destination Host Unreachable

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 10.20.81.222 icmp_seq=1 Destination Host Unreachable
From 10.20.81.222 icmp_seq=2 Destination Host Unreachable

then:

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ns-cefc1973-b1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
            inet 10.10.0.10  netmask 255.255.255.0  broadcast 10.0.0.255
            inet6 fe80::f816:3eff:fedc:af67  prefixlen 64  scopeid 0x20<link>
            ether fa:16:3e:dc:af:67  txqueuelen 1000  (Ethernet)
            RX packets 2297  bytes 96522 (96.5 KB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 5  bytes 446 (446.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 12  bytes 1120 (1.1 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 1120 (1.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qg-df7a9cfe-3d: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.20.81.222  netmask 255.255.255.0  broadcast 10.20.81.255
        inet6 fe80::f816:3eff:fe64:3a54  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:64:3a:54  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qr-8ceea738-c9: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
        inet 10.10.0.1  netmask 255.255.255.0  broadcast 10.0.0.255
        inet6 fe80::f816:3eff:fe74:1c88  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:74:1c:88  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

the routing table is that:

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-919fcbc7-566b-4b9b-bdc2-27fa959330dd route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 qr-8ceea738-c9
10.20.81.0      0.0.0.0         255.255.255.0   U     0      0        0 qg-df7a9cfe-3d

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-919fcbc7-566b-4b9b-bdc2-27fa959330dd ip route
default via 10.20.81.254 dev  qg-df7a9cfe-3d
10.10.0.0/24 dev  qr-8ceea738-c9 proto kernel scope link src 10.10.0.1 
10.20.81.0/24 dev qg-df7a9cfe-3d proto kernel scope link src 10.20.81.222

catalog list

$:openstack catalog list
Password: 
+-----------+--------------+-------------------------------------------------------------------------+
| Name      | Type         | Endpoints                                                               |
+-----------+--------------+-------------------------------------------------------------------------+
| neutron   | network      | RegionOne                                                               |
|           |              |   admin: http://10.20.81.17:9696                                        |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.17:9696                                       |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.17:9696                                     |
|           |              |                                                                         |
| placement | placement    | RegionOne                                                               |
|           |              |   public: http://10.20.81.6:8778                                        |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.6:8778                                      |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.6:8778                                         |
|           |              |                                                                         |
| cinderv3  | volumev3     | RegionOne                                                               |
|           |              |   admin: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c   |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c |
|           |              |                                                                         |
| swift     | object-store | RegionOne                                                               |
|           |              |   admin: http://10.20.81.19:80/swift                                    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.19:80/swift/v1                                |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.19:80/swift/v1                              |
|           |              |                                                                         |
| nova      | compute      | RegionOne                                                               |
|           |              |   internal: http://10.20.81.6:8774/v2.1                                 |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.6:8774/v2.1                                   |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.6:8774/v2.1                                    |
|           |              |                                                                         |
| keystone  | identity     | RegionOne                                                               |
|           |              |   public: http://10.20.81.5:5000/v3                                     |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.5:35357/v3                                     |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.5:5000/v3                                   |
|           |              |                                                                         |
| cinderv2  | volumev2     | RegionOne                                                               |
|           |              |   admin: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c   |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c |
|           |              |                                                                         |
| glance    | image        | RegionOne                                                               |
|           |              |   internal: http://10.20.81.8:9292                                      |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.8:9292                                         |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.8:9292                                        |
|           |              |                                                                         |
+-----------+--------------+-------------------------------------------------------------------------+

keypair

$:openstack keypair list
Password: 
+----------+-------------------------------------------------+
| Name     | Fingerprint                                     |
+----------+-------------------------------------------------+
| u1804Key | 29:6f:87:cf:b1:5e:de:45:2f:c1:e2:85:88:80:60:8b |
+----------+-------------------------------------------------+

tcpdump

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f tcpdump -i ns-cefc1973-b1
cpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ns-cefc1973-b1, link-type EN10MB (Ethernet), capture size 262144 bytes
16:20:52.380174 ARP, Request who-has 10.10.0.13 tell 10.10.0.1, length 28
16:20:53.404207 ARP, Request who-has 10.10.0.13 tell 10.10.0.1, length 28

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f tcpdump port 67 or port 68 -vv
listening on ns-4b279831-1a, link-type EN10MB (Ethernet), capture size 262144 bytes

update:

using the following commands I can ping the virtual interfaces on router u1804Ro of openstack

$: juju ssh neutron-gateway/0

then

ubuntu@os-compute01:~$ cat /var/lib/neutron/dhcp/008cdb55-51f4-49f6-87d2-a9c187485d26/host 
fa:16:3e:77:d6:96,host-10-0-0-10.openstacklocal,10.10.0.10
fa:16:3e:b4:9e:0c,host-10-0-0-1.openstacklocal,10.10.0.1
fa:16:3e:d3:49:76,host-10-0-0-9.openstacklocal,10.10.0.13

then

ubuntu@os-compute01:~$ ip netns list
qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 (id: 4)
qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f (id: 3)

if I try to ping the public interface and the internat interface set on the router of Openstack, that ones work

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-8129a212-8db7-42a7-8d91-a5c8cdca42e0 ping 10.20.81.222
PING 10.20.81.222 (10.20.81.222) 56(84) bytes of data.
64 bytes from 10.20.81.222: icmp_seq=1 ttl=64 time=0.085 ms
64 bytes from 10.20.81.222: icmp_seq=2 ttl=64 time=0.081 ms

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.10.0.1
PING 10.10.0.1 (10.10.0.1) 56(84) bytes of data.
64 bytes from 10.10.0.1: icmp_seq=1 ttl=64 time=0.075 ms
64 bytes from 10.10.0.1: icmp_seq=2 ttl=64 time=0.070 ms

while the ping to the instance and google.com no works

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.10.0.13
PING 10.10.0.13 (10.10.0.13) 56(84) bytes of data.
From 10.10.0.13 icmp_seq=1 Destination Host Unreachable
From 10.10.0.13 icmp_seq=2 Destination Host Unreachable

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 10.20.81.222 icmp_seq=1 Destination Host Unreachable
From 10.20.81.222 icmp_seq=2 Destination Host Unreachable

then:

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ns-cefc1973-b1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
            inet 10.10.0.10  netmask 255.255.255.0  broadcast 10.0.0.255
            inet6 fe80::f816:3eff:fedc:af67  prefixlen 64  scopeid 0x20<link>
            ether fa:16:3e:dc:af:67  txqueuelen 1000  (Ethernet)
            RX packets 2297  bytes 96522 (96.5 KB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 5  bytes 446 (446.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 12  bytes 1120 (1.1 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 1120 (1.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qg-df7a9cfe-3d: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.20.81.222  netmask 255.255.255.0  broadcast 10.20.81.255
        inet6 fe80::f816:3eff:fe64:3a54  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:64:3a:54  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qr-8ceea738-c9: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
        inet 10.10.0.1  netmask 255.255.255.0  broadcast 10.0.0.255
        inet6 fe80::f816:3eff:fe74:1c88  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:74:1c:88  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

the routing table is that:

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-919fcbc7-566b-4b9b-bdc2-27fa959330dd route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 qr-8ceea738-c9
10.20.81.0      0.0.0.0         255.255.255.0   U     0      0        0 qg-df7a9cfe-3d

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-919fcbc7-566b-4b9b-bdc2-27fa959330dd ip route
default via 10.20.81.254 dev  qg-df7a9cfe-3d
10.10.0.0/24 dev  qr-8ceea738-c9 proto kernel scope link src 10.10.0.1 
10.20.81.0/24 dev qg-df7a9cfe-3d proto kernel scope link src 10.20.81.222

catalog list

$:openstack catalog list
Password: 
+-----------+--------------+-------------------------------------------------------------------------+
| Name      | Type         | Endpoints                                                               |
+-----------+--------------+-------------------------------------------------------------------------+
| neutron   | network      | RegionOne                                                               |
|           |              |   admin: http://10.20.81.17:9696                                        |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.17:9696                                       |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.17:9696                                     |
|           |              |                                                                         |
| placement | placement    | RegionOne                                                               |
|           |              |   public: http://10.20.81.6:8778                                        |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.6:8778                                      |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.6:8778                                         |
|           |              |                                                                         |
| cinderv3  | volumev3     | RegionOne                                                               |
|           |              |   admin: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c   |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c |
|           |              |                                                                         |
| swift     | object-store | RegionOne                                                               |
|           |              |   admin: http://10.20.81.19:80/swift                                    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.19:80/swift/v1                                |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.19:80/swift/v1                              |
|           |              |                                                                         |
| nova      | compute      | RegionOne                                                               |
|           |              |   internal: http://10.20.81.6:8774/v2.1                                 |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.6:8774/v2.1                                   |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.6:8774/v2.1                                    |
|           |              |                                                                         |
| keystone  | identity     | RegionOne                                                               |
|           |              |   public: http://10.20.81.5:5000/v3                                     |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.5:35357/v3                                     |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.5:5000/v3                                   |
|           |              |                                                                         |
| cinderv2  | volumev2     | RegionOne                                                               |
|           |              |   admin: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c   |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c |
|           |              |                                                                         |
| glance    | image        | RegionOne                                                               |
|           |              |   internal: http://10.20.81.8:9292                                      |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.8:9292                                         |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.8:9292                                        |
|           |              |                                                                         |
+-----------+--------------+-------------------------------------------------------------------------+

keypairAny suggestions please. I am still unable to solve the problem. I've also try to use conjure-up but nothing. Thanks.

$:openstack keypair list
Password: 
+----------+-------------------------------------------------+
| Name     | Fingerprint                                     |
+----------+-------------------------------------------------+
| u1804Key | 29:6f:87:cf:b1:5e:de:45:2f:c1:e2:85:88:80:60:8b |
+----------+-------------------------------------------------+

tcpdump

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f tcpdump -i ns-cefc1973-b1
cpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ns-cefc1973-b1, link-type EN10MB (Ethernet), capture size 262144 bytes
16:20:52.380174 ARP, Request who-has 10.10.0.13 tell 10.10.0.1, length 28
16:20:53.404207 ARP, Request who-has 10.10.0.13 tell 10.10.0.1, length 28

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f tcpdump port 67 or port 68 -vv
listening on ns-4b279831-1a, link-type EN10MB (Ethernet), capture size 262144 bytes

update:

using the following commands I can ping the virtual interfaces on router u1804Ro of openstack

$: juju ssh neutron-gateway/0

then

ubuntu@os-compute01:~$ cat /var/lib/neutron/dhcp/008cdb55-51f4-49f6-87d2-a9c187485d26/host 
fa:16:3e:77:d6:96,host-10-0-0-10.openstacklocal,10.10.0.10
fa:16:3e:b4:9e:0c,host-10-0-0-1.openstacklocal,10.10.0.1
fa:16:3e:d3:49:76,host-10-0-0-9.openstacklocal,10.10.0.13

then

ubuntu@os-compute01:~$ ip netns list
qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 (id: 4)
qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f (id: 3)

if I try to ping the public interface and the internat interface set on the router of Openstack, that ones work

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-8129a212-8db7-42a7-8d91-a5c8cdca42e0 ping 10.20.81.222
PING 10.20.81.222 (10.20.81.222) 56(84) bytes of data.
64 bytes from 10.20.81.222: icmp_seq=1 ttl=64 time=0.085 ms
64 bytes from 10.20.81.222: icmp_seq=2 ttl=64 time=0.081 ms

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.10.0.1
PING 10.10.0.1 (10.10.0.1) 56(84) bytes of data.
64 bytes from 10.10.0.1: icmp_seq=1 ttl=64 time=0.075 ms
64 bytes from 10.10.0.1: icmp_seq=2 ttl=64 time=0.070 ms

while the ping to the instance and google.com no works

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.10.0.13
PING 10.10.0.13 (10.10.0.13) 56(84) bytes of data.
From 10.10.0.13 icmp_seq=1 Destination Host Unreachable
From 10.10.0.13 icmp_seq=2 Destination Host Unreachable

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 10.20.81.222 icmp_seq=1 Destination Host Unreachable
From 10.20.81.222 icmp_seq=2 Destination Host Unreachable

then:

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ns-cefc1973-b1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
            inet 10.10.0.10  netmask 255.255.255.0  broadcast 10.0.0.255
            inet6 fe80::f816:3eff:fedc:af67  prefixlen 64  scopeid 0x20<link>
            ether fa:16:3e:dc:af:67  txqueuelen 1000  (Ethernet)
            RX packets 2297  bytes 96522 (96.5 KB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 5  bytes 446 (446.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 12  bytes 1120 (1.1 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 1120 (1.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qg-df7a9cfe-3d: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.20.81.222  netmask 255.255.255.0  broadcast 10.20.81.255
        inet6 fe80::f816:3eff:fe64:3a54  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:64:3a:54  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qr-8ceea738-c9: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
        inet 10.10.0.1  netmask 255.255.255.0  broadcast 10.0.0.255
        inet6 fe80::f816:3eff:fe74:1c88  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:74:1c:88  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

the routing table is that:

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-919fcbc7-566b-4b9b-bdc2-27fa959330dd route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 qr-8ceea738-c9
10.20.81.0      0.0.0.0         255.255.255.0   U     0      0        0 qg-df7a9cfe-3d

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-919fcbc7-566b-4b9b-bdc2-27fa959330dd ip route
default via 10.20.81.254 dev  qg-df7a9cfe-3d
10.10.0.0/24 dev  qr-8ceea738-c9 proto kernel scope link src 10.10.0.1 
10.20.81.0/24 dev qg-df7a9cfe-3d proto kernel scope link src 10.20.81.222

catalog list

$:openstack catalog list
Password: 
+-----------+--------------+-------------------------------------------------------------------------+
| Name      | Type         | Endpoints                                                               |
+-----------+--------------+-------------------------------------------------------------------------+
| neutron   | network      | RegionOne                                                               |
|           |              |   admin: http://10.20.81.17:9696                                        |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.17:9696                                       |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.17:9696                                     |
|           |              |                                                                         |
| placement | placement    | RegionOne                                                               |
|           |              |   public: http://10.20.81.6:8778                                        |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.6:8778                                      |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.6:8778                                         |
|           |              |                                                                         |
| cinderv3  | volumev3     | RegionOne                                                               |
|           |              |   admin: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c   |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.16:8776/v3/1f4809b5083549c1a35c4c023487752c |
|           |              |                                                                         |
| swift     | object-store | RegionOne                                                               |
|           |              |   admin: http://10.20.81.19:80/swift                                    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.19:80/swift/v1                                |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.19:80/swift/v1                              |
|           |              |                                                                         |
| nova      | compute      | RegionOne                                                               |
|           |              |   internal: http://10.20.81.6:8774/v2.1                                 |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.6:8774/v2.1                                   |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.6:8774/v2.1                                    |
|           |              |                                                                         |
| keystone  | identity     | RegionOne                                                               |
|           |              |   public: http://10.20.81.5:5000/v3                                     |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.5:35357/v3                                     |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.5:5000/v3                                   |
|           |              |                                                                         |
| cinderv2  | volumev2     | RegionOne                                                               |
|           |              |   admin: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c    |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c   |
|           |              | RegionOne                                                               |
|           |              |   internal: http://10.20.81.16:8776/v2/1f4809b5083549c1a35c4c023487752c |
|           |              |                                                                         |
| glance    | image        | RegionOne                                                               |
|           |              |   internal: http://10.20.81.8:9292                                      |
|           |              | RegionOne                                                               |
|           |              |   admin: http://10.20.81.8:9292                                         |
|           |              | RegionOne                                                               |
|           |              |   public: http://10.20.81.8:9292                                        |
|           |              |                                                                         |
+-----------+--------------+-------------------------------------------------------------------------+

Any suggestions please. I am still unable to solve the problem. I've also try to use conjure-up but nothing. Thanks.

update:

is it possible that error on eno2 is done of that?:

interface node Power Type IPMI

both of them have the same network...

using the following commands I can ping the virtual interfaces on router u1804Ro of openstack

$: juju ssh neutron-gateway/0

then

ubuntu@os-compute01:~$ cat /var/lib/neutron/dhcp/008cdb55-51f4-49f6-87d2-a9c187485d26/host 
fa:16:3e:77:d6:96,host-10-0-0-10.openstacklocal,10.10.0.10
fa:16:3e:b4:9e:0c,host-10-0-0-1.openstacklocal,10.10.0.1
fa:16:3e:d3:49:76,host-10-0-0-9.openstacklocal,10.10.0.13

then

ubuntu@os-compute01:~$ ip netns list
qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 (id: 4)
qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f (id: 3)

if I try to ping the public interface and the internat interface set on the router of Openstack, that ones work

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-8129a212-8db7-42a7-8d91-a5c8cdca42e0 ping 10.20.81.222
PING 10.20.81.222 (10.20.81.222) 56(84) bytes of data.
64 bytes from 10.20.81.222: icmp_seq=1 ttl=64 time=0.085 ms
64 bytes from 10.20.81.222: icmp_seq=2 ttl=64 time=0.081 ms

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.10.0.1
PING 10.10.0.1 (10.10.0.1) 56(84) bytes of data.
64 bytes from 10.10.0.1: icmp_seq=1 ttl=64 time=0.075 ms
64 bytes from 10.10.0.1: icmp_seq=2 ttl=64 time=0.070 ms

while the ping to the instance and google.com no works

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.10.0.13
PING 10.10.0.13 (10.10.0.13) 56(84) bytes of data.
From 10.10.0.13 icmp_seq=1 Destination Host Unreachable
From 10.10.0.13 icmp_seq=2 Destination Host Unreachable

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 10.20.81.222 icmp_seq=1 Destination Host Unreachable
From 10.20.81.222 icmp_seq=2 Destination Host Unreachable

then:

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ns-cefc1973-b1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
            inet 10.10.0.10  netmask 255.255.255.0  broadcast 10.0.0.255
            inet6 fe80::f816:3eff:fedc:af67  prefixlen 64  scopeid 0x20<link>
            ether fa:16:3e:dc:af:67  txqueuelen 1000  (Ethernet)
            RX packets 2297  bytes 96522 (96.5 KB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 5  bytes 446 (446.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 12  bytes 1120 (1.1 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 1120 (1.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qg-df7a9cfe-3d: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.20.81.222  netmask 255.255.255.0  broadcast 10.20.81.255
        inet6 fe80::f816:3eff:fe64:3a54  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:64:3a:54  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qr-8ceea738-c9: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
        inet 10.10.0.1  netmask 255.255.255.0  broadcast 10.0.0.255
        inet6 fe80::f816:3eff:fe74:1c88  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:74:1c:88  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

the routing table is that:

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-919fcbc7-566b-4b9b-bdc2-27fa959330dd route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 qr-8ceea738-c9
10.20.81.0      0.0.0.0         255.255.255.0   U     0      0        0 qg-df7a9cfe-3d

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-919fcbc7-566b-4b9b-bdc2-27fa959330dd ip route
default via 10.20.81.254 dev  qg-df7a9cfe-3d
10.10.0.0/24 dev  qr-8ceea738-c9 proto kernel scope link src 10.10.0.1 
10.20.81.0/24 dev qg-df7a9cfe-3d proto kernel scope link src 10.20.81.222

Any suggestions please. I am still unable to solve the problem. I've also try to use conjure-up but nothing. Thanks.

update:

is it possible that error on eno2 is done of that?:

interface node Power Type IPMI

both of them have the same network...

using Using the following commands I can ping the virtual interfaces on router u1804Ro of openstack

$: juju ssh neutron-gateway/0

then

ubuntu@os-compute01:~$ cat /var/lib/neutron/dhcp/008cdb55-51f4-49f6-87d2-a9c187485d26/host 
fa:16:3e:77:d6:96,host-10-0-0-10.openstacklocal,10.10.0.10
fa:16:3e:b4:9e:0c,host-10-0-0-1.openstacklocal,10.10.0.1
fa:16:3e:d3:49:76,host-10-0-0-9.openstacklocal,10.10.0.13

then

ubuntu@os-compute01:~$ ip netns list
qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 (id: 4)
qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f (id: 3)

if I try to ping the public interface and the internat interface set on the router of Openstack, that ones work

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-8129a212-8db7-42a7-8d91-a5c8cdca42e0 ping 10.20.81.222
PING 10.20.81.222 (10.20.81.222) 56(84) bytes of data.
64 bytes from 10.20.81.222: icmp_seq=1 ttl=64 time=0.085 ms
64 bytes from 10.20.81.222: icmp_seq=2 ttl=64 time=0.081 ms

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.10.0.1
PING 10.10.0.1 (10.10.0.1) 56(84) bytes of data.
64 bytes from 10.10.0.1: icmp_seq=1 ttl=64 time=0.075 ms
64 bytes from 10.10.0.1: icmp_seq=2 ttl=64 time=0.070 ms

while the ping to the instance and google.com no works

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.10.0.13
PING 10.10.0.13 (10.10.0.13) 56(84) bytes of data.
From 10.10.0.13 icmp_seq=1 Destination Host Unreachable
From 10.10.0.13 icmp_seq=2 Destination Host Unreachable

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 10.20.81.222 icmp_seq=1 Destination Host Unreachable
From 10.20.81.222 icmp_seq=2 Destination Host Unreachable

then:

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ns-cefc1973-b1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
            inet 10.10.0.10  netmask 255.255.255.0  broadcast 10.0.0.255
            inet6 fe80::f816:3eff:fedc:af67  prefixlen 64  scopeid 0x20<link>
            ether fa:16:3e:dc:af:67  txqueuelen 1000  (Ethernet)
            RX packets 2297  bytes 96522 (96.5 KB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 5  bytes 446 (446.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 12  bytes 1120 (1.1 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 1120 (1.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qg-df7a9cfe-3d: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.20.81.222  netmask 255.255.255.0  broadcast 10.20.81.255
        inet6 fe80::f816:3eff:fe64:3a54  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:64:3a:54  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qr-8ceea738-c9: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
        inet 10.10.0.1  netmask 255.255.255.0  broadcast 10.0.0.255
        inet6 fe80::f816:3eff:fe74:1c88  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:74:1c:88  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

the routing table is that:

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-919fcbc7-566b-4b9b-bdc2-27fa959330dd route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 qr-8ceea738-c9
10.20.81.0      0.0.0.0         255.255.255.0   U     0      0        0 qg-df7a9cfe-3d

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-919fcbc7-566b-4b9b-bdc2-27fa959330dd ip route
default via 10.20.81.254 dev  qg-df7a9cfe-3d
10.10.0.0/24 dev  qr-8ceea738-c9 proto kernel scope link src 10.10.0.1 
10.20.81.0/24 dev qg-df7a9cfe-3d proto kernel scope link src 10.20.81.222

Any suggestions please. I am still unable to solve the problem. I've also try to use conjure-up but nothing. Thanks.

Update 22/03/19:

Using the following commands I can ping the virtual interfaces on router u1804Ro of openstack

$: juju ssh neutron-gateway/0

then

ubuntu@os-compute01:~$ cat /var/lib/neutron/dhcp/008cdb55-51f4-49f6-87d2-a9c187485d26/host 
fa:16:3e:77:d6:96,host-10-0-0-10.openstacklocal,10.10.0.10
fa:16:3e:b4:9e:0c,host-10-0-0-1.openstacklocal,10.10.0.1
fa:16:3e:d3:49:76,host-10-0-0-9.openstacklocal,10.10.0.13

then

ubuntu@os-compute01:~$ ip netns list
qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 (id: 4)
qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f (id: 3)

if I try to ping the public interface and the internat interface set on the router of Openstack, that ones work

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-8129a212-8db7-42a7-8d91-a5c8cdca42e0 ping 10.20.81.222
PING 10.20.81.222 (10.20.81.222) 56(84) bytes of data.
64 bytes from 10.20.81.222: icmp_seq=1 ttl=64 time=0.085 ms
64 bytes from 10.20.81.222: icmp_seq=2 ttl=64 time=0.081 ms

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.10.0.1
PING 10.10.0.1 (10.10.0.1) 56(84) bytes of data.
64 bytes from 10.10.0.1: icmp_seq=1 ttl=64 time=0.075 ms
64 bytes from 10.10.0.1: icmp_seq=2 ttl=64 time=0.070 ms

while the ping to the instance and google.com no works

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.10.0.13
PING 10.10.0.13 (10.10.0.13) 56(84) bytes of data.
From 10.10.0.13 icmp_seq=1 Destination Host Unreachable
From 10.10.0.13 icmp_seq=2 Destination Host Unreachable

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 10.20.81.222 icmp_seq=1 Destination Host Unreachable
From 10.20.81.222 icmp_seq=2 Destination Host Unreachable

then:

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ns-cefc1973-b1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
            inet 10.10.0.10  netmask 255.255.255.0  broadcast 10.0.0.255
            inet6 fe80::f816:3eff:fedc:af67  prefixlen 64  scopeid 0x20<link>
            ether fa:16:3e:dc:af:67  txqueuelen 1000  (Ethernet)
            RX packets 2297  bytes 96522 (96.5 KB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 5  bytes 446 (446.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 12  bytes 1120 (1.1 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 1120 (1.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qg-df7a9cfe-3d: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.20.81.222  netmask 255.255.255.0  broadcast 10.20.81.255
        inet6 fe80::f816:3eff:fe64:3a54  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:64:3a:54  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qr-8ceea738-c9: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
        inet 10.10.0.1  netmask 255.255.255.0  broadcast 10.0.0.255
        inet6 fe80::f816:3eff:fe74:1c88  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:74:1c:88  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

the routing table is that:

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-919fcbc7-566b-4b9b-bdc2-27fa959330dd route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 qr-8ceea738-c9
10.20.81.0      0.0.0.0         255.255.255.0   U     0      0        0 qg-df7a9cfe-3d

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-919fcbc7-566b-4b9b-bdc2-27fa959330dd ip route
default via 10.20.81.254 dev  qg-df7a9cfe-3d
10.10.0.0/24 dev  qr-8ceea738-c9 proto kernel scope link src 10.10.0.1 
10.20.81.0/24 dev qg-df7a9cfe-3d proto kernel scope link src 10.20.81.222

Any suggestions please. I am still unable to solve the problem. I've also try to use conjure-up but nothing. Thanks.

Update 22/03/19:

Using the following commands I can ping the virtual interfaces on router u1804Ro of openstack

$: juju ssh neutron-gateway/0

then

ubuntu@os-compute01:~$ cat /var/lib/neutron/dhcp/008cdb55-51f4-49f6-87d2-a9c187485d26/host 
fa:16:3e:77:d6:96,host-10-0-0-10.openstacklocal,10.10.0.10
fa:16:3e:b4:9e:0c,host-10-0-0-1.openstacklocal,10.10.0.1
fa:16:3e:d3:49:76,host-10-0-0-9.openstacklocal,10.10.0.13

then

ubuntu@os-compute01:~$ ip netns list
qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 (id: 4)
qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f (id: 3)

if I try to ping the public interface and the internat interface set on the router of Openstack, that ones work

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-8129a212-8db7-42a7-8d91-a5c8cdca42e0 ping 10.20.81.222
PING 10.20.81.222 (10.20.81.222) 56(84) bytes of data.
64 bytes from 10.20.81.222: icmp_seq=1 ttl=64 time=0.085 ms
64 bytes from 10.20.81.222: icmp_seq=2 ttl=64 time=0.081 ms

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.10.0.1
PING 10.10.0.1 (10.10.0.1) 56(84) bytes of data.
64 bytes from 10.10.0.1: icmp_seq=1 ttl=64 time=0.075 ms
64 bytes from 10.10.0.1: icmp_seq=2 ttl=64 time=0.070 ms

while the ping to the instance and google.com no works

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.10.0.13
PING 10.10.0.13 (10.10.0.13) 56(84) bytes of data.
From 10.10.0.13 icmp_seq=1 Destination Host Unreachable
From 10.10.0.13 icmp_seq=2 Destination Host Unreachable

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 10.20.81.222 icmp_seq=1 Destination Host Unreachable
From 10.20.81.222 icmp_seq=2 Destination Host Unreachable

then:

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ns-cefc1973-b1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
            inet 10.10.0.10  netmask 255.255.255.0  broadcast 10.0.0.255
            inet6 fe80::f816:3eff:fedc:af67  prefixlen 64  scopeid 0x20<link>
            ether fa:16:3e:dc:af:67  txqueuelen 1000  (Ethernet)
            RX packets 2297  bytes 96522 (96.5 KB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 5  bytes 446 (446.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 12  bytes 1120 (1.1 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 1120 (1.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qg-df7a9cfe-3d: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.20.81.222  netmask 255.255.255.0  broadcast 10.20.81.255
        inet6 fe80::f816:3eff:fe64:3a54  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:64:3a:54  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qr-8ceea738-c9: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
        inet 10.10.0.1  netmask 255.255.255.0  broadcast 10.0.0.255
        inet6 fe80::f816:3eff:fe74:1c88  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:74:1c:88  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

the routing table is that:

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-919fcbc7-566b-4b9b-bdc2-27fa959330dd route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 qr-8ceea738-c9
10.20.81.0      0.0.0.0         255.255.255.0   U     0      0        0 qg-df7a9cfe-3d

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-919fcbc7-566b-4b9b-bdc2-27fa959330dd ip route
default via 10.20.81.254 dev  qg-df7a9cfe-3d
10.10.0.0/24 dev  qr-8ceea738-c9 proto kernel scope link src 10.10.0.1 
10.20.81.0/24 dev qg-df7a9cfe-3d proto kernel scope link src 10.20.81.222

Any suggestions please. I am still unable to solve the problem. I've also try to use conjure-up but nothing. Thanks.

Update 15/03/19:

ubuntu@os-compute01:~$ sudo ovs-vsctl show
6f8542aa-45d7-409d-8787-8983f3c643eb
    Manager "ptcp:6640:127.0.0.1"
        is_connected: true
    Bridge br-ex
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        Port "eno2"
            Interface "eno2"
                error: "could not add network device eno2 to ofproto (Device or resource busy)"
        Port br-ex
            Interface br-ex
                type: internal
        Port phy-br-ex
            Interface phy-br-ex
                type: patch
                options: {peer=int-br-ex}
    Bridge br-tun
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
        Port br-tun
            Interface br-tun
                type: internal
        Port "gre-0a145118"
            Interface "gre-0a145118"
                type: gre
                options: {df_default="true", in_key=flow, local_ip="10.20.81.21", out_key=flow, remote_ip="10.20.81.24"}
    Bridge br-int
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        Port br-int
            Interface br-int
                type: internal
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
        Port "tapb0b04b07-8f"
            tag: 2
            Interface "tapb0b04b07-8f"
        Port int-br-ex
            Interface int-br-ex
                type: patch
                options: {peer=phy-br-ex}
        Port "tap2354468c-88"
            tag: 4
            Interface "tap2354468c-88"
        Port "tap6d2b2fe0-47"
            tag: 4
            Interface "tap6d2b2fe0-47"
    ovs_version: "2.10.0"

error: "could not add network device eno2 to ofproto (Device or resource busy)"

Update 26/03/19:

On Juju gui I've that:

neutron-gateway:
    bridge-mappings:         physnet1:br-ex
    data-port:               br-ex:eno2
neutron-api:
    flat-network-providers:  physnet1

Before to make the deploy of Openstack I've changed data-port from br-ex:eno2 to br-ex:eno3

neutron-gateway:
    bridge-mappings:         physnet1:br-ex
    data-port:               br-ex:eno3

The issue on eno2 is been resolved but the ping to instance is still present.

Update 22/03/19:

Using the following commands I can ping the virtual interfaces on router u1804Ro of openstack

$: juju ssh neutron-gateway/0

then

ubuntu@os-compute01:~$ cat /var/lib/neutron/dhcp/008cdb55-51f4-49f6-87d2-a9c187485d26/host 
fa:16:3e:77:d6:96,host-10-0-0-10.openstacklocal,10.10.0.10
fa:16:3e:b4:9e:0c,host-10-0-0-1.openstacklocal,10.10.0.1
fa:16:3e:d3:49:76,host-10-0-0-9.openstacklocal,10.10.0.13

then

ubuntu@os-compute01:~$ ip netns list
qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 (id: 4)
qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f (id: 3)

if I try to ping the public interface and the internat interface set on the router of Openstack, that ones work

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-8129a212-8db7-42a7-8d91-a5c8cdca42e0 ping 10.20.81.222
PING 10.20.81.222 (10.20.81.222) 56(84) bytes of data.
64 bytes from 10.20.81.222: icmp_seq=1 ttl=64 time=0.085 ms
64 bytes from 10.20.81.222: icmp_seq=2 ttl=64 time=0.081 ms

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.10.0.1
PING 10.10.0.1 (10.10.0.1) 56(84) bytes of data.
64 bytes from 10.10.0.1: icmp_seq=1 ttl=64 time=0.075 ms
64 bytes from 10.10.0.1: icmp_seq=2 ttl=64 time=0.070 ms

while the ping to the instance and google.com no works

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.10.0.13
10.0.0.13
PING 10.10.0.13 (10.10.0.13) 56(84) bytes of data.
From 10.10.0.13 icmp_seq=1 Destination Host Unreachable
From 10.10.0.13 icmp_seq=2 Destination Host Unreachable

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 10.20.81.222 icmp_seq=1 Destination Host Unreachable
From 10.20.81.222 icmp_seq=2 Destination Host Unreachable

then:

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ns-cefc1973-b1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
            inet 10.10.0.10 10.0.0.10  netmask 255.255.255.0  broadcast 10.0.0.255
            inet6 fe80::f816:3eff:fedc:af67  prefixlen 64  scopeid 0x20<link>
            ether fa:16:3e:dc:af:67  txqueuelen 1000  (Ethernet)
            RX packets 2297  bytes 96522 (96.5 KB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 5  bytes 446 (446.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 12  bytes 1120 (1.1 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 1120 (1.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qg-df7a9cfe-3d: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.20.81.222  netmask 255.255.255.0  broadcast 10.20.81.255
        inet6 fe80::f816:3eff:fe64:3a54  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:64:3a:54  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qr-8ceea738-c9: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
        inet 10.10.0.1 10.0.0.1  netmask 255.255.255.0  broadcast 10.0.0.255
        inet6 fe80::f816:3eff:fe74:1c88  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:74:1c:88  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

the routing table is that:

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-919fcbc7-566b-4b9b-bdc2-27fa959330dd route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 qr-8ceea738-c9
10.20.81.0      0.0.0.0         255.255.255.0   U     0      0        0 qg-df7a9cfe-3d

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-919fcbc7-566b-4b9b-bdc2-27fa959330dd ip route
default via 10.20.81.254 dev  qg-df7a9cfe-3d
10.10.0.0/24 dev  qr-8ceea738-c9 proto kernel scope link src 10.10.0.1 
10.20.81.0/24 dev qg-df7a9cfe-3d proto kernel scope link src 10.20.81.222

Any suggestions please. I am still unable to solve the problem. I've also try to use conjure-up but nothing. Thanks.

Update 15/03/19:

ubuntu@os-compute01:~$ sudo ovs-vsctl show
6f8542aa-45d7-409d-8787-8983f3c643eb
    Manager "ptcp:6640:127.0.0.1"
        is_connected: true
    Bridge br-ex
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        Port "eno2"
            Interface "eno2"
                error: "could not add network device eno2 to ofproto (Device or resource busy)"
        Port br-ex
            Interface br-ex
                type: internal
        Port phy-br-ex
            Interface phy-br-ex
                type: patch
                options: {peer=int-br-ex}
    Bridge br-tun
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
        Port br-tun
            Interface br-tun
                type: internal
        Port "gre-0a145118"
            Interface "gre-0a145118"
                type: gre
                options: {df_default="true", in_key=flow, local_ip="10.20.81.21", out_key=flow, remote_ip="10.20.81.24"}
    Bridge br-int
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        Port br-int
            Interface br-int
                type: internal
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
        Port "tapb0b04b07-8f"
            tag: 2
            Interface "tapb0b04b07-8f"
        Port int-br-ex
            Interface int-br-ex
                type: patch
                options: {peer=phy-br-ex}
        Port "tap2354468c-88"
            tag: 4
            Interface "tap2354468c-88"
        Port "tap6d2b2fe0-47"
            tag: 4
            Interface "tap6d2b2fe0-47"
    ovs_version: "2.10.0"

error: "could not add network device eno2 to ofproto (Device or resource busy)"

Update 26/03/19:

On Juju gui I've that:

neutron-gateway:
    bridge-mappings:         physnet1:br-ex
    data-port:               br-ex:eno2
neutron-api:
    flat-network-providers:  physnet1

Before to make the deploy of Openstack I've changed data-port from br-ex:eno2 to br-ex:eno3

neutron-gateway:
    bridge-mappings:         physnet1:br-ex
    data-port:               br-ex:eno3

The issue on eno2 is been resolved but the ping to instance is still present.

Update 22/03/19:

Using the following commands I can ping the virtual interfaces on router u1804Ro of openstack

$: juju ssh neutron-gateway/0

then

ubuntu@os-compute01:~$ cat /var/lib/neutron/dhcp/008cdb55-51f4-49f6-87d2-a9c187485d26/host 
fa:16:3e:77:d6:96,host-10-0-0-10.openstacklocal,10.10.0.10
fa:16:3e:b4:9e:0c,host-10-0-0-1.openstacklocal,10.10.0.1
fa:16:3e:d3:49:76,host-10-0-0-9.openstacklocal,10.10.0.13

then

ubuntu@os-compute01:~$ ip netns list
qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 (id: 4)
qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f (id: 3)

if I try to ping the public interface and the internat interface set on the router of Openstack, that ones work

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-8129a212-8db7-42a7-8d91-a5c8cdca42e0 ping 10.20.81.222
PING 10.20.81.222 (10.20.81.222) 56(84) bytes of data.
64 bytes from 10.20.81.222: icmp_seq=1 ttl=64 time=0.085 ms
64 bytes from 10.20.81.222: icmp_seq=2 ttl=64 time=0.081 ms

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.10.0.1
PING 10.10.0.1 (10.10.0.1) 56(84) bytes of data.
64 bytes from 10.10.0.1: icmp_seq=1 ttl=64 time=0.075 ms
64 bytes from 10.10.0.1: icmp_seq=2 ttl=64 time=0.070 ms

while the ping to the instance and google.com no works

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.0.0.13
PING 10.10.0.13 (10.10.0.13) 56(84) bytes of data.
From 10.10.0.13 icmp_seq=1 Destination Host Unreachable
From 10.10.0.13 icmp_seq=2 Destination Host Unreachable

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 10.20.81.222 icmp_seq=1 Destination Host Unreachable
From 10.20.81.222 icmp_seq=2 Destination Host Unreachable

then:

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ns-cefc1973-b1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
            inet 10.0.0.10  netmask 255.255.255.0  broadcast 10.0.0.255
            inet6 fe80::f816:3eff:fedc:af67  prefixlen 64  scopeid 0x20<link>
            ether fa:16:3e:dc:af:67  txqueuelen 1000  (Ethernet)
            RX packets 2297  bytes 96522 (96.5 KB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 5  bytes 446 (446.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 12  bytes 1120 (1.1 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 1120 (1.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qg-df7a9cfe-3d: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.20.81.222  netmask 255.255.255.0  broadcast 10.20.81.255
        inet6 fe80::f816:3eff:fe64:3a54  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:64:3a:54  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qr-8ceea738-c9: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
        inet 10.0.0.1  netmask 255.255.255.0  broadcast 10.0.0.255
        inet6 fe80::f816:3eff:fe74:1c88  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:74:1c:88  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

the routing table is that:

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-919fcbc7-566b-4b9b-bdc2-27fa959330dd route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.0.0        0.0.0.0         10.20.81.254    0.0.0.0         UG    0      0        0 qg-68c4a743-25
10.10.0.0       0.0.0.0         255.255.255.0   U     0      0        0 qr-8ceea738-c9
qr-b0215dc4-d9
10.20.81.0      0.0.0.0         255.255.255.0   U     0      0        0 qg-df7a9cfe-3d
qg-68c4a743-25

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-919fcbc7-566b-4b9b-bdc2-27fa959330dd ip route
default via 10.20.81.254 dev  qg-df7a9cfe-3d
10.10.0.0/24 dev  qr-8ceea738-c9 proto kernel scope link src 10.10.0.1 
10.20.81.0/24 dev qg-df7a9cfe-3d proto kernel scope link src 10.20.81.222

Any suggestions please. I am still unable to solve the problem. I've also try to use conjure-up but nothing. Thanks.

Update 15/03/19:

ubuntu@os-compute01:~$ sudo ovs-vsctl show
6f8542aa-45d7-409d-8787-8983f3c643eb
    Manager "ptcp:6640:127.0.0.1"
        is_connected: true
    Bridge br-ex
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        Port "eno2"
            Interface "eno2"
                error: "could not add network device eno2 to ofproto (Device or resource busy)"
        Port br-ex
            Interface br-ex
                type: internal
        Port phy-br-ex
            Interface phy-br-ex
                type: patch
                options: {peer=int-br-ex}
    Bridge br-tun
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
        Port br-tun
            Interface br-tun
                type: internal
        Port "gre-0a145118"
            Interface "gre-0a145118"
                type: gre
                options: {df_default="true", in_key=flow, local_ip="10.20.81.21", out_key=flow, remote_ip="10.20.81.24"}
    Bridge br-int
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        Port br-int
            Interface br-int
                type: internal
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
        Port "tapb0b04b07-8f"
            tag: 2
            Interface "tapb0b04b07-8f"
        Port int-br-ex
            Interface int-br-ex
                type: patch
                options: {peer=phy-br-ex}
        Port "tap2354468c-88"
            tag: 4
            Interface "tap2354468c-88"
        Port "tap6d2b2fe0-47"
            tag: 4
            Interface "tap6d2b2fe0-47"
    ovs_version: "2.10.0"

error: "could not add network device eno2 to ofproto (Device or resource busy)"

Update 26/03/19:

On Juju gui I've that:

neutron-gateway:
    bridge-mappings:         physnet1:br-ex
    data-port:               br-ex:eno2
neutron-api:
    flat-network-providers:  physnet1

Before to make the deploy of Openstack I've changed data-port from br-ex:eno2 to br-ex:eno3

neutron-gateway:
    bridge-mappings:         physnet1:br-ex
    data-port:               br-ex:eno3

The issue on eno2 is been resolved but the ping to instance is still present.

Update 22/03/19:

Using the following commands I can ping the virtual interfaces on router u1804Ro of openstack

$: juju ssh neutron-gateway/0

then

ubuntu@os-compute01:~$ cat /var/lib/neutron/dhcp/008cdb55-51f4-49f6-87d2-a9c187485d26/host 
fa:16:3e:77:d6:96,host-10-0-0-10.openstacklocal,10.10.0.10
fa:16:3e:b4:9e:0c,host-10-0-0-1.openstacklocal,10.10.0.1
fa:16:3e:d3:49:76,host-10-0-0-9.openstacklocal,10.10.0.13

then

ubuntu@os-compute01:~$ ip netns list
qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 (id: 4)
qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f (id: 3)

if I try to ping the public interface and the internat interface set on the router of Openstack, that ones work

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-8129a212-8db7-42a7-8d91-a5c8cdca42e0 ping 10.20.81.222
PING 10.20.81.222 (10.20.81.222) 56(84) bytes of data.
64 bytes from 10.20.81.222: icmp_seq=1 ttl=64 time=0.085 ms
64 bytes from 10.20.81.222: icmp_seq=2 ttl=64 time=0.081 ms

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.10.0.1
PING 10.10.0.1 (10.10.0.1) 56(84) bytes of data.
64 bytes from 10.10.0.1: icmp_seq=1 ttl=64 time=0.075 ms
64 bytes from 10.10.0.1: icmp_seq=2 ttl=64 time=0.070 ms

while the ping to the instance and google.com no works

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.0.0.13
PING 10.10.0.13 (10.10.0.13) 56(84) bytes of data.
From 10.10.0.13 icmp_seq=1 Destination Host Unreachable
From 10.10.0.13 icmp_seq=2 Destination Host Unreachable

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 10.20.81.222 icmp_seq=1 Destination Host Unreachable
From 10.20.81.222 icmp_seq=2 Destination Host Unreachable

then:

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ns-cefc1973-b1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
            inet 10.0.0.10  netmask 255.255.255.0  broadcast 10.0.0.255
            inet6 fe80::f816:3eff:fedc:af67  prefixlen 64  scopeid 0x20<link>
            ether fa:16:3e:dc:af:67  txqueuelen 1000  (Ethernet)
            RX packets 2297  bytes 96522 (96.5 KB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 5  bytes 446 (446.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 12  bytes 1120 (1.1 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 1120 (1.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qg-df7a9cfe-3d: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.20.81.222  netmask 255.255.255.0  broadcast 10.20.81.255
        inet6 fe80::f816:3eff:fe64:3a54  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:64:3a:54  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qr-8ceea738-c9: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
        inet 10.0.0.1  netmask 255.255.255.0  broadcast 10.0.0.255
        inet6 fe80::f816:3eff:fe74:1c88  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:74:1c:88  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

the routing table is that:

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-919fcbc7-566b-4b9b-bdc2-27fa959330dd route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         10.20.81.254    0.0.0.0         UG    0      0        0 qg-68c4a743-25
10.10.0.0       0.0.0.0         255.255.255.0   U     0      0        0 qr-b0215dc4-d9
10.20.81.0      0.0.0.0         255.255.255.0   U     0      0        0 qg-68c4a743-25

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-919fcbc7-566b-4b9b-bdc2-27fa959330dd ip route
default via 10.20.81.254 dev  qg-df7a9cfe-3d
10.10.0.0/24 dev  qr-8ceea738-c9 proto kernel scope link src 10.10.0.1 
10.20.81.0/24 dev qg-df7a9cfe-3d proto kernel scope link src 10.20.81.222

Any suggestions please. I am still unable to solve the problem. I've also try to use conjure-up but nothing. Thanks.

Update 15/03/19:

ubuntu@os-compute01:~$ sudo ovs-vsctl show
6f8542aa-45d7-409d-8787-8983f3c643eb
    Manager "ptcp:6640:127.0.0.1"
        is_connected: true
    Bridge br-ex
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        Port "eno2"
            Interface "eno2"
                error: "could not add network device eno2 to ofproto (Device or resource busy)"
        Port br-ex
            Interface br-ex
                type: internal
        Port phy-br-ex
            Interface phy-br-ex
                type: patch
                options: {peer=int-br-ex}
    Bridge br-tun
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
        Port br-tun
            Interface br-tun
                type: internal
        Port "gre-0a145118"
            Interface "gre-0a145118"
                type: gre
                options: {df_default="true", in_key=flow, local_ip="10.20.81.21", out_key=flow, remote_ip="10.20.81.24"}
    Bridge br-int
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        Port br-int
            Interface br-int
                type: internal
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
        Port "tapb0b04b07-8f"
            tag: 2
            Interface "tapb0b04b07-8f"
        Port int-br-ex
            Interface int-br-ex
                type: patch
                options: {peer=phy-br-ex}
        Port "tap2354468c-88"
            tag: 4
            Interface "tap2354468c-88"
        Port "tap6d2b2fe0-47"
            tag: 4
            Interface "tap6d2b2fe0-47"
    ovs_version: "2.10.0"

error: "could not add network device eno2 to ofproto (Device or resource busy)"

Update 26/03/19:

On Juju gui I've that:

neutron-gateway:
    bridge-mappings:         physnet1:br-ex
    data-port:               br-ex:eno2
neutron-api:
    flat-network-providers:  physnet1

Before to make the deploy of Openstack I've changed data-port from br-ex:eno2 to br-ex:eno3

neutron-gateway:
    bridge-mappings:         physnet1:br-ex
    data-port:               br-ex:eno3

The issue on eno2 is been resolved but the ping to instance is still present.present. Its route is:

ubuntu@os-compute03:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ip route
default via 10.20.81.254 dev qg-2af6bb57-15 
10.0.0.0/24 dev qr-b089085a-11 proto kernel scope link src 10.0.0.1 
10.20.81.0/24 dev qg-2af6bb57-15 proto kernel scope link src 10.20.81.212

ping the Gateway from neutron-gateway:

ubuntu@os-compute03:~$ sudo ip netns qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.254
PING 10.20.81.254 (10.20.81.254) 56(84) bytes of data.
From 10.20.81.222 icmp_seq=1 Destination Host Unreachable
From 10.20.81.222 icmp_seq=2 Destination Host Unreachable

Any suggestions please

Update 22/03/19:

Using the following commands I can ping the virtual interfaces on router u1804Ro of openstack

$: juju ssh neutron-gateway/0

then

ubuntu@os-compute01:~$ cat /var/lib/neutron/dhcp/008cdb55-51f4-49f6-87d2-a9c187485d26/host 
fa:16:3e:77:d6:96,host-10-0-0-10.openstacklocal,10.10.0.10
fa:16:3e:b4:9e:0c,host-10-0-0-1.openstacklocal,10.10.0.1
fa:16:3e:d3:49:76,host-10-0-0-9.openstacklocal,10.10.0.13

then

ubuntu@os-compute01:~$ ip netns list
qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 (id: 4)
qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f (id: 3)

if I try to ping the public interface and the internat interface set on the router of Openstack, that ones work

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-8129a212-8db7-42a7-8d91-a5c8cdca42e0 ping 10.20.81.222
PING 10.20.81.222 (10.20.81.222) 56(84) bytes of data.
64 bytes from 10.20.81.222: icmp_seq=1 ttl=64 time=0.085 ms
64 bytes from 10.20.81.222: icmp_seq=2 ttl=64 time=0.081 ms

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.10.0.1
PING 10.10.0.1 (10.10.0.1) 56(84) bytes of data.
64 bytes from 10.10.0.1: icmp_seq=1 ttl=64 time=0.075 ms
64 bytes from 10.10.0.1: icmp_seq=2 ttl=64 time=0.070 ms

while the ping to the instance and google.com no works

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.0.0.13
PING 10.10.0.13 (10.10.0.13) 56(84) bytes of data.
From 10.10.0.13 icmp_seq=1 Destination Host Unreachable
From 10.10.0.13 icmp_seq=2 Destination Host Unreachable

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 10.20.81.222 icmp_seq=1 Destination Host Unreachable
From 10.20.81.222 icmp_seq=2 Destination Host Unreachable

then:

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ns-cefc1973-b1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
            inet 10.0.0.10  netmask 255.255.255.0  broadcast 10.0.0.255
            inet6 fe80::f816:3eff:fedc:af67  prefixlen 64  scopeid 0x20<link>
            ether fa:16:3e:dc:af:67  txqueuelen 1000  (Ethernet)
            RX packets 2297  bytes 96522 (96.5 KB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 5  bytes 446 (446.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 12  bytes 1120 (1.1 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 1120 (1.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qg-df7a9cfe-3d: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.20.81.222  netmask 255.255.255.0  broadcast 10.20.81.255
        inet6 fe80::f816:3eff:fe64:3a54  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:64:3a:54  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qr-8ceea738-c9: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
        inet 10.0.0.1  netmask 255.255.255.0  broadcast 10.0.0.255
        inet6 fe80::f816:3eff:fe74:1c88  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:74:1c:88  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

the routing table is that:

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-919fcbc7-566b-4b9b-bdc2-27fa959330dd ip route
default via 10.20.81.254 dev  qg-df7a9cfe-3d
10.10.0.0/24 dev  qr-8ceea738-c9 proto kernel scope link src 10.10.0.1 
10.20.81.0/24 dev qg-df7a9cfe-3d proto kernel scope link src 10.20.81.222

Any suggestions please. I am still unable to solve the problem. I've also try to use conjure-up but nothing. Thanks.

Update 15/03/19:

ubuntu@os-compute01:~$ sudo ovs-vsctl show
6f8542aa-45d7-409d-8787-8983f3c643eb
    Manager "ptcp:6640:127.0.0.1"
        is_connected: true
    Bridge br-ex
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        Port "eno2"
            Interface "eno2"
                error: "could not add network device eno2 to ofproto (Device or resource busy)"
        Port br-ex
            Interface br-ex
                type: internal
        Port phy-br-ex
            Interface phy-br-ex
                type: patch
                options: {peer=int-br-ex}
    Bridge br-tun
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
        Port br-tun
            Interface br-tun
                type: internal
        Port "gre-0a145118"
            Interface "gre-0a145118"
                type: gre
                options: {df_default="true", in_key=flow, local_ip="10.20.81.21", out_key=flow, remote_ip="10.20.81.24"}
    Bridge br-int
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        Port br-int
            Interface br-int
                type: internal
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
        Port "tapb0b04b07-8f"
            tag: 2
            Interface "tapb0b04b07-8f"
        Port int-br-ex
            Interface int-br-ex
                type: patch
                options: {peer=phy-br-ex}
        Port "tap2354468c-88"
            tag: 4
            Interface "tap2354468c-88"
        Port "tap6d2b2fe0-47"
            tag: 4
            Interface "tap6d2b2fe0-47"
    ovs_version: "2.10.0"

error: "could not add network device eno2 to ofproto (Device or resource busy)"

Update 26/03/19:

On Juju gui I've that:

neutron-gateway:
    bridge-mappings:         physnet1:br-ex
    data-port:               br-ex:eno2
neutron-api:
    flat-network-providers:  physnet1

Before to make the deploy of Openstack I've changed data-port from br-ex:eno2 to br-ex:eno3

neutron-gateway:
    bridge-mappings:         physnet1:br-ex
    data-port:               br-ex:eno3

The issue on eno2 is been resolved but the ping to instance is still present. Its route is:

ubuntu@os-compute03:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ip route
default via 10.20.81.254 dev qg-2af6bb57-15 
10.0.0.0/24 dev qr-b089085a-11 proto kernel scope link src 10.0.0.1 
10.20.81.0/24 dev qg-2af6bb57-15 proto kernel scope link src 10.20.81.212

ping the Gateway from neutron-gateway:

ubuntu@os-compute03:~$ sudo ip netns qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.254
PING 10.20.81.254 (10.20.81.254) 56(84) bytes of data.
From 10.20.81.222 icmp_seq=1 Destination Host Unreachable
From 10.20.81.222 icmp_seq=2 Destination Host Unreachable

Any suggestions please

Update 01/04/19:

Changing the type of image uploaded to Opentstack, from LXD (bionic-server-cloudimg-amd64-lxd.tar.) to IMG (bionic-server-cloudimg-amd64.img) the ping now is working

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.10.0.13
PING 10.10.0.13 (10.10.0.13) 56(84) bytes of data.
64 bytes from 10.10.0.13: icmp_seq=1 ttl=64 time=0.075 ms
64 bytes from 10.10.0.13: icmp_seq=2 ttl=64 time=0.070 ms

the rest of sets on Openstack are the same used to the begin.

Update 22/03/19:

Using the following commands I can ping the virtual interfaces on router u1804Ro of openstack

$: juju ssh neutron-gateway/0

then

ubuntu@os-compute01:~$ cat /var/lib/neutron/dhcp/008cdb55-51f4-49f6-87d2-a9c187485d26/host 
fa:16:3e:77:d6:96,host-10-0-0-10.openstacklocal,10.10.0.10
fa:16:3e:b4:9e:0c,host-10-0-0-1.openstacklocal,10.10.0.1
fa:16:3e:d3:49:76,host-10-0-0-9.openstacklocal,10.10.0.13

then

ubuntu@os-compute01:~$ ip netns list
qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 (id: 4)
qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f (id: 3)

if I try to ping the public interface and the internat interface set on the router of Openstack, that ones work

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-8129a212-8db7-42a7-8d91-a5c8cdca42e0 ping 10.20.81.222
PING 10.20.81.222 (10.20.81.222) 56(84) bytes of data.
64 bytes from 10.20.81.222: icmp_seq=1 ttl=64 time=0.085 ms
64 bytes from 10.20.81.222: icmp_seq=2 ttl=64 time=0.081 ms

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.10.0.1
PING 10.10.0.1 (10.10.0.1) 56(84) bytes of data.
64 bytes from 10.10.0.1: icmp_seq=1 ttl=64 time=0.075 ms
64 bytes from 10.10.0.1: icmp_seq=2 ttl=64 time=0.070 ms

while the ping to the instance and google.com no works

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.0.0.13
PING 10.10.0.13 (10.10.0.13) 56(84) bytes of data.
From 10.10.0.13 icmp_seq=1 Destination Host Unreachable
From 10.10.0.13 icmp_seq=2 Destination Host Unreachable

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 10.20.81.222 icmp_seq=1 Destination Host Unreachable
From 10.20.81.222 icmp_seq=2 Destination Host Unreachable

then:

ubuntu@os-compute01:~$ sudo ip netns exec qdhcp-feb5596f-b201-4e01-9c04-64abd1273d2f ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ns-cefc1973-b1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
            inet 10.0.0.10  netmask 255.255.255.0  broadcast 10.0.0.255
            inet6 fe80::f816:3eff:fedc:af67  prefixlen 64  scopeid 0x20<link>
            ether fa:16:3e:dc:af:67  txqueuelen 1000  (Ethernet)
            RX packets 2297  bytes 96522 (96.5 KB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 5  bytes 446 (446.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 12  bytes 1120 (1.1 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 1120 (1.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qg-df7a9cfe-3d: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.20.81.222  netmask 255.255.255.0  broadcast 10.20.81.255
        inet6 fe80::f816:3eff:fe64:3a54  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:64:3a:54  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qr-8ceea738-c9: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1458
        inet 10.0.0.1  netmask 255.255.255.0  broadcast 10.0.0.255
        inet6 fe80::f816:3eff:fe74:1c88  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:74:1c:88  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 19  bytes 1250 (1.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

the routing table is that:

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-919fcbc7-566b-4b9b-bdc2-27fa959330dd ip route
default via 10.20.81.254 dev  qg-df7a9cfe-3d
10.10.0.0/24 dev  qr-8ceea738-c9 proto kernel scope link src 10.10.0.1 
10.20.81.0/24 dev qg-df7a9cfe-3d proto kernel scope link src 10.20.81.222

Any suggestions please. I am still unable to solve the problem. I've also try to use conjure-up but nothing. Thanks.

Update 15/03/19:

ubuntu@os-compute01:~$ sudo ovs-vsctl show
6f8542aa-45d7-409d-8787-8983f3c643eb
    Manager "ptcp:6640:127.0.0.1"
        is_connected: true
    Bridge br-ex
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        Port "eno2"
            Interface "eno2"
                error: "could not add network device eno2 to ofproto (Device or resource busy)"
        Port br-ex
            Interface br-ex
                type: internal
        Port phy-br-ex
            Interface phy-br-ex
                type: patch
                options: {peer=int-br-ex}
    Bridge br-tun
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
        Port br-tun
            Interface br-tun
                type: internal
        Port "gre-0a145118"
            Interface "gre-0a145118"
                type: gre
                options: {df_default="true", in_key=flow, local_ip="10.20.81.21", out_key=flow, remote_ip="10.20.81.24"}
    Bridge br-int
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        Port br-int
            Interface br-int
                type: internal
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
        Port "tapb0b04b07-8f"
            tag: 2
            Interface "tapb0b04b07-8f"
        Port int-br-ex
            Interface int-br-ex
                type: patch
                options: {peer=phy-br-ex}
        Port "tap2354468c-88"
            tag: 4
            Interface "tap2354468c-88"
        Port "tap6d2b2fe0-47"
            tag: 4
            Interface "tap6d2b2fe0-47"
    ovs_version: "2.10.0"

error: "could not add network device eno2 to ofproto (Device or resource busy)"

Update 26/03/19:

On Juju gui I've that:

neutron-gateway:
    bridge-mappings:         physnet1:br-ex
    data-port:               br-ex:eno2
neutron-api:
    flat-network-providers:  physnet1

Before to make the deploy of Openstack I've changed data-port from br-ex:eno2 to br-ex:eno3

neutron-gateway:
    bridge-mappings:         physnet1:br-ex
    data-port:               br-ex:eno3

The issue on eno2 is been resolved but the ping to instance is still present. Its route is:

ubuntu@os-compute03:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ip route
default via 10.20.81.254 dev qg-2af6bb57-15 
10.0.0.0/24 dev qr-b089085a-11 proto kernel scope link src 10.0.0.1 
10.20.81.0/24 dev qg-2af6bb57-15 proto kernel scope link src 10.20.81.212

ping the Gateway from neutron-gateway:

ubuntu@os-compute03:~$ sudo ip netns qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.20.81.254
PING 10.20.81.254 (10.20.81.254) 56(84) bytes of data.
From 10.20.81.222 icmp_seq=1 Destination Host Unreachable
From 10.20.81.222 icmp_seq=2 Destination Host Unreachable

Any suggestions please

Update 01/04/19:

Changing the type of image uploaded to Opentstack, from LXD (bionic-server-cloudimg-amd64-lxd.tar.) to IMG (bionic-server-cloudimg-amd64.img) the ping now is working

ubuntu@os-compute01:~$ sudo ip netns exec qrouter-fc288112-3fce-405d-9c3f-5451253de4f0 ping 10.10.0.13
PING 10.10.0.13 (10.10.0.13) 56(84) bytes of data.
64 bytes from 10.10.0.13: icmp_seq=1 ttl=64 time=0.075 ms
64 bytes from 10.10.0.13: icmp_seq=2 ttl=64 time=0.070 ms

the rest of sets on Openstack are the same used to the begin.