have to redeploy baremetal instances when changing network interfaces

Bug #1236714 reported by Robert Collins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
Medium
Yuriy Zveryanskyy
OpenStack Compute (nova)
Won't Fix
Medium
Unassigned

Bug Description

when a node has an instance deployed to it (or one trying to deploy) and the network card is wrong, the solution (after physically swapping out the NIC) is to run 'nova baremetal-interface-add <id> <nic MAC>'

but - neutron doesn't get told about the update, so the port registration is wrong, and DHCP will fail. As a result you need to nova delete + nova boot, which is more disruptive than necessary.

Tags: baremetal
aeva black (tenbrae)
Changed in ironic:
status: New → Triaged
importance: Undecided → Medium
Changed in ironic:
assignee: nobody → Yuriy Zveryanskyy (yzveryanskyy)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to ironic (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/77623

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (master)

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

Changed in ironic:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to ironic (master)

Reviewed: https://review.openstack.org/77623
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=d4f77b66ea766aa17f7cdbf8a4bcc6188998e33b
Submitter: Jenkins
Branch: master

commit d4f77b66ea766aa17f7cdbf8a4bcc6188998e33b
Author: Yuriy Zveryanskyy <email address hidden>
Date: Mon Mar 3 10:29:18 2014 +0200

    Add TaskManager lock on change port data

    Updating port data may require driver actions on the related node
    (if address changed for example). New method 'update_port' added
    to conductor manager and rpcapi.

    Partial-Bug: #1276393
    Related-Bug: #1236714
    Change-Id: I1f817a8b3c80630f40fd36c82e533d5358225150

aeva black (tenbrae)
Changed in ironic:
milestone: none → icehouse-rc1
Changed in ironic:
assignee: Yuriy Zveryanskyy (yzveryanskyy) → Devananda van der Veen (devananda)
Changed in ironic:
assignee: Devananda van der Veen (devananda) → Yuriy Zveryanskyy (yzveryanskyy)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.openstack.org/77939
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=c63e1d9f603ce2268afa29553a8dc8d17e37193a
Submitter: Jenkins
Branch: master

commit c63e1d9f603ce2268afa29553a8dc8d17e37193a
Author: Yuriy Zveryanskyy <email address hidden>
Date: Tue Mar 4 17:23:18 2014 +0200

    Update Neutron if mac address of the port changed

    New method 'update_port_address' added to Ironic NeutronAPI.
    This method used in conductor manager for update Neutron
    when mac address of the port changed.

    Closes-Bug: #1236714
    Change-Id: I56a43a08de98868362ecef7ec5a8c740ed065120

Changed in ironic:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in ironic:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ironic:
milestone: icehouse-rc1 → 2014.1
Revision history for this message
Joe Gordon (jogo) wrote :

nova baremetal is gone

Changed in nova:
status: Triaged → Won't Fix
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.