2022-12-07 21:54:09 |
Erickson Silva de Oliveira |
description |
Brief Description
-----------------
The issue was not confirmed on hardware, but it most likely exists based on inspection of the code. The current version of partition_info.sh was run from a shell on a previously installed system with NVMe drivers and has runtime errors.
Introduced by
https://review.opendev.org/c/starlingx/config/+/864801
https://review.opendev.org/c/starlingx/config/+/866815
Severity
--------
Critical
Steps to Reproduce
------------------
Run the script passing the disk path.
e.g.: ./partition_info.sh /dev/disk/by-path/pci-0000:b2:05.5-pci-10000:01:00.0-nvme-1
Expected Behavior
------------------
Should work
Actual Behavior
----------------
Fails
Reproducibility
---------------
100%
Branch/Pull Time/Commit
-----------------------
Dec 6 2022
Timestamp/Logs
--------------
$ sudo ./partition_info.sh /dev/disk/by-path/pci-0000\:02\:00.0-nvme-1
./partition_info.sh: line 55: * 512 / (1024*1024): syntax error: operand expected (error token is "* 512 / (1024*1024)")
Workaround
----------
None |
Brief Description
-----------------
The issue was not confirmed on hardware, but it most likely exists based on inspection of the code. The current version of partition_info.sh was run from a shell on a previously installed system with NVMe drivers and has runtime errors.
Introduced by
https://review.opendev.org/c/starlingx/config/+/864801
https://review.opendev.org/c/starlingx/config/+/866815
Severity
--------
Critical
Steps to Reproduce
------------------
Run the script passing the disk path.
e.g.: ./partition_info.sh /dev/disk/by-path/pci-0000:b2:05.5-pci-10000:01:00.0-nvme-1
Expected Behavior
------------------
Should work
Actual Behavior
----------------
Fails
Reproducibility
---------------
100%
Branch/Pull Time/Commit
-----------------------
Dec 6 2022
Timestamp/Logs
--------------
$ sudo ./partition_info.sh /dev/disk/by-path/pci-0000:02:00.0-nvme-1
./partition_info.sh: line 55: * 512 / (1024*1024): syntax error: operand expected (error token is "* 512 / (1024*1024)")
Workaround
----------
None |
|