nvme-cli 1.5 in Bionic does not support Micron NVME drives
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvme-cli (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Wishlist
|
Matthew Ruffell |
Bug 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. 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_
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:/
[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 0124daa33316023
Author: Stephen Tubbs <email address hidden>
Date: Wed May 9 07:06:03 2018 -0700
Subject: Add support for Micron plugin
https:/
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.
description: | updated |
Changed in nvme-cli (Ubuntu Bionic): | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Matthew Ruffell (mruffell) |
tags: | added: sts |
Changed in nvme-cli (Ubuntu): | |
status: | New → Fix Released |
Test package was successfully validated against Micron NVMe devices.
Attached is the debdiff for nvme-cli for bionic.