← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1509626] [NEW] prefix delegation deletes addresses for ports

 

Public bug reported:

If a network has IPv4 and IPv6(prefix delegated) subnets,
prefix delegation is deleting port's IPv4 address and not properly updating IPv6 address.

1) create network
2) create ipv4 subnet with CIDR for the above network
3) create ipv6 slaac subnet with prefix delegation for above network
4) create router
5) add gateway to router
6) add above ipv6 subnet to router
Check if IPv6 subnet got new prefix.
You can see fixed_ip attribute as blank for dhcp port
(i.e "ipallocations" table has no entry for this dhcp port).

7) Boot a vm on this network.
"neutron port-show" will show ipv4 and ipv6 address for this network.
But this vm can't aquire ipv4 address as dhcp packets are dropped in linux bridge(because security groups related to dhcp are deleted along with dhcp port's fixed_ip delete)

8) delete above ipv6 subnet from router through router-interface-delete.
This deletes ipv4 address for vm's port (check this with "neutron port-show").

Expected behavior:
Prefix delegation should only update IPv6 address if the network has both IPv4 and IPv6 subnets.
It should update IPv6 address with proper prefix.

** Affects: neutron
     Importance: Undecided
     Assignee: venkata anil (anil-venkata)
         Status: New


** Tags: ipv6 l3-ipam-dhcp

** Changed in: neutron
     Assignee: (unassigned) => venkata anil (anil-venkata)

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

Title:
  prefix delegation deletes addresses for ports

Status in neutron:
  New

Bug description:
  If a network has IPv4 and IPv6(prefix delegated) subnets,
  prefix delegation is deleting port's IPv4 address and not properly updating IPv6 address.

  1) create network
  2) create ipv4 subnet with CIDR for the above network
  3) create ipv6 slaac subnet with prefix delegation for above network
  4) create router
  5) add gateway to router
  6) add above ipv6 subnet to router
  Check if IPv6 subnet got new prefix.
  You can see fixed_ip attribute as blank for dhcp port
  (i.e "ipallocations" table has no entry for this dhcp port).

  7) Boot a vm on this network.
  "neutron port-show" will show ipv4 and ipv6 address for this network.
  But this vm can't aquire ipv4 address as dhcp packets are dropped in linux bridge(because security groups related to dhcp are deleted along with dhcp port's fixed_ip delete)

  8) delete above ipv6 subnet from router through router-interface-delete.
  This deletes ipv4 address for vm's port (check this with "neutron port-show").

  Expected behavior:
  Prefix delegation should only update IPv6 address if the network has both IPv4 and IPv6 subnets.
  It should update IPv6 address with proper prefix.

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


Follow ups