Mellanox ethernet driver is not auto loaded

Bug #1501309 reported by Evgeny Kozhemyakin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
High
Unassigned
6.1.x
Fix Released
High
MOS Maintenance
7.0.x
Invalid
High
Unassigned

Bug Description

Fuel: 6.1
OS: CentOS
mlx4_core: 2.2
kernel: 2.6.32-504

On nodes with CentOS provisioned loading Mellanox core driver (mlx4_core)
does not cause loading Mellanox ethernet driver (mlx4_en).

Bootstrap and Ubuntu are OK. They supplied with another mlx4 version.

One of possible workarounds is
echo "install mlx4_core /sbin/modprobe --ignore-install mlx4_core && /sbin/modprobe mlx4_en" > /etc/modprobe.d/mlx.conf

Changed in fuel:
milestone: none → 6.1-updates
tags: added: customer-found
no longer affects: fuel
Changed in fuel-plugins:
milestone: none → 6.1
Revision history for this message
Evgeny Kozhemyakin (ekozhemyakin) wrote :

Ooops. Sorry, I've fogotten to mention, the issue is not related to mellanox plugin.
It's just about CentOS supplied with MOS.

affects: fuel-plugins → fuel
Changed in fuel:
milestone: 6.1 → none
milestone: none → 6.1-updates
importance: Undecided → High
Stanislav Makar (smakar)
Changed in fuel:
assignee: nobody → Fuel Maintainers (fuel-maintainers)
Changed in fuel:
assignee: Fuel Maintainers (fuel-maintainers) → MOS Linux (mos-linux)
assignee: MOS Linux (mos-linux) → MOS Maintenance (mos-maintenance)
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
assignee: MOS Maintenance (mos-maintenance) → Fuel Library Team (fuel-library)
Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :

This is possibly related to IBP and preparing the modprobe conf during provisioning

Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 6.1-updates → 8.0
status: New → Confirmed
Revision history for this message
Andrey Danin (gcon-monolake) wrote :

Found the corresponded bug https://bugs.launchpad.net/maas/+bug/1115710

There is Mellanox plugin for 6.1 which provides an ability to just install OFED drivers but not enable Mellanox-specific functions. So, I'd recommend to use the plugin instead of manual workarounds.

Changed in fuel:
status: Confirmed → In Progress
assignee: Fuel Library Team (fuel-library) → Maksim Malchuk (mmalchuk)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/6.1)

Fix proposed to branch: stable/6.1
Review: https://review.openstack.org/238075

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

Fix proposed to branch: stable/6.1
Review: https://review.openstack.org/238243

Dmitry Pyzhov (dpyzhov)
tags: added: area-library
Revision history for this message
Maksim Malchuk (mmalchuk) wrote :

For QA, how-to check this fix:
1. provision nodes, and check each node.
2. deploy cluster with centos nodes, than check again on each node.
3. deploy cluster with classic (anaconda/kickstart) method, then check again on each node.

steps to check:
1. modprobe mlx4_core
2. lsmod | grep mlx

lsmod should show mlx4_en module loaded together with mlx4_core

Dmitry Pyzhov (dpyzhov)
Changed in fuel:
status: In Progress → Invalid
status: Invalid → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (stable/7.0)

Fix proposed to branch: stable/7.0
Review: https://review.openstack.org/241142

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-library (stable/6.1)

Change abandoned by Maksim Malchuk (<email address hidden>) on branch: stable/6.1
Review: https://review.openstack.org/238075

Revision history for this message
Maksim Malchuk (mmalchuk) wrote :

Fix proposed to branch: stable/6.1
Review: https://review.openstack.org/#/c/238243/

Roman Rufanov (rrufanov)
tags: added: support
Revision history for this message
Sergii Golovatiuk (sgolovatiuk) wrote :

The bug is invalid for master branch as we still have Centos 6.5 bootstrap. However I think there should be some note or update in CentOS 7 feature.

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

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-main (master)

Change abandoned by Maksim Malchuk (<email address hidden>) on branch: master
Review: https://review.openstack.org/247765
Reason: https://review.openstack.org/#/c/248115/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-main (stable/7.0)

Change abandoned by Maksim Malchuk (<email address hidden>) on branch: stable/7.0
Review: https://review.openstack.org/241142
Reason: https://review.openstack.org/#/c/248115/

Changed in fuel:
status: In Progress → Won't Fix
Changed in fuel:
assignee: Maksim Malchuk (mmalchuk) → nobody
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (stable/6.1)

Reviewed: https://review.openstack.org/238243
Committed: https://git.openstack.org/cgit/openstack/fuel-main/commit/?id=bc1b52fbf0703b3a84239b699378c064ae0a4d3c
Submitter: Jenkins
Branch: stable/6.1

commit bc1b52fbf0703b3a84239b699378c064ae0a4d3c
Author: Maksim Malchuk <email address hidden>
Date: Wed Oct 21 23:42:09 2015 +0300

    Mellanox ethernet driver (mlx4_en) autoloading together with core driver

    Mellanox ethernet driver (mlx4_en) should be loaded together together with
    core driver (mlx4_core).

    This fix for default CentOS provision image taken from the libmlx4 package.

    Change-Id: Ic1c26ff610fc657d05a854e81cf3681f3eeb0c45
    Closes-Bug: #1501309

tags: added: on-verification
tags: removed: on-verification
Changed in fuel:
status: Won't Fix → Invalid
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.