fuel sets p1p1 as primary interface in interfaces for ubuntu

Bug #1430271 reported by Leontii Istomin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Sergii Golovatiuk
6.0.x
Invalid
Undecided
Sergii Golovatiuk

Bug Description

api: '1.0'
astute_sha: 2d61ee42ec6dae3181d292c7769d32e40d463893
auth_required: true
build_id: 2015-03-07_22-54-44
build_number: '173'
feature_groups:
- mirantis
fuellib_sha: d26f3d60cd509865295652ae9115527ea276ae83
fuelmain_sha: 0e45b31db1677651d6ddb1c852d62ebfd8875dcd
nailgun_sha: a9a6578a649a2a006c4810b3d0aa6876ac6e8b83
ostf_sha: 8df5f2fcdae3bc9ea7d700ffd64db820baf51914
production: docker
python-fuelclient_sha: 4eb787f1ad969bd23c93d192865543dbd45a8626
release: '6.1'
release_versions:
  2014.2-6.1:
    VERSION:
      api: '1.0'
      astute_sha: 2d61ee42ec6dae3181d292c7769d32e40d463893
      build_id: 2015-03-07_22-54-44
      build_number: '173'
      feature_groups:
      - mirantis
      fuellib_sha: d26f3d60cd509865295652ae9115527ea276ae83
      fuelmain_sha: 0e45b31db1677651d6ddb1c852d62ebfd8875dcd
      nailgun_sha: a9a6578a649a2a006c4810b3d0aa6876ac6e8b83
      ostf_sha: 8df5f2fcdae3bc9ea7d700ffd64db820baf51914
      production: docker
      python-fuelclient_sha: 4eb787f1ad969bd23c93d192865543dbd45a8626
      release: '6.1'

Baremetal, Ubuntu, HA, Neutron-vlan,Ceph-all, Debug, nova-quotas, 6.1_173
Controllers:3 Computes:47

Deployment can't be finished on provisioning step. Nodes aren't reachable. If connect to a node via IPMI and check output "ip a" then we can see that all interfaces are in down state. Interfaces file doesn't include ethX interfaces. There are only lo and p1p1 interfaces.

If I execute "dhclient eth2", then a node gets address and becomes reachable via ssh

screenshots will be attached.
DG is attached

Revision history for this message
Leontii Istomin (listomin) wrote :
Revision history for this message
Leontii Istomin (listomin) wrote :
Revision history for this message
Leontii Istomin (listomin) wrote :
Dina Belova (dbelova)
Changed in fuel:
assignee: nobody → Ivan Kolodyazhny (e0ne)
status: New → Confirmed
importance: Undecided → High
milestone: none → 6.1
Changed in fuel:
importance: High → Critical
assignee: Ivan Kolodyazhny (e0ne) → nobody
assignee: nobody → Fuel Library Team (fuel-library)
tags: added: l23network
Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :

biosdevname=0?

Revision history for this message
Sergey Vasilenko (xenolog) wrote :

It's a provisioning issue, not l23network

tags: removed: l23network
tags: added: provision
Revision history for this message
Mike Scherbakov (mihgen) wrote :

Leontiy, please ensure that boot kernel params contain "biosdevname=0". If it's there, but you still see an issue, please get back here / mailing list, and we will allocate someone to dig in.
We had this issue before, and it was fully resolved with biosdevname=0.

Revision history for this message
Leontii Istomin (listomin) wrote :

I have tried to add biosdevname=0 and net.ifnames=1 parameters:
[root@fuel ~]# dockerctl shell cobbler
[root@c33e586fa059 ~]# cobbler profile edit --name ubuntu_1404_x86_64 --kopts='ksdevice=bootif lang= locale=en_US text priority=critical netcfg/link_detection_timeout=20 netcfg/dhcp_timeo
=eth0 net.ifnames=1 biosdevname=0'
[root@c33e586fa059 ~]# cobbler sync
Now I can see that some nodes has been provisioned successfully, but some nodes - no.
Wrong nodes during provisioning discovered eth1 interface as interface which connected to admin network. However actually eth2 interface connected to admin network, as bootstrap shows us.

screenshots before, during and after installation are attached.

Revision history for this message
Leontii Istomin (listomin) wrote :

the output of the following command is attached:
cobbler system dumpvars --name node-326

Revision history for this message
Leontii Istomin (listomin) wrote :

It wasn't clear from the previous comment. Default Ubuntu profile doesn't include net.ifnames=1 and biosdevname=0 parameters:
kernel_options : ksdevice=bootif lang= locale=en_US text priority=critical netcfg/link_detection_timeout=20 netcfg/dhcp_timeout=120 netcfg/choose_interface=eth0

Revision history for this message
Leontii Istomin (listomin) wrote :

BTW, we can use Image Base Provisioning as a workaroung.

Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

I guess we should ensure Default Ubuntu profile to include net.ifnames=1 and biosdevname=0

Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Sergii Golovatiuk (sgolovatiuk)
no longer affects: fuel/6.0.x
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

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

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
Leontii Istomin (listomin) wrote :
Revision history for this message
Leontii Istomin (listomin) wrote :

I guess it can be fixed by https://review.openstack.org/164632

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

Reviewed: https://review.openstack.org/164632
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=441b27445122f3376a36cd4260ee42002bb12756
Submitter: Jenkins
Branch: master

commit 441b27445122f3376a36cd4260ee42002bb12756
Author: Sergii Golovatiuk <email address hidden>
Date: Mon Mar 16 10:47:05 2015 +0100

    Disable predictable NIC names

    * specify net.ifnames=0 to disable Predictable NIC names for cobbler
      Ubuntu profiles
    * specify net.ifnames=0 biosdevname=0 in nailgun in order to change NIC
      scheme during preseed provisioning
    * Copy /target/etc/network/interfaces to /etc/network/interfaces as
      finish-install.d/55netcfg-copy-config from netcfg always copies it back to
      /target

    Change-Id: Ice24badd3ccc50c4b10230601cbf06788376c86c
    Closes-Bug: 1430271
    Signed-off-by: Sergii Golovatiuk <email address hidden>

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-library (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/166270

Revision history for this message
Sergii Golovatiuk (sgolovatiuk) wrote :

It's invalid in 6.0 as Fuel used ubuntu 12.04 where this issue was not present

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/166789
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=53e70e35ddcb620cd660616f00a582f57114fce8
Submitter: Jenkins
Branch: master

commit 53e70e35ddcb620cd660616f00a582f57114fce8
Author: Alexander Gordeev <email address hidden>
Date: Mon Mar 23 14:35:41 2015 +0300

    Align default kernel params

    * Add net.ifnames=0 for U14.04
    * Add default biosdevname=0

    Biosdevname is used to disable Consistent Network Device Naming [1]
    Additionally, for systemd net.ifnames should be disabled [2]

    Related-patch: Ice24badd3ccc50c4b10230601cbf06788376c86c

    [1] http://en.wikipedia.org/wiki/Consistent_Network_Device_Naming
    [2] http://www.freedesktop.org/software/systemd/man/systemd-udevd.service.html

    Related-Bug: #1430271
    Change-Id: Ib993f1b238d3909428ec7fd2f012ef0e0c4eab4c

Revision history for this message
Dina Belova (dbelova) wrote :

Fix verified for 6.1 release on #233 ISO.

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