Skip to content
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

Oned should check for inconsistencies in disk target names #6574

Open
3 tasks
dgarcia18 opened this issue Apr 26, 2024 · 0 comments
Open
3 tasks

Oned should check for inconsistencies in disk target names #6574

dgarcia18 opened this issue Apr 26, 2024 · 0 comments

Comments

@dgarcia18
Copy link
Contributor

Description
Currently the user can specify disk target values (sda, vda, vdb, etc.) for the disks attached to a VM. Nonetheless, this value is sometimes not applied inside the Guest OS.

The reason is that inside the Guest OS there are some limitations regarding this labeling:

  • Bus: If a disk is using the VirtIO bus, the name will be of the form vdX (e.g. vda). A user should not be able to set a name not preceded by "vd"
  • Order: The naming must follow an order. E.g. there can not be a "vdb" if there is no "vda", and there can not be a "sdc" if there is no "sdb".

Oned should have into account these limitations and report an error to the user in case of inconsistencies.

Use case
Improving user experience, specially regarding appliance creation and persistency.

Interface Changes
The error should be showed in all interfaces.

Progress Status

  • Code committed
  • Testing - QA
  • Documentation (Release notes - resolved issues, compatibility, known issues)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants