bootstrap Centos can't detect drives on PERC RAID H330/H730/H730P/H830

Bug #1420330 reported by Andrii Bondar
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
High
Albert Syriy
6.1.x
Won't Fix
High
Albert Syriy

Bug Description

Bootstrap kernel doesn't detect this RAID controller.
I don't see any HDD in /dev directory.

Revision history for this message
Andrii Bondar (abondar) wrote :

This issue was fixed this way:

openstack/fuel-main / bootstrap/module.mk:

-KERNEL_PATTERN:=kernel-lt-3.10.*
-KERNEL_FIRMWARE_PATTERN:=linux-firmware*
+KERNEL_PATTERN:=kernel-ml-3.18.*
+KERNEL_FIRMWARE_PATTERN:=kernel-firmware-2.6.32-504*

openstack/fuel-main / requirements-rpm.txt:

-kernel-0:2.6.32-431.20.3.el6.x86_64
-kernel-devel-0:2.6.32-431.20.3.el6.x86_64
-kernel-firmware-0:2.6.32-431.20.3.el6.x86_64
-kernel-headers-0:2.6.32-431.20.3.el6.x86_64
+kernel-2.6.32-504.el6.x86_64
+kernel-devel-2.6.32-504.el6.x86_64
+kernel-firmware-2.6.32-504.el6.noarch
+kernel-headers-2.6.32-504.el6.x86_64

+kernel-ml-3.18.5-1.el6.elrepo.x86_64

Revision history for this message
Andrii Bondar (abondar) wrote :

Mentioned fix provides support for Dell RAID PERC H330 on bootstrap OS only.

Revision history for this message
Aleksander Mogylchenko (amogylchenko) wrote :

What driver and/or firmware are required?

summary: - bootstrap Centos can't delect drives on RAID H330
+ bootstrap Centos can't detect drives on RAID H330
Revision history for this message
Andrii Bondar (abondar) wrote : Re: bootstrap Centos can't detect drives on RAID H330

megaraid_sas kernel module is used to support this hw

Revision history for this message
Andrii Bondar (abondar) wrote :

[root@bootstrap ~]# modinfo megaraid_sas
filename: /lib/modules/3.18.5-1.el6.elrepo.x86_64/kernel/drivers/scsi/megaraid/megaraid_sas.ko
description: LSI MegaRAID SAS Driver
author: <email address hidden>
version: 06.805.06.00-rc1
license: GPL

Changed in fuel:
assignee: nobody → Fuel Library Team (fuel-library)
status: New → Confirmed
importance: Undecided → High
milestone: none → 6.1
Changed in fuel:
assignee: Fuel Library Team (fuel-library) → MOS Linux (mos-linux)
Revision history for this message
Albert Syriy (asyriy) wrote :

We have older version of the megaraid_sas driver on bootstrap

[root@bootstrap] # modinfo bootstrap/initramfs-orig/lib/modules/3.10.55-1.mira1.x86_64/kernel/drivers/scsi/megaraid/megaraid_sas.ko

filename: /tmp/bootstrap/initramfs-orig/lib/modules/3.10.55-1.mira1.x86_64/kernel/drivers/scsi/megaraid/megaraid_sas.ko
description: LSI MegaRAID SAS Driver
author: <email address hidden>
version: 06.506.00.00-rc1
license: GPL

Changed in fuel:
assignee: MOS Linux (mos-linux) → asyriy (asyriy)
Revision history for this message
Albert Syriy (asyriy) wrote :

The commit for bug fixing has been commited
https://review.fuel-infra.org/#/c/5315/

Revision history for this message
Albert Syriy (asyriy) wrote :

Waiting for review and merge

Revision history for this message
Albert Syriy (asyriy) wrote :
Revision history for this message
Albert Syriy (asyriy) wrote :

Waiting for review as well

Revision history for this message
Albert Syriy (asyriy) wrote :

Still waiting for review and merge

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OSCI Robot (oscirobot) wrote :

RPM package megaraid_sas has been built for project packages/centos6/megaraid_sas
Package version == , package release ==

Changeset: https://review.fuel-infra.org/5468
project: packages/centos6/megaraid_sas
branch: 6.0.1
author: Albert Syriy
committer: Albert Syriy
subject: Updating megaraid_sas driver for CentOs LP# 1420330
status: patchset-created

Files placed on repository:
megaraid_sas-06.902.01.00_rhel6.5-.mira1.x86_64.rpm
megaraid_sas-debuginfo-06.902.01.00_rhel6.5-.mira1.x86_64.rpm

NOTE: Changeset is not merged, created temporary package repository.
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-6.0.1-stable-5468/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

RPM package megaraid_sas has been built for project packages/centos6/megaraid_sas
Package version == , package release ==

Changeset: https://review.fuel-infra.org/5468
project: packages/centos6/megaraid_sas
branch: 6.0.1
author: Albert Syriy
committer: Albert Syriy
subject: Updating megaraid_sas driver for CentOs LP# 1420330
status: change-merged

Files placed on repository:
megaraid_sas-06.902.01.00_rhel6.5-.mira1.x86_64.rpm
megaraid_sas-debuginfo-06.902.01.00_rhel6.5-.mira1.x86_64.rpm

Changeset merged. Package placed on primary repository
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-6.0.1-stable/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

RPM package kernel-lt has been built for project packages/centos6/kernel-lt
Package version == 3.10.55, package release == 1

Changeset: https://review.fuel-infra.org/5617
project: packages/centos6/kernel-lt
branch: 6.0.1
author: Albert Syriy
committer: Albert Syriy
subject: The megaraid_sas driver update to ver 06.902.01.00 for support RAID H330 LP 1420330
status: patchset-created

Files placed on repository:
kernel-lt-3.10.55-1.mira3.x86_64.rpm
kernel-lt-devel-3.10.55-1.mira3.x86_64.rpm
kernel-lt-headers-3.10.55-1.mira3.x86_64.rpm
perf-3.10.55-1.mira3.x86_64.rpm

NOTE: Changeset is not merged, created temporary package repository.
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-6.0.1-stable-5617/centos

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to packages/centos6/kernel-lt (6.0.1)

Fix proposed to branch: 6.0.1
Change author: Albert Syriy <email address hidden>
Review: https://review.fuel-infra.org/5617

Changed in fuel:
status: In Progress → Triaged
Revision history for this message
Albert Syriy (asyriy) wrote : Re: bootstrap Centos can't detect drives on RAID H330

A workaround required to compile megaraid_sas driver with the kernel 3.10.55 using on bootstrap, due to some system calls are not present in the kernel. It will take time, so there is a proposal to move the fix to Fuel 7.1, when new kernel will be updated on the bootstrap.

Changed in fuel:
milestone: 6.1 → 7.0
no longer affects: fuel/7.0.x
Changed in fuel:
milestone: 6.1 → 7.0
Revision history for this message
Michael Maring (4-michael-j) wrote :

i was wondering what would be the best way to get this rolled out as i really need this functionality for h330?

Revision history for this message
Mike Scherbakov (mihgen) wrote :

If we use Ubuntu 14.04 based bootstrap with same kernel as we use for slave nodes now, would it solve an issue?

tags: added: customer-found
Revision history for this message
Albert Syriy (asyriy) wrote :

There is a workaround, custom ISO built with kernel 2.6.32 on bootstrap and the driver.
Here the link
http://jenkins-product.srt.mirantis.net:8080/view/custom_iso/job/custom_6.0_iso/75/

summary: - bootstrap Centos can't detect drives on RAID H330
+ bootstrap Centos can't detect drives on PERC RAID H330/H730/H730P/830
summary: - bootstrap Centos can't detect drives on PERC RAID H330/H730/H730P/830
+ bootstrap Centos can't detect drives on PERC RAID H330/H730/H730P/H830
Revision history for this message
Mike Scherbakov (mihgen) wrote :

Albert, can you please contact DevOps team and place bootstrap image to some publicly available storage? It has to be just bootstrap, not the whole Fuel build.
We'd also need to update our release notes with information about this.

tags: added: release-notes
tags: added: release-notes-done
removed: release-notes
Revision history for this message
Albert Syriy (asyriy) wrote :

The MOS 7.0 is going to have new kernel and bootstrap supporting such RAIDs.

Changed in fuel:
status: Triaged → Invalid
tags: added: wontfix-feature
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.