2019-07-31 18:46:34 |
David A. Desrosiers |
bug |
|
|
added bug |
2019-07-31 18:49:23 |
Bryan Quigley |
bug |
|
|
added subscriber Bryan Quigley |
2019-08-08 03:00:49 |
Matthew Ruffell |
description |
[impact]
This was discovered at a customer site and affects all of their Bionic installs that have Micron NVME drives.
The version of nvme-cli present in Ubuntu 18.04 Bionic Beaver (1.5-1) does not include support to manage updating the firmware on Micron NVME drives.
$ rmadison nvme-cli -a amd64
nvme-cli | 1.5-1 | bionic/universe | amd64
nvme-cli | 1.6-1 | cosmic/universe | amd64
nvme-cli | 1.7-1 | disco/universe | amd64
Version 1.6-1 and later versions do include this support, and can be used by rebuilding the package from upstream source as a static binary... not ideal, but a workaround.
In lieu of pulling 1.7 from Disco back into Cosmic -> Bionic, can we cherry-pick this specific commit and backport it into 1.5 in Bionic?
Or, can we do a micro-release of 1.6 into Bionic?
https://github.com/linux-nvme/nvme-cli/releases/tag/v1.6
[test case]
Install nvme-cli from Bionic, and attempt to update firmware for any Micron NVME drive, using a command similar to the below. It will fail, as the drive is not supported.
nvme micron select-download /dev/<nvme_device>n1 --fw ./Micron_9200_FW-101008S0.tar --select=ALL
[other info]
The specific commit that adds the needed support for these drives appears to be:
https://github.com/linux-nvme/nvme-cli/pull/353/commits/0124daa3331602365d009a9e8229454c41931c07 |
[Impact]
This was discovered at a customer site and affects all of their Bionic installs that have Micron NVMe drives.
The version of nvme-cli present in Ubuntu 18.04 Bionic Beaver (1.5-1) does not include support to manage updating the firmware on Micron NVMe drives. The missing support also means that the customer cannot format their block size to 4k, as needed by Ceph.
Version 1.6-1 and later versions do include this support, and can be used by rebuilding the package from upstream source as a static binary. This is not ideal, but a workaround.
[Test Case]
Install nvme-cli from Bionic, and attempt to update firmware for any Micron NVMe drive, using a command similar to the below. It will fail, as the drive is not supported.
$ nvme micron select-download /dev/<nvme_device>n1 --fw ./Micron_9200_FW-101008S0.tar --select=ALL
With the upstream commit patched into place, we can verify the subcommands function with:
$ nvme micron
This will display the help screen and a list of supported commands.
$ nvme micron select-download
This will show the help page for firmware updating, and required arguments. Running again with the arguments from the first example will update the firmware on the drives successfully.
You can find a test package for Bionic here:
https://launchpad.net/~mruffell/+archive/ubuntu/sf237119-test
[Regression Potential]
The opportunity for regression is low. The Micron support is implemented as a plugin for the application and the changes are more or less standalone. The code paths can only be accessed via "nvme micron" subcommands.
If a regression happens, then users should refrain from running "nvme micron" commands while the package is fixed.
[Other Info]
The commit that adds support for Micron drives is:
commit 0124daa3331602365d009a9e8229454c41931c07
Author: Stephen Tubbs <stubbs@micron.com>
Date: Wed May 9 07:06:03 2018 -0700
Subject: Add support for Micron plugin
https://github.com/linux-nvme/nvme-cli/commit/0124daa3331602365d009a9e8229454c41931c07
This commit landed in version 1.6, and is present in the following distros:
$ rmadison nvme-cli -a amd64
nvme-cli | 1.5-1 | bionic/universe | amd64
nvme-cli | 1.6-1 | cosmic/universe | amd64
nvme-cli | 1.7-1 | disco/universe | amd64
nvme-cli | 1.7-1 | eoan/universe | amd64
There is a minor backport required for the commit into version 1.5, and that is in the Makefile. Some other plugins which are not currently present are in the patch, and needed to be removed from the OBJS line. |
|
2019-08-08 03:01:21 |
Matthew Ruffell |
nominated for series |
|
Ubuntu Bionic |
|
2019-08-08 03:01:21 |
Matthew Ruffell |
bug task added |
|
nvme-cli (Ubuntu Bionic) |
|
2019-08-08 03:01:29 |
Matthew Ruffell |
nvme-cli (Ubuntu Bionic): status |
New |
In Progress |
|
2019-08-08 03:01:32 |
Matthew Ruffell |
nvme-cli (Ubuntu Bionic): importance |
Undecided |
Medium |
|
2019-08-08 03:01:36 |
Matthew Ruffell |
nvme-cli (Ubuntu Bionic): assignee |
|
Matthew Ruffell (mruffell) |
|
2019-08-15 22:40:37 |
Matthew Ruffell |
tags |
|
sts |
|
2019-10-01 21:48:08 |
Matthew Ruffell |
attachment added |
|
nvme-cli debdiff for bionic https://bugs.launchpad.net/ubuntu/+source/nvme-cli/+bug/1838555/+attachment/5293353/+files/lp1838555_bionic.debdiff |
|
2019-10-01 21:48:28 |
Matthew Ruffell |
tags |
sts |
sts sts-sponsor |
|
2019-10-01 21:51:10 |
Matthew Ruffell |
attachment added |
|
nvme-cli debdiff for bionic https://bugs.launchpad.net/ubuntu/+source/nvme-cli/+bug/1838555/+attachment/5293354/+files/lp1838555_bionic.debdiff |
|
2019-10-01 21:51:21 |
Matthew Ruffell |
attachment removed |
nvme-cli debdiff for bionic https://bugs.launchpad.net/ubuntu/+source/nvme-cli/+bug/1838555/+attachment/5293353/+files/lp1838555_bionic.debdiff |
|
|
2019-10-01 22:46:03 |
Eric Desrochers |
bug |
|
|
added subscriber STS Sponsors |
2019-10-01 22:46:11 |
Eric Desrochers |
nvme-cli (Ubuntu): status |
New |
Fix Released |
|
2019-10-02 07:27:58 |
Dan Streetman |
bug |
|
|
added subscriber Dan Streetman |
2019-10-04 14:04:26 |
Eric Desrochers |
nvme-cli (Ubuntu Bionic): importance |
Medium |
Wishlist |
|
2019-10-06 04:40:53 |
Dave Chiluk |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2019-10-07 00:41:57 |
Eric Desrochers |
removed subscriber STS Sponsors |
|
|
|
2019-10-07 00:42:03 |
Eric Desrochers |
bug |
|
|
added subscriber Eric Desrochers |
2019-10-07 13:09:14 |
Łukasz Zemczak |
nvme-cli (Ubuntu Bionic): status |
In Progress |
Fix Committed |
|
2019-10-07 13:09:16 |
Łukasz Zemczak |
bug |
|
|
added subscriber SRU Verification |
2019-10-07 13:09:20 |
Łukasz Zemczak |
tags |
sts sts-sponsor |
sts sts-sponsor verification-needed verification-needed-bionic |
|
2020-01-07 21:25:38 |
Matthew Ruffell |
tags |
sts sts-sponsor verification-needed verification-needed-bionic |
sts sts-sponsor verification-done-bionic |
|
2020-01-13 08:00:21 |
Łukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2020-01-13 08:10:25 |
Launchpad Janitor |
nvme-cli (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|