Bugzilla – Bug 1218306
[Build 20231220] Unexpected situation found (using NVME disks)
Last modified: 2024-02-16 07:50:13 UTC
## Observation Snapshot 1220 has received new libnvme: -Version: 1.6+5.g68c6ffb +Version: 1.7.1+0.g13ba383 and nvme-cli: 5-Version: 2.6 6+Version: 2.7 YaST / installer seems not able to interpret their outputs Will try to reproduce locally in order to get better logs - openQA only has the yui-log.txt, which is not a lot of info openQA test in scenario opensuse-Tumbleweed-DVD-x86_64-nvme@uefi fails in [disable_online_repos](https://openqa.opensuse.org/tests/3829554/modules/disable_online_repos/steps/1) ## Test suite description Maintainer: rbrown@suse.de; Basic installation test to confirm that installing and booting to an nvme as your root disk works ## Reproducible Fails since (at least) Build [20231220](https://openqa.opensuse.org/tests/3828924) ## Expected result Last good: [20231219](https://openqa.opensuse.org/tests/3825818) (or more recent) ## Further details Always latest result in this scenario: [latest](https://openqa.opensuse.org/tests/latest?arch=x86_64&distri=opensuse&flavor=DVD&machine=uefi&test=nvme&version=Tumbleweed)
Created attachment 871503 [details] y2log, extracted from an openQA worker instance
2023-12-21 05:53:57 <1> install(4030) [libstorage] SystemCmd.cc(execute):371 SystemCmd Executing:"/usr/sbin/parted --script --json /dev/nvme0n1 unit s print" 2023-12-21 05:53:57 <1> install(4030) [libstorage] SystemCmd.cc(execute):372 timestamp [91.455117], 2023-12-21 10:53:57 GMT, 2023-12-21 05:53:57 EST 2023-12-21 05:53:57 <1> install(4030) [libstorage] SystemCmd.cc(step_fork_and_exec):475 child_pid:4801 2023-12-21 05:53:57 <1> install(4030) [libstorage] SystemCmd.cc(add_line):701 line stderr[0] 'Error: /dev/nvme0n1: unrecognised disk label' 2023-12-21 05:53:57 <1> install(4030) [libstorage] SystemCmd.cc(add_line):701 line stdout[0] '{' 2023-12-21 05:53:57 <1> install(4030) [libstorage] SystemCmd.cc(add_line):701 line stdout[1] ' "disk": {' 2023-12-21 05:53:57 <1> install(4030) [libstorage] SystemCmd.cc(add_line):701 line stdout[2] ' "path": "/dev/nvme0n1",' 2023-12-21 05:53:57 <1> install(4030) [libstorage] SystemCmd.cc(add_line):701 line stdout[3] ' "size": "41943040s",' 2023-12-21 05:53:57 <1> install(4030) [libstorage] SystemCmd.cc(add_line):701 line stdout[4] ' "model": "QEMU NVMe Ctrl",' 2023-12-21 05:53:57 <1> install(4030) [libstorage] SystemCmd.cc(add_line):701 line stdout[5] ' "transport": "nvme",' 2023-12-21 05:53:57 <1> install(4030) [libstorage] SystemCmd.cc(add_line):701 line stdout[6] ' "logical-sector-size": 512,' 2023-12-21 05:53:57 <1> install(4030) [libstorage] SystemCmd.cc(add_line):701 line stdout[7] ' "physical-sector-size": 512,' 2023-12-21 05:53:57 <1> install(4030) [libstorage] SystemCmd.cc(add_line):701 line stdout[8] ' "label": "unknown"' 2023-12-21 05:53:57 <1> install(4030) [libstorage] SystemCmd.cc(add_line):701 line stdout[9] ' }' 2023-12-21 05:53:57 <1> install(4030) [libstorage] SystemCmd.cc(add_line):701 line stdout[10] '}' 2023-12-21 05:53:57 <1> install(4030) [libstorage] SystemCmd.cc(step_wait):603 child_retcode:1 2023-12-21 05:53:57 <1> install(4030) [libstorage] SystemCmd.cc(execute):378 stopwatch 0.012523s for "/usr/sbin/parted --script --json /dev/nvme0n1 unit s print" 2023-12-21 05:53:57 <2> install(4030) [libstorage] CmdParted.cc(Parted):78 parted stderr> Error: /dev/nvme0n1: unrecognised disk label 2023-12-21 05:53:57 <1> install(4030) [libstorage] CmdParted.cc(parse):145 device:/dev/nvme0n1 label:unknown region:[0, 41943040, 512 B]
The problem seems to be that the nvme json output changed from "HostID" to "Host ID".
PR: https://github.com/openSUSE/libstorage-ng/pull/971
https://github.com/linux-nvme/nvme-cli/issues/2166 I'll fix this up and double check what if anything else changed.
This is an autogenerated message for OBS integration: This bug (1218306) was mentioned in https://build.opensuse.org/request/show/1139715 Factory / nvme-cli
Fixed in upstream and the package is updated now.