update hpsa module

Bug #1425116 reported by Evgeny Kozhemyakin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
High
Albert Syriy
5.1.x
Won't Fix
High
Albert Syriy
6.0.x
Fix Released
High
Albert Syriy

Bug Description

hpsa module in bootstrap and CentOS should be updated to newest version (3.4.x at least).
The current one doesn't support modern controllers (HP Smart Array P244br).

tags: added: customer-found
tags: added: mos-linux
Revision history for this message
Michael Semenov (msemenov) wrote :

Albert, please provide a brief update for all MOS versions by comment.

Changed in mos:
milestone: none → 6.1
assignee: nobody → asyriy (asyriy)
importance: Undecided → High
status: New → Triaged
Revision history for this message
Albert Syriy (asyriy) wrote :

The custom kernel 3.10.55 with updates and back-ported security patches are used for bootstrap (for all Fuels 5.x , 6.x).
The kernel was originate from Fedora or CentOs, investigating it now.
The hpsa module are available for 3.10.0 kernel from Red Hat.
http://rpms.famillecollet.com/rpmphp/zoom.php?rpm=hpsa&pkgdb=1

The task adding hpsa module to bootstrap are in progress now.

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/4742
project: packages/centos6/kernel-lt
branch: 6.0.1
author: Albert Syriy
committer: Albert Syriy
subject: The hpsa driver sources updated to ver 3.4.4 in linux-3.10.55.tar.xz file, LP# 1425116
status: patchset-created

Files placed on repository:
kernel-lt-3.10.55-1.mira2.x86_64.rpm
kernel-lt-devel-3.10.55-1.mira2.x86_64.rpm
kernel-lt-headers-3.10.55-1.mira2.x86_64.rpm
perf-3.10.55-1.mira2.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-4742/centos

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

The kernel 3.10.55 with hpsa 3.4.4 driver has been built.
The link to the packages:
http://osci-obs.vm.mirantis.net:82/centos-fuel-6.0.1-stable-4742/centos

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

The kernel for CentOs 6.5 (2.5.32-504.1.3.el6) has had the hpsa driver updated
--- Quotation from hpsa.c -----
#define HPSA_DRIVER_VERSION "3.4.4-1-RH2"

---- End of the quotation ------

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

The commit with updated driver is
https://review.fuel-infra.org/#/c/4742/

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/4742
project: packages/centos6/kernel-lt
branch: 6.0.1
author: Albert Syriy
committer: Albert Syriy
subject: The hpsa driver sources updated to ver 3.4.4 in linux-3.10.55.tar.xz file, LP# 1425116
status: patchset-created

Files placed on repository:
kernel-lt-3.10.55-1.mira2.x86_64.rpm
kernel-lt-devel-3.10.55-1.mira2.x86_64.rpm
kernel-lt-headers-3.10.55-1.mira2.x86_64.rpm
perf-3.10.55-1.mira2.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-4742/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/4742
project: packages/centos6/kernel-lt
branch: 6.0.1
author: Albert Syriy
committer: Albert Syriy
subject: The hpsa driver sources updated to ver 3.4.4 in linux-3.10.55.tar.xz file, LP# 1425116
status: change-merged

Files placed on repository:
kernel-lt-3.10.55-1.mira2.x86_64.rpm
kernel-lt-devel-3.10.55-1.mira2.x86_64.rpm
kernel-lt-headers-3.10.55-1.mira2.x86_64.rpm
perf-3.10.55-1.mira2.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

Albert Syriy (asyriy)
Changed in mos:
status: Triaged → In Progress
Revision history for this message
OSCI Robot (oscirobot) wrote :

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/4898
project: packages/centos6/kernel-lt
branch: 6.1
author: Albert Syriy
committer: Albert Syriy
subject: The hpsa driver sources updated to ver 3.4.4 in linux-3.10.55.tar.xz file, LP# 1425116
status: patchset-created

Files placed on repository:

NOTE: Changeset is not merged, created temporary package repository.
 repository URL: /centos-fuel-6.1-stable-4898/

Albert Syriy (asyriy)
Changed in mos:
status: In Progress → Fix Committed
Revision history for this message
OSCI Robot (oscirobot) wrote :

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/4898
project: packages/centos6/kernel-lt
branch: 6.1
author: Albert Syriy
committer: Albert Syriy
subject: The hpsa driver sources updated to ver 3.4.4 in linux-3.10.55.tar.xz file, LP# 1425116
status: change-merged

Files placed on repository:

Changeset merged. Package placed on primary repository
 repository URL: /centos-fuel-6.1-stable/

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Change abandoned on packages/centos6/kernel-lt (5.1.2)

Change abandoned by Albert Syriy <email address hidden> on branch: 5.1.2
Review: https://review.fuel-infra.org/4900
Reason: Roll back the commit

Changed in mos:
status: Fix Committed → New
Albert Syriy (asyriy)
Changed in mos:
status: New → Fix Committed
Revision history for this message
Kyrylo Romanenko (kromanenko) wrote :

On CentOS:
# modinfo hpsa
filename: /lib/modules/2.6.32-504.1.3.el6.x86_64/kernel/drivers/scsi/hpsa.ko
license: GPL
version: 3.4.4-1-RH2

and how to check it in bootstrap?

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "6.1"
  openstack_version: "2014.2.2-6.1"
  api: "1.0"
  build_number: "395"
  build_id: "2015-05-08_11-08-49"
  nailgun_sha: "46f55c293e4540d31bcaa6ca3fba77235fb27537"
  python-fuelclient_sha: "af6c9c3799b9ec107bcdc6dbf035cafc034526ce"
  astute_sha: "6a4dcd11c67af2917815f3678fb594c7412a4c97"
  fuel-library_sha: "f385d6a58298c702f8d4f14c452dcffdc0b1e2a3"
  fuel-ostf_sha: "740ded337bb2a8a9b3d505026652512257375c01"
  fuelmain_sha: "3eca5e8f7ca6a83faff5feeca92c21cff31c0af1"

Revision history for this message
Albert Syriy (asyriy) wrote : Re: [Bug 1425116] Re: update hpsa module
Download full text (3.5 KiB)

Hello,

Actually the newer driver version 3.4.8 has been merged.
To check how the driver works you need server with the RAID. (It has been
checked on HP DL 360 Gen 9 using a customer server).

To check just a driver version you should deploy Fuel, but not installed
Ubuntu or CentOS.
Than login to the node in bootstrap mode and check the driver by the command

modinfo <path_to_driver>/hpsa.ko

You should see the driver version and kernel version for which it was
compiled.

The alternative way is unpack initramfs and type the command modinfo hpsa.ko

To extract initramfs you should
1. Mount ISO
sudo mkdir /mnt/iso
sudo mount -o loop -t iso9660 -r <fuel-name>.iso /mnt/iso
2. Copy initramfs to /tmp/initramfs
sudo mkdir /tmp/initramfs
cp /mnt/iso/bootstrap/initramfs.img /tmp/initramfs/
3. Unpack the initramfs
cd /tmp/initramfs
mv initramfs.img initramfs.img.gz
gunzip initramfs.img.gz
mkdir initramfs-new
cd initramfs-new/
cpio -i < ../initramfs.img
3. You will have unpacked image initramfs in the initramfs-new directory.
Check driver version by the command
modinfo lib/modules/3.10.55-1.mira4.x86_64/kernel/drivers/scsi/hpsa.ko

You will get something like
filename:
/tmp/initramfs/initramfs-new/lib/modules/3.10.55-1.mira4.x86_64/kernel/drivers/scsi/hpsa.ko
license: GPL
version: 3.4.8-140
description: Driver for HP Smart Array Controller version 3.4.8-140
(d16/s100)
author: Hewlett-Packard Company
srcversion: 4FDFEB1A6E7951CA6386DB9
...
intree: Y
vermagic: 3.10.55-1.mira4.x86_64 SMP mod_unload modversions
parm: hpsa_allow_any:Allow hpsa driver to access unknown HP Smart
Array hardware (int)
parm: hpsa_simple_mode:Use 'simple mode' rather than 'performant
mode' (int)
parm: reply_queues:Specify desired number of reply queues. 1-16,
default is 4, not to exceed number of online CPUs. (int)

4. Don't forget unmount the iso and clean-up the folders, files.

With Best Regards,
Albert

Albert Syriy,

Software Engineer,
Mirantis

On Fri, May 15, 2015 at 12:07 PM, Kyrylo Romanenko <email address hidden>
wrote:

> On CentOS:
> # modinfo hpsa
> filename:
> /lib/modules/2.6.32-504.1.3.el6.x86_64/kernel/drivers/scsi/hpsa.ko
> license: GPL
> version: 3.4.4-1-RH2
>
> and how to check it in bootstrap?
>
> VERSION:
> feature_groups:
> - mirantis
> production: "docker"
> release: "6.1"
> openstack_version: "2014.2.2-6.1"
> api: "1.0"
> build_number: "395"
> build_id: "2015-05-08_11-08-49"
> nailgun_sha: "46f55c293e4540d31bcaa6ca3fba77235fb27537"
> python-fuelclient_sha: "af6c9c3799b9ec107bcdc6dbf035cafc034526ce"
> astute_sha: "6a4dcd11c67af2917815f3678fb594c7412a4c97"
> fuel-library_sha: "f385d6a58298c702f8d4f14c452dcffdc0b1e2a3"
> fuel-ostf_sha: "740ded337bb2a8a9b3d505026652512257375c01"
> fuelmain_sha: "3eca5e8f7ca6a83faff5feeca92c21cff31c0af1"
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/1425116
>
> Title:
> update hpsa module
>
> Status in Mirantis OpenStack:
> Fix Committed
> Status in Mirantis OpenStack 5.1.x series:
> In Progress
> Status in Mirantis OpenStack 6.0-updates...

Read more...

Revision history for this message
Kyrylo Romanenko (kromanenko) wrote :

On bootstrapped node version is 3.4.4-1-RH1
[root@bootstrap ~]# modinfo hpsa
filename: /lib/modules/3.10.55-1.mira4.x86_64/kernel/drivers/scsi/hpsa.ko
license: GPL
version: 3.4.4-1-RH1
description: Driver for HP Smart Array Controller version 3.4.4-1-RH1

Changed in mos:
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.