Fuel UI allows to configure only 10 NICs

Bug #1308036 reported by Alexander Rubtsov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Ryan Moe

Bug Description

Steps to reproduce:
1. Launch node that has more than 10 NICs to bootstrap mode
2. Mark this node on the "Nodes" tab and click "Configure interfaces"

Expected result:
I can map network roles to any interface

Actual result:
I can map network roles only to interfaces eth0-eth9

Revision history for this message
Alexander Rubtsov (arubtsov) wrote :
Revision history for this message
Alexander Rubtsov (arubtsov) wrote :
tags: added: customer-found
Mike Scherbakov (mihgen)
Changed in fuel:
milestone: none → 5.0
Changed in fuel:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Fuel UI Team (fuel-ui)
Ivan Kolodyazhny (e0ne)
Changed in fuel:
assignee: Fuel UI Team (fuel-ui) → Ivan Kolodyazhny (e0ne)
Revision history for this message
Ivan Kolodyazhny (e0ne) wrote :

Issue is not reproducible on Fake UI

Changed in fuel:
assignee: Ivan Kolodyazhny (e0ne) → Fuel UI Team (fuel-ui)
Revision history for this message
Vitaly Kramskikh (vkramskikh) wrote :

Most likely an agent issue. UI doesn't have such kind of limitations

Ryan Moe (rmoe)
Changed in fuel:
assignee: Fuel UI Team (fuel-ui) → Ryan Moe (rmoe)
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix proposed to fuel-web (master)

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

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/88687
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=622487c5d52e060371d91c10f9520f19aecfecfe
Submitter: Jenkins
Branch: master

commit 622487c5d52e060371d91c10f9520f19aecfecfe
Author: Ryan Moe <email address hidden>
Date: Fri Apr 18 12:29:28 2014 -0700

    Fix interface type check in nailgun agent

    The regular expression used in ohai to determine interface type
    doesn't work with interfaces containing more than one digit (e.g.
    eth10). Consequently the "type" is returned as eth1 instead of eth
    for all interfaces above eth9 and the agent skips them.

    Ohai bug here: https://tickets.opscode.com/browse/OHAI-571

    Change-Id: Ib302542255ec25bee43e4f012d66658219ec1710
    Closes-bug: #1308036

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Mike Scherbakov (mihgen) wrote :

Do we have a fix for ohai? Otherwise how proposed fix https://review.openstack.org/88687 is going to deal with this issue?

Revision history for this message
Ryan Moe (rmoe) wrote :

This problem was caused because ohai has a broken regex (see ohai bug in the commit message). What happens is that when you have an interface like eth10 ohai sets the type to "eth1" instead of "eth". The agent was skipping all interfaces != "eth". This change works around the issue by only skipping interfaces that don't start with "eth". This way interfaces with type |eth1", or "eth2" or whatever won't be skipped.

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.