[fuel-master]Install process with Advansed 'Static' method not work

Bug #1533652 reported by Aleksey Zvyagintsev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Aleksey Zvyagintsev
8.0.x
Fix Released
High
Aleksey Zvyagintsev

Bug Description

Master kickstart(dracut\anaconda and bootstrap_admin_node.sh phases ) use wrong nic naming in case real hardware(Dell)
Adminif (mac passed with cmdline ) = eno1

udevadm info --query=property -p /sys/class/net/eno1
DEVPATH=/devices/pci0000:00/0000:00:03.0/0000:01:00.0/net/eno1
ID_BUS=pci
ID_MODEL_FROM_DATABASE=Gigabit 4P I350-t rNDC
ID_MODEL_ID=0x1521
ID_NET_LABEL_ONBOARD=enNIC1
ID_NET_NAME_MAC=enxecf4bbcd45e0
ID_NET_NAME_ONBOARD=eno1 <<< actual name. which not exist on vm with e1000
ID_NET_NAME_PATH=enp1s0f0 <<<<<fetched by ks for save
ID_OUI_FROM_DATABASE=Dell Inc
ID_PCI_CLASS_FROM_DATABASE=Network controller
ID_PCI_SUBCLASS_FROM_DATABASE=Ethernet controller
ID_VENDOR_FROM_DATABASE=Intel Corporation
ID_VENDOR_ID=0x8086
IFINDEX=2
INTERFACE=eno1
SUBSYSTEM=net
SYSTEMD_ALIAS=/sys/subsystem/net/devices/eno1
TAGS=:systemd:
USEC_INITIALIZED=1321

Changed in fuel:
milestone: none → 9.0
importance: Undecided → High
Ilya Kutukov (ikutukov)
Changed in fuel:
status: New → Confirmed
assignee: nobody → Fuel Python Team (fuel-python)
assignee: Fuel Python Team (fuel-python) → nobody
Changed in fuel:
assignee: nobody → Aleksey Zvyagintsev (azvyagintsev)
status: Confirmed → In Progress
tags: added: module-master-node-installation
tags: added: fuel-main
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (master)

Reviewed: https://review.openstack.org/266894
Committed: https://git.openstack.org/cgit/openstack/fuel-main/commit/?id=64f89160a361967e4ea32d12c25c6a14c72a01ba
Submitter: Jenkins
Branch: master

commit 64f89160a361967e4ea32d12c25c6a14c72a01ba
Author: alexz <email address hidden>
Date: Wed Jan 13 14:54:40 2016 +0200

    Fix 'adminf' fetching logic

     * Backup ifcfg-* files, not remove
     * Backup ifcfg-* file only if its really needed
     * Check for existing ID_NET_NAME_ONBOARD, ID_NET_NAME_SLOT, ID_NET_NAME_PATH
       (in order) in sys net class, and chose first one.

    In case of real hardware, anaconda can spawn dracut with ID_NET_NAME_ONBOARD
    nic naming. Otherwise, our "Advanced install" logic fetch nic.name by another
    key. Its totally brake "Advanced install" feature

    Closes-bug: #1533652
    Partial-bug: #1533239

    Change-Id: I18d8a8350f134c73dc7a83202facf6ee7b4fc6f9

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (stable/8.0)

Fix proposed to branch: stable/8.0
Review: https://review.openstack.org/268148

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (stable/8.0)

Reviewed: https://review.openstack.org/268148
Committed: https://git.openstack.org/cgit/openstack/fuel-main/commit/?id=44635570b2ab49b1261f40137b5271261a454ade
Submitter: Jenkins
Branch: stable/8.0

commit 44635570b2ab49b1261f40137b5271261a454ade
Author: alexz <email address hidden>
Date: Wed Jan 13 14:54:40 2016 +0200

    Fix 'adminf' fetching logic

     * Backup ifcfg-* files, not remove
     * Backup ifcfg-* file only if its really needed
     * Check for existing ID_NET_NAME_ONBOARD, ID_NET_NAME_SLOT, ID_NET_NAME_PATH
       (in order) in sys net class, and chose first one.

    In case of real hardware, anaconda can spawn dracut with ID_NET_NAME_ONBOARD
    nic naming. Otherwise, our "Advanced install" logic fetch nic.name by another
    key. Its totally brake "Advanced install" feature

    Closes-bug: #1533652
    Partial-bug: #1533239

    Change-Id: I18d8a8350f134c73dc7a83202facf6ee7b4fc6f9
    (cherry picked from commit 64f89160a361967e4ea32d12c25c6a14c72a01ba)

Changed in fuel:
status: Fix Committed → Won't Fix
status: Won't Fix → Fix Released
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.