-
Notifications
You must be signed in to change notification settings - Fork 331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] The Name
of the extra disk in the dashboard does not match the actual device path
#1976
Comments
Pre Ready-For-Testing Checklist
|
Automation e2e test issue: harvester/tests#288 |
Currently implemented the first solution, The second solution will be implemented in this issue #1249 |
After discussed with @weihanglo, the implementation is not enough for user to add new disks. (snapshot as below) |
verified along with #2149 |
Describe the bug
The
Name
field of extra disks does not match the actual device path on the system. This often happens by swapping the slots of disks.To Reproduce
Steps to reproduce the behavior:
<address>
and<target>
in the XML of the disk.Expected behavior
The name matches the acutal device path on the system. (e.g.
lsblk
's output)Possible solution
My impression is that the dashboard displays the field
Name
withblockdevice.spec.fileSystem.devPath
. Unfortunately the value ofdevPath
is static. Once a blockdevice is created it can never reflect the actual device path on the system.Off the top of my head, there are some solution:
devPath
, such asblockdevice.name
. Though the name itself is meaningless to users.status.deviceStatus.devPath
or somewhere else to let dashboard display.Environment:
master-fd872c9-head
Additional context
This is a screenshot copied from. #1874
You can see that
/dev/vdc
with 29GiB is mounted at 88d81368 on the left, but in the console the disk mounted at88d81368
with 29GiB actually has the path/dev/vdb
The text was updated successfully, but these errors were encountered: