Ironic vif_port_id mismatch with neutron port id if specified multi networks
Bug #1549068 reported by
Zhenguo Niu
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Won't Fix
|
Undecided
|
Unassigned | ||
OpenStack Compute (nova) |
Fix Released
|
High
|
Zhenguo Niu | ||
Liberty |
Fix Released
|
High
|
Zhenguo Niu |
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_
patch = [{'op': 'add',
'path': '/extra/
'value': port_id}]
self.
we should check whether the mac addresses match between vif and pif before setting the 'vif_port_id'.
Changed in nova: | |
assignee: | nobody → Zhenguo Niu (niu-zglinux) |
description: | updated |
description: | updated |
tags: | added: ironic |
Changed in ironic: | |
status: | New → Won't Fix |
tags: | added: mitaka-rc-potential |
Changed in nova: | |
importance: | Undecided → High |
Changed in nova: | |
assignee: | Zhenguo Niu (niu-zglinux) → sivaramakrishna (sivaramakrishna-g) |
Changed in nova: | |
assignee: | sivaramakrishna (sivaramakrishna-g) → Zhenguo Niu (niu-zglinux) |
Changed in nova: | |
assignee: | Zhenguo Niu (niu-zglinux) → sivaramakrishna (sivaramakrishna-g) |
Changed in nova: | |
assignee: | sivaramakrishna (sivaramakrishna-g) → Zhenguo Niu (niu-zglinux) |
tags: | removed: mitaka-rc-potential |
To post a comment you must log in.
Add Ironic as a affected project to aware ironic guys, this should be fixed in nova side.