← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1407859] [NEW] vm can't get default route for ipv6 in slaac mode

 

Public bug reported:

neutron subnet-show ipv6
+-------------------+------------------------------------------------------------------------+
| Field             | Value                                                                  |
+-------------------+------------------------------------------------------------------------+
| allocation_pools  | {"start": "2001:470:bb86:0001::20", "end": "2001:470:bb86:0001::fffe"} |
| cidr              | 2001:470:bb86:1::/64                                                   |
| dns_nameservers   |                                                                        |
| enable_dhcp       | True                                                                   |
| gateway_ip        | 2001:470:bb86:0001::3                                                  |
| host_routes       | {"destination": "2000::/3", "nexthop": "2001:470:bb86:0001::1"}        |
| id                | ab6f2e9e-a992-40e7-a5c5-fb45f0e28bf9                                   |
| ip_version        | 6                                                                      |
| ipv6_address_mode | slaac                                                                  |
| ipv6_ra_mode      | slaac                                                                  |
| name              | ipv6                                                                   |
| network_id        | baaa8401-d5af-44cb-8afc-3ba0f34b117b                                   |
| tenant_id         | 1bfd6b2b81624fc5af3f068230654b84                                       |
+-------------------+------------------------------------------------------------------------+

neutron security-group-show b97915cf-52c2-45df-be46-9d37565e4331
+----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field                | Value                                                                                                                                                                                                                                                                                                                                                            |
+----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| description          | Default security group                                                                                                                                                                                                                                                                                                                                           |
| id                   | b97915cf-52c2-45df-be46-9d37565e4331                                                                                                                                                                                                                                                                                                                             |
| name                 | default                                                                                                                                                                                                                                                                                                                                                          |
| security_group_rules | {"remote_group_id": null, "direction": "ingress", "remote_ip_prefix": null, "protocol": "tcp", "tenant_id": "1bfd6b2b81624fc5af3f068230654b84", "port_range_max": 65535, "security_group_id": "b97915cf-52c2-45df-be46-9d37565e4331", "port_range_min": 22, "ethertype": "IPv4", "id": "34133bde-350d-41c3-99b8-f4588ff5489a"}                                   |
|                      | {"remote_group_id": null, "direction": "egress", "remote_ip_prefix": null, "protocol": null, "tenant_id": "1bfd6b2b81624fc5af3f068230654b84", "port_range_max": null, "security_group_id": "b97915cf-52c2-45df-be46-9d37565e4331", "port_range_min": null, "ethertype": "IPv6", "id": "404bd961-a69c-45f1-91c1-948042e6e9fd"}                                    |
|                      | {"remote_group_id": null, "direction": "ingress", "remote_ip_prefix": null, "protocol": "tcp", "tenant_id": "1bfd6b2b81624fc5af3f068230654b84", "port_range_max": 65535, "security_group_id": "b97915cf-52c2-45df-be46-9d37565e4331", "port_range_min": 22, "ethertype": "IPv6", "id": "54508709-7c08-4109-84f0-3f8a86701423"}                                   |
|                      | {"remote_group_id": null, "direction": "ingress", "remote_ip_prefix": null, "protocol": "icmp", "tenant_id": "1bfd6b2b81624fc5af3f068230654b84", "port_range_max": null, "security_group_id": "b97915cf-52c2-45df-be46-9d37565e4331", "port_range_min": null, "ethertype": "IPv4", "id": "6cc63a15-36a2-41fa-bae4-799a28ca3c8f"}                                 |
|                      | {"remote_group_id": "b97915cf-52c2-45df-be46-9d37565e4331", "direction": "ingress", "remote_ip_prefix": null, "protocol": null, "tenant_id": "1bfd6b2b81624fc5af3f068230654b84", "port_range_max": null, "security_group_id": "b97915cf-52c2-45df-be46-9d37565e4331", "port_range_min": null, "ethertype": "IPv4", "id": "82c8e2e4-4cf3-4f35-ae72-d4e711d765fd"} |
|                      | {"remote_group_id": null, "direction": "egress", "remote_ip_prefix": null, "protocol": null, "tenant_id": "1bfd6b2b81624fc5af3f068230654b84", "port_range_max": null, "security_group_id": "b97915cf-52c2-45df-be46-9d37565e4331", "port_range_min": null, "ethertype": "IPv4", "id": "865414f6-be7d-4ebc-a5ab-c576802f6d55"}                                    |
|                      | {"remote_group_id": "b97915cf-52c2-45df-be46-9d37565e4331", "direction": "ingress", "remote_ip_prefix": null, "protocol": null, "tenant_id": "1bfd6b2b81624fc5af3f068230654b84", "port_range_max": null, "security_group_id": "b97915cf-52c2-45df-be46-9d37565e4331", "port_range_min": null, "ethertype": "IPv6", "id": "8a341930-89e0-48fe-9b38-9f790ec24da8"} |
|                      | {"remote_group_id": null, "direction": "ingress", "remote_ip_prefix": null, "protocol": "icmp", "tenant_id": "1bfd6b2b81624fc5af3f068230654b84", "port_range_max": null, "security_group_id": "b97915cf-52c2-45df-be46-9d37565e4331", "port_range_min": null, "ethertype": "IPv6", "id": "fcafbf1a-54cb-4c09-a568-04597615d14e"}                                 |
| tenant_id            | 1bfd6b2b81624fc5af3f068230654b84                                                                                                                                                                                                                                                                                                                                 |
+----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

ps -ef|grep radvd
root     15818     1  0 Jan04 ?        00:00:00 radvd -C /var/run/neutron/ra/6066faaa-0e35-4e7b-8988-7337c493bad7.radvd.conf -p /var/run/neutron/external/pids/6066faaa-0e35-4e7b-8988-7337c493bad7.pid.radvd
root     15820     1  0 Jan04 ?        00:00:10 radvd -C /var/run/neutron/ra/6066faaa-0e35-4e7b-8988-7337c493bad7.radvd.conf -p /var/run/neutron/external/pids/6066faaa-0e35-4e7b-8988-7337c493bad7.pid.radvd
root     21009 20939  0 04:04 pts/0    00:00:00 grep --color=auto radvd


ip netns exec qrouter-6066faaa-0e35-4e7b-8988-7337c493bad7 ifconfig
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

qr-9d527362-c4 Link encap:Ethernet  HWaddr fa:16:3e:0c:18:51  
          inet6 addr: fe80::f816:3eff:fe0c:1851/64 Scope:Link
          inet6 addr: 2001:470:bb86:1::3/64 Scope:Global
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:465506 errors:0 dropped:0 overruns:0 frame:0
          TX packets:27543 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:57806912 (57.8 MB)  TX bytes:3031970 (3.0 MB)

qr-dc3e05a5-81 Link encap:Ethernet  HWaddr fa:16:3e:2f:07:8f  
          inet addr:162.3.122.1  Bcast:162.3.122.255  Mask:255.255.255.0
          inet6 addr: fe80::f816:3eff:fe2f:78f/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:490910 errors:0 dropped:0 overruns:0 frame:0
          TX packets:586 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:60573736 (60.5 MB)  TX bytes:66617 (66.6 KB)


On the VM:

root@demo4:/home/ubuntu# ifconfig
eth0      Link encap:Ethernet  HWaddr fa:16:3e:81:20:07  
          inet addr:162.3.122.58  Bcast:162.3.122.255  Mask:255.255.255.0
          inet6 addr: 2001:470:bb86:1:f816:3eff:fe81:2007/64 Scope:Global
          inet6 addr: fe80::f816:3eff:fe81:2007/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1400  Metric:1
          RX packets:24283 errors:0 dropped:0 overruns:0 frame:0
          TX packets:623 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2662425 (2.6 MB)  TX bytes:66576 (66.5 KB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@demo4:/home/ubuntu# route -6
Kernel IPv6 routing table
Destination                    Next Hop                   Flag Met Ref Use If
2001:470:bb86:1::/64           ::                         UAe  256 0     0 eth0
fe80::/64                      ::                         U    256 0     0 eth0
::/0                           fe80::f816:3eff:fe0c:1851  UGDAe 1024 0     0 eth0
::/0                           ::                         !n   -1  1    49 lo
::1/128                        ::                         Un   0   1     3 lo
2001:470:bb86:1:f816:3eff:fe81:2007/128 ::                         Un   0   1     0 lo
fe80::f816:3eff:fe81:2007/128  ::                         Un   0   1   134 lo
ff00::/8                       ::                         U    256 1     0 eth0
::/0                           ::                         !n   -1  1    49 lo
root@demo4:/home/ubuntu#

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1407859

Title:
  vm can't get default route for ipv6 in slaac mode

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  neutron subnet-show ipv6
  +-------------------+------------------------------------------------------------------------+
  | Field             | Value                                                                  |
  +-------------------+------------------------------------------------------------------------+
  | allocation_pools  | {"start": "2001:470:bb86:0001::20", "end": "2001:470:bb86:0001::fffe"} |
  | cidr              | 2001:470:bb86:1::/64                                                   |
  | dns_nameservers   |                                                                        |
  | enable_dhcp       | True                                                                   |
  | gateway_ip        | 2001:470:bb86:0001::3                                                  |
  | host_routes       | {"destination": "2000::/3", "nexthop": "2001:470:bb86:0001::1"}        |
  | id                | ab6f2e9e-a992-40e7-a5c5-fb45f0e28bf9                                   |
  | ip_version        | 6                                                                      |
  | ipv6_address_mode | slaac                                                                  |
  | ipv6_ra_mode      | slaac                                                                  |
  | name              | ipv6                                                                   |
  | network_id        | baaa8401-d5af-44cb-8afc-3ba0f34b117b                                   |
  | tenant_id         | 1bfd6b2b81624fc5af3f068230654b84                                       |
  +-------------------+------------------------------------------------------------------------+

  neutron security-group-show b97915cf-52c2-45df-be46-9d37565e4331
  +----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  | Field                | Value                                                                                                                                                                                                                                                                                                                                                            |
  +----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
  | description          | Default security group                                                                                                                                                                                                                                                                                                                                           |
  | id                   | b97915cf-52c2-45df-be46-9d37565e4331                                                                                                                                                                                                                                                                                                                             |
  | name                 | default                                                                                                                                                                                                                                                                                                                                                          |
  | security_group_rules | {"remote_group_id": null, "direction": "ingress", "remote_ip_prefix": null, "protocol": "tcp", "tenant_id": "1bfd6b2b81624fc5af3f068230654b84", "port_range_max": 65535, "security_group_id": "b97915cf-52c2-45df-be46-9d37565e4331", "port_range_min": 22, "ethertype": "IPv4", "id": "34133bde-350d-41c3-99b8-f4588ff5489a"}                                   |
  |                      | {"remote_group_id": null, "direction": "egress", "remote_ip_prefix": null, "protocol": null, "tenant_id": "1bfd6b2b81624fc5af3f068230654b84", "port_range_max": null, "security_group_id": "b97915cf-52c2-45df-be46-9d37565e4331", "port_range_min": null, "ethertype": "IPv6", "id": "404bd961-a69c-45f1-91c1-948042e6e9fd"}                                    |
  |                      | {"remote_group_id": null, "direction": "ingress", "remote_ip_prefix": null, "protocol": "tcp", "tenant_id": "1bfd6b2b81624fc5af3f068230654b84", "port_range_max": 65535, "security_group_id": "b97915cf-52c2-45df-be46-9d37565e4331", "port_range_min": 22, "ethertype": "IPv6", "id": "54508709-7c08-4109-84f0-3f8a86701423"}                                   |
  |                      | {"remote_group_id": null, "direction": "ingress", "remote_ip_prefix": null, "protocol": "icmp", "tenant_id": "1bfd6b2b81624fc5af3f068230654b84", "port_range_max": null, "security_group_id": "b97915cf-52c2-45df-be46-9d37565e4331", "port_range_min": null, "ethertype": "IPv4", "id": "6cc63a15-36a2-41fa-bae4-799a28ca3c8f"}                                 |
  |                      | {"remote_group_id": "b97915cf-52c2-45df-be46-9d37565e4331", "direction": "ingress", "remote_ip_prefix": null, "protocol": null, "tenant_id": "1bfd6b2b81624fc5af3f068230654b84", "port_range_max": null, "security_group_id": "b97915cf-52c2-45df-be46-9d37565e4331", "port_range_min": null, "ethertype": "IPv4", "id": "82c8e2e4-4cf3-4f35-ae72-d4e711d765fd"} |
  |                      | {"remote_group_id": null, "direction": "egress", "remote_ip_prefix": null, "protocol": null, "tenant_id": "1bfd6b2b81624fc5af3f068230654b84", "port_range_max": null, "security_group_id": "b97915cf-52c2-45df-be46-9d37565e4331", "port_range_min": null, "ethertype": "IPv4", "id": "865414f6-be7d-4ebc-a5ab-c576802f6d55"}                                    |
  |                      | {"remote_group_id": "b97915cf-52c2-45df-be46-9d37565e4331", "direction": "ingress", "remote_ip_prefix": null, "protocol": null, "tenant_id": "1bfd6b2b81624fc5af3f068230654b84", "port_range_max": null, "security_group_id": "b97915cf-52c2-45df-be46-9d37565e4331", "port_range_min": null, "ethertype": "IPv6", "id": "8a341930-89e0-48fe-9b38-9f790ec24da8"} |
  |                      | {"remote_group_id": null, "direction": "ingress", "remote_ip_prefix": null, "protocol": "icmp", "tenant_id": "1bfd6b2b81624fc5af3f068230654b84", "port_range_max": null, "security_group_id": "b97915cf-52c2-45df-be46-9d37565e4331", "port_range_min": null, "ethertype": "IPv6", "id": "fcafbf1a-54cb-4c09-a568-04597615d14e"}                                 |
  | tenant_id            | 1bfd6b2b81624fc5af3f068230654b84                                                                                                                                                                                                                                                                                                                                 |
  +----------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

  ps -ef|grep radvd
  root     15818     1  0 Jan04 ?        00:00:00 radvd -C /var/run/neutron/ra/6066faaa-0e35-4e7b-8988-7337c493bad7.radvd.conf -p /var/run/neutron/external/pids/6066faaa-0e35-4e7b-8988-7337c493bad7.pid.radvd
  root     15820     1  0 Jan04 ?        00:00:10 radvd -C /var/run/neutron/ra/6066faaa-0e35-4e7b-8988-7337c493bad7.radvd.conf -p /var/run/neutron/external/pids/6066faaa-0e35-4e7b-8988-7337c493bad7.pid.radvd
  root     21009 20939  0 04:04 pts/0    00:00:00 grep --color=auto radvd

  
  ip netns exec qrouter-6066faaa-0e35-4e7b-8988-7337c493bad7 ifconfig
  lo        Link encap:Local Loopback  
            inet addr:127.0.0.1  Mask:255.0.0.0
            inet6 addr: ::1/128 Scope:Host
            UP LOOPBACK RUNNING  MTU:65536  Metric:1
            RX packets:0 errors:0 dropped:0 overruns:0 frame:0
            TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:0 
            RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

  qr-9d527362-c4 Link encap:Ethernet  HWaddr fa:16:3e:0c:18:51  
            inet6 addr: fe80::f816:3eff:fe0c:1851/64 Scope:Link
            inet6 addr: 2001:470:bb86:1::3/64 Scope:Global
            UP BROADCAST RUNNING  MTU:1500  Metric:1
            RX packets:465506 errors:0 dropped:0 overruns:0 frame:0
            TX packets:27543 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:0 
            RX bytes:57806912 (57.8 MB)  TX bytes:3031970 (3.0 MB)

  qr-dc3e05a5-81 Link encap:Ethernet  HWaddr fa:16:3e:2f:07:8f  
            inet addr:162.3.122.1  Bcast:162.3.122.255  Mask:255.255.255.0
            inet6 addr: fe80::f816:3eff:fe2f:78f/64 Scope:Link
            UP BROADCAST RUNNING  MTU:1500  Metric:1
            RX packets:490910 errors:0 dropped:0 overruns:0 frame:0
            TX packets:586 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:0 
            RX bytes:60573736 (60.5 MB)  TX bytes:66617 (66.6 KB)


  On the VM:

  root@demo4:/home/ubuntu# ifconfig
  eth0      Link encap:Ethernet  HWaddr fa:16:3e:81:20:07  
            inet addr:162.3.122.58  Bcast:162.3.122.255  Mask:255.255.255.0
            inet6 addr: 2001:470:bb86:1:f816:3eff:fe81:2007/64 Scope:Global
            inet6 addr: fe80::f816:3eff:fe81:2007/64 Scope:Link
            UP BROADCAST RUNNING MULTICAST  MTU:1400  Metric:1
            RX packets:24283 errors:0 dropped:0 overruns:0 frame:0
            TX packets:623 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:1000 
            RX bytes:2662425 (2.6 MB)  TX bytes:66576 (66.5 KB)

  lo        Link encap:Local Loopback  
            inet addr:127.0.0.1  Mask:255.0.0.0
            inet6 addr: ::1/128 Scope:Host
            UP LOOPBACK RUNNING  MTU:65536  Metric:1
            RX packets:0 errors:0 dropped:0 overruns:0 frame:0
            TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:0 
            RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

  root@demo4:/home/ubuntu# route -6
  Kernel IPv6 routing table
  Destination                    Next Hop                   Flag Met Ref Use If
  2001:470:bb86:1::/64           ::                         UAe  256 0     0 eth0
  fe80::/64                      ::                         U    256 0     0 eth0
  ::/0                           fe80::f816:3eff:fe0c:1851  UGDAe 1024 0     0 eth0
  ::/0                           ::                         !n   -1  1    49 lo
  ::1/128                        ::                         Un   0   1     3 lo
  2001:470:bb86:1:f816:3eff:fe81:2007/128 ::                         Un   0   1     0 lo
  fe80::f816:3eff:fe81:2007/128  ::                         Un   0   1   134 lo
  ff00::/8                       ::                         U    256 1     0 eth0
  ::/0                           ::                         !n   -1  1    49 lo
  root@demo4:/home/ubuntu#

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1407859/+subscriptions


Follow ups

References