The OneView's driver is missing validate connections if using the OneView ML2 Driver.

Bug #1666211 reported by Hugo Nicodemos Brito
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Won't Fix
Medium
Hugo Nicodemos Brito

Bug Description

Previously, the Ironic OneView driver validated if the node was using a correct MAC and if it was physical. Now, if the user is using the OneView ML2 Driver, a new validation of the local_link_connection field and pxe_enabled is needed.

Tags: oneview
Changed in ironic:
assignee: nobody → Hugo Nicodemos (hugonicodemos)
status: New → In Progress
Revision history for this message
Vladyslav Drok (vdrok) wrote :

The patch is here - https://review.openstack.org/377106.

Could you please comment on the questions raised there? After patch https://review.openstack.org/415881 ports without valid local_link_connection information will not be picked, and requests to do actions on such ports won't get to the ML2 driver. In that patch, we only validate that llc is not empty, because the actual content of it is validated on the api side.

Changed in ironic:
status: In Progress → Incomplete
Changed in ironic:
status: Incomplete → In Progress
Revision history for this message
Vladyslav Drok (vdrok) wrote :

OK, so the issue here is, the oneview ml2 driver relies on the information stored in switch_info, and you need a way to validate it. Maybe a thin wrapper around neutron network interface that would do the validation you need while not giving the impression that this is now required for all network interfaces is an option for you? I don't see other way to solve it ATM, so confirming.

Changed in ironic:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on ironic (master)

Change abandoned by Andre Aranha (<email address hidden>) on branch: master
Review: https://review.openstack.org/377106
Reason: python-oneviewclient will be migrated to hponeview, and this modification will be implemented there

Revision history for this message
Julia Kreger (juliaashleykreger) wrote :

Oneview was removed from Ironic.

Changed in ironic:
status: In Progress → 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.