Updating mac_address of port doesn't update its autoconfigured IPv6 address

Bug #1671548 reported by Derek Higgins
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
Derek Higgins

Bug Description

PUT /v2.0/ports/d38564ff-8a98-4a21-a162-9b2841c78ebc.json HTTP/1.1
...
{"port": {"mac_address": "fa:16:3e:d2:03:61"}}

This updates the ports MAC address but doesn't update the IP address.
If using slaac or stateless address mode it should as the IP address is derived for the MAC address.

Version - Master from 20170127

Changed in neutron:
status: New → Confirmed
importance: Undecided → Low
tags: added: l3-ipam-dhcp
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/447538

Changed in neutron:
assignee: nobody → Derek Higgins (derekh)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/447538
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=27746d1d16ceec59ca6576d565e5e4157427fa96
Submitter: Jenkins
Branch: master

commit 27746d1d16ceec59ca6576d565e5e4157427fa96
Author: Derek Higgins <email address hidden>
Date: Thu Mar 30 12:59:37 2017 +0100

    Update auto-addresses on MAC change

    On MAC update add an entry for auto-addressed IPs so
    that they get removed and re-allocated.

    Also Fix the unit test that was testing for this, so that
    it checks the IP for the new updated port (it was checking
    the port before the update).

    Change-Id: I0a83efa7b8dfa1f6979566846195fb349547018a
    Closes-Bug: #1671548

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
Ihar Hrachyshka (ihar-hrachyshka) wrote :

We are reverting the patch.

Changed in neutron:
status: Fix Released → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/458294

Changed in neutron:
assignee: Derek Higgins (derekh) → Kevin Benton (kevinbenton)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/458506

Changed in neutron:
assignee: Kevin Benton (kevinbenton) → Derek Higgins (derekh)
Revision history for this message
Derek Higgins (derekh) wrote :

The previous version of this patch was reverted due to a regression that occurred when a port had both ipv6 and ipv4 ip addresses, see
https://bugs.launchpad.net/neutron/+bug/1684038

Changed in neutron:
assignee: Derek Higgins (derekh) → Kevin Benton (kevinbenton)
Changed in neutron:
assignee: Kevin Benton (kevinbenton) → Derek Higgins (derekh)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/458506
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=46d1a890e700dfa6e921387569f87f793ca4e8e9
Submitter: Jenkins
Branch: master

commit 46d1a890e700dfa6e921387569f87f793ca4e8e9
Author: Derek Higgins <email address hidden>
Date: Thu Apr 20 07:25:26 2017 +0100

    Update auto-addresses on MAC change

    On MAC update add an entry for auto-addressed IPs so
    that they get removed and re-allocated.

    Also add a check to ensure the length of fixed_ips in the result
    is what was expected i.e. ensure we replaced the IP's(as is the current
    behaviour) and not just added to the list.

    Change-Id: Id1eadce7a18ba82d6c1a42f1afb0267f076f9308
    Closes-Bug: #1671548

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (master)

Change abandoned by Kevin Benton (<email address hidden>) on branch: master
Review: https://review.openstack.org/458294
Reason: other patch worked out

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 11.0.0.0b2

This issue was fixed in the openstack/neutron 11.0.0.0b2 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.