Netdev with underscore causes ValueError in fuel-agent

Bug #1722482 reported by Jan Gutter
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Won't Fix
Medium
Unassigned

Bug Description

When provisioning a node that has an underscore in the netdev name, fuel-agent generates:
    ValueError: too many values to unpack

This is because an underscore is used as a separator between the MAC and netdev name and fuel_agent/utils/provision.py parses the string incorrectly.

The solution is to split the string only on the first underscore, since the MAC address is guaranteed not to have underscores.

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

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

Changed in fuel:
assignee: nobody → Jan Gutter (jangutter)
status: New → In Progress
Changed in fuel:
importance: Undecided → Medium
milestone: none → 11.x-updates
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-agent (master)

Change abandoned by Jan Gutter (<email address hidden>) on branch: master
Review: https://review.openstack.org/510788
Reason: It appears that the fuel-agent project has been abandoned.

Jan Gutter (jangutter)
Changed in fuel:
status: In Progress → Confirmed
Jan Gutter (jangutter)
Changed in fuel:
assignee: Jan Gutter (jangutter) → nobody
Changed in fuel:
status: Confirmed → 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.