ironic-agent element hardcodes interfaces names for DHCP.

Bug #1471802 reported by Om Kumar on 2015-07-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
diskimage-builder
High
Om Kumar

Bug Description

code snippet from element/ironic-agent/post-install.d/80-ironic-agent

 #configs for additional interfaces
 SYSCONFIG_PATH=/etc/sysconfig/network-scripts
for IFACE_NUM in 1 2
do
    sudo cp $SYSCONFIG_PATH/ifcfg-eth0 $SYSCONFIG_PATH/ifcfg-eth$IFACE_NUM
    sudo sed -i "s/eth0/eth$IFACE_NUM/g" $SYSCONFIG_PATH/ifcfg-eth$IFACE_NUM
done

Om Kumar (om-kumar) on 2015-07-06
Changed in diskimage-builder:
assignee: nobody → Om Kumar (om-kumar)
Changed in diskimage-builder:
status: New → In Progress

Reviewed: https://review.openstack.org/198720
Committed: https://git.openstack.org/cgit/openstack/diskimage-builder/commit/?id=870ea5bb5e15115c801cb14bb463b1e8496fe315
Submitter: Jenkins
Branch: master

commit 870ea5bb5e15115c801cb14bb463b1e8496fe315
Author: Om Kumar <email address hidden>
Date: Mon Jul 6 19:09:05 2015 +0530

    Removes hardcoded refrences for ethernet interface

    Remove hardcoded refrences for ethernet interfaces from ironic-agent
    and sets a dependency on dhcp-all-interfaces to ensure it works for
    all interfaces for all other operating systems.

    Change-Id: I7ae6d1c5bd9911ef3db45187c0010cf0973badf1
    Closes-Bug: #1471802

Changed in diskimage-builder:
status: In Progress → Fix Committed
Changed in diskimage-builder:
importance: Undecided → High
Changed in diskimage-builder:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers