-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Replicate rootDiskController behavior to dataDiskController.
#4569
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
Replicate rootDiskController behavior to dataDiskController.
#4569
Conversation
The bus type to `data disk` volumes is hardcoded to `virtio` or `scsi`, when using virtio-scsi (or, based on the template type). Therefore, there is no way to specify the bus type to data disk volumes (as we have for root disks). This PR intends to replicate the `rootDiskController` behavior to `dataDiskController`, allowing the definition of the controller.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice Enhancement @GutoVeronezi
can you please explain to me how the local tests were carried out?
My tests consist of entering the details of the data disk (during the deployment process of an instance or via a graphical interface with a previously created instance) and then checking if the details informed are present in the dump XML of the target instance.
I performed manual tests with this branch. It is correct and working as it should.
LGTM
|
@blueorangutan package |
|
@RodrigoDLopez a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos7 ✔centos8 ✔debian. JID-2527 |
|
@blueorangutan test |
|
@RodrigoDLopez thanks for asking. Actually the process is quite similar as which you described. I made the whole process via GUI.
|
|
@blueorangutan test |
|
@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-3388)
|
DaanHoogland
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one concern; the default used to be virtio and now it is null? otherwise the code looks good
@DaanHoogland |
|
@GutoVeronezi you are right, i read with crooked eyes. |
Description
The bus type to
data diskvolumes is hardcoded tovirtioorscsi, when using virtio-scsi (or, based on the template type). Therefore, there is no way to specify the bus type to data disk volumes (as we have for root disks).This PR intends to replicate the
rootDiskControllerbehavior todataDiskController, allowing the definition of the controller.Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
How Has This Been Tested?
It has been tested locally.