yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #47821
[Bug 1549068] Re: Ironic vif_port_id mismatch with neutron port id if specified multi networks
** Also affects: nova/liberty
Importance: Undecided
Status: New
** Changed in: nova/liberty
Assignee: (unassigned) => Zhenguo Niu (niu-zglinux)
** Changed in: nova/liberty
Status: New => In Progress
** Changed in: nova/liberty
Importance: Undecided => High
--
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/1549068
Title:
Ironic vif_port_id mismatch with neutron port id if specified multi
networks
Status in Ironic:
Won't Fix
Status in OpenStack Compute (nova):
Fix Released
Status in OpenStack Compute (nova) liberty series:
In Progress
Bug description:
when booting an ironic instance with multi networks, we create the
network resources with the macs from ironic node ports, and then set
the neutron port id back to ironic port's extra/vif_port_id, but the
current logic will lead the vif-pif ids pair mismatch.
code:
for vif, pif in zip(network_info, ports):
port_id = six.text_type(vif['id'])
patch = [{'op': 'add',
'path': '/extra/vif_port_id',
'value': port_id}]
self.ironicclient.call("port.update", pif.uuid, patch)
we should check whether the mac addresses match between vif and pif
before setting the 'vif_port_id'.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ironic/+bug/1549068/+subscriptions
References