← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1342919] Re: instances rescheduled after building network info do not update the MAC

 

** Changed in: ironic
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1342919

Title:
  instances rescheduled after building network info do not update the
  MAC

Status in OpenStack Bare Metal Provisioning Service (Ironic):
  Fix Released
Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  This is weird - Ironic has used the mac from a different node (which
  quite naturally leads to failures to boot!)

  nova list | grep spawn
  | 6c364f0f-d4a0-44eb-ae37-e012bbdd368c | ci-overcloud-NovaCompute3-zmkjp5aa6vgf  | BUILD  | spawning   | NOSTATE     | ctlplane=10.10.16.137 |

   nova show 6c364f0f-d4a0-44eb-ae37-e012bbdd368c | grep hyperv
   | OS-EXT-SRV-ATTR:hypervisor_hostname  | b07295ee-1c09-484c-9447-10b9efee340c                     |

   neutron port-list | grep 137
   | 272f2413-0309-4e8b-9a6d-9cb6fdbe978d |                    | 78:e7:d1:23:90:0d | {"subnet_id": "a6ddb35e-305e-40f1-9450-7befc8e1af47", "ip_address": "10.10.16.137"} |

  ironic node-show b07295ee-1c09-484c-9447-10b9efee340c | grep wait
   | provision_state        | wait call-back                                                         |

  ironic port-list | grep 78:e7:d1:23:90:0d  # from neutron
  | 33ab97c0-3de9-458a-afb7-8252a981b37a | 78:e7:d1:23:90:0d |

  ironic port-show 33ab97c0-3de9-458a-afb7-8252a981
  +------------+-----------------------------------------------------------+
  | Property   | Value                                                     |
  +------------+-----------------------------------------------------------+
  | node_uuid  | 69dc8c40-dd79-4ed6-83a9-374dcb18c39b                      |  # Ruh-roh, wrong node!
  | uuid       | 33ab97c0-3de9-458a-afb7-8252a981b37a                      |
  | extra      | {u'vif_port_id': u'aad5ee6b-52a3-4f8b-8029-7b8f40e7b54e'} |
  | created_at | 2014-07-08T23:09:16+00:00                                 |
  | updated_at | 2014-07-16T01:23:23+00:00                                 |
  | address    | 78:e7:d1:23:90:0d                                         |
  +------------+-----------------------------------------------------------+

  
  ironic port-list | grep 78:e7:d1:23:9b:1d  # This is the MAC my hardware list says the node should have
  | caba5b36-f518-43f2-84ed-0bc516cc89df | 78:e7:d1:23:9b:1d |
  # ironic port-show caba5b36-f518-43f2-84ed-0bc516cc
  +------------+-----------------------------------------------------------+
  | Property   | Value                                                     |
  +------------+-----------------------------------------------------------+
  | node_uuid  | b07295ee-1c09-484c-9447-10b9efee340c                      |  # and tada right node
  | uuid       | caba5b36-f518-43f2-84ed-0bc516cc89df                      |
  | extra      | {u'vif_port_id': u'272f2413-0309-4e8b-9a6d-9cb6fdbe978d'} |
  | created_at | 2014-07-08T23:08:26+00:00                                 |
  | updated_at | 2014-07-16T19:07:56+00:00                                 |
  | address    | 78:e7:d1:23:9b:1d                                         |
  +------------+-----------------------------------------------------------+

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