-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add volume group handling #6012
base: main
Are you sure you want to change the base?
Conversation
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.
like the idea,
is this (meant to be) vmware only?
api/src/main/java/org/apache/cloudstack/api/command/user/volume/AttachVolumeCmd.java
Outdated
Show resolved
Hide resolved
In the future also for KVM but for now only for vmware. |
Hi @DaanHoogland, @nvazquez,
to
I added in my env, but it seems to be automated generated or ? |
yes, it should be auto generated. |
Hi @DK101010 - just extending @DaanHoogland's answer. It should be generated by building marvin: |
Ahh, ok a case of self confusion :D. Thanks you two |
Hi @${author}, your pull request has merge conflicts. Can you fix the conflicts and sync your branch with the base branch? |
Soo, I guess I'm finished and ready for review :) |
you mean you are taking it out of draft @DK101010 ? |
Japp, correct. |
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.
some code convention comments, but cltgm.
It has integration tests so I think only regression tests are needed.
api/src/main/java/org/apache/cloudstack/api/command/admin/vm/ImportUnmanagedInstanceCmd.java
Outdated
Show resolved
Hide resolved
server/src/main/java/com/cloud/storage/VolumeApiServiceImpl.java
Outdated
Show resolved
Hide resolved
server/src/main/java/com/cloud/storage/VolumeApiServiceImpl.java
Outdated
Show resolved
Hide resolved
server/src/main/java/com/cloud/storage/VolumeApiServiceImpl.java
Outdated
Show resolved
Hide resolved
vmware-base/src/main/java/com/cloud/hypervisor/vmware/mo/VirtualMachineMO.java
Outdated
Show resolved
Hide resolved
vmware-base/src/main/java/com/cloud/hypervisor/vmware/mo/VirtualMachineMO.java
Outdated
Show resolved
Hide resolved
vmware-base/src/main/java/com/cloud/hypervisor/vmware/mo/VirtualMachineMO.java
Outdated
Show resolved
Hide resolved
vmware-base/src/main/java/com/cloud/hypervisor/vmware/mo/VirtualMachineMO.java
Outdated
Show resolved
Hide resolved
vmware-base/src/main/java/com/cloud/hypervisor/vmware/mo/VirtualMachineMO.java
Outdated
Show resolved
Hide resolved
😁 than do so ;) |
Oh, how I can do it? :D I can only editing the description and the headline. |
You don't see the |
also @DK101010 , if you go to files you should be able to commit multiple suggestions in one commit. |
Thanks for the hint, I will try it next time. Or I could squash the commits if there are too many. |
a7a5c72
to
9c42919
Compare
@blueorangutan package |
Did you report all the issues you are facing? |
ohm nope, make it sense to report it when it occur in the main? And when yes where I should report it? |
If there are obvious errors in any branch report them in the issues. We can then discuss and fix or help if it is environmental. |
|
so it was only on main, not on 4.17? |
I have only main tested and my last stable base dev branch was 4.16 |
@GutoVeronezi @weizhouapache can you review? |
@blueorangutan package |
@weizhouapache a Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 4985 |
@blueorangutan test |
@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
Trillian Build Failed (tid-5531) |
Trillian Build Failed (tid-5555) |
@DK101010 the smoke test runs fail to start the system VMs due to
can you have a look? |
@DK101010 are you actively pursuing this? I will move it to the next milestone if not. |
@DaanHoogland please move it, I'm currently working on other projects. |
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
@DK101010 can you please address the merge conflicts? Should we consider this for 4.19.0.0? |
@shwstppr I'm sorry, but I don't have time for that at the moment. I would rather see the 4.20 |
@DK101010 thanks for the update. Moving it to 4.20.0.0 milestone |
Description
Motivation:
Some applications needs an specific volume controller configuration. For example to get a optimal performance or it is necessary to get an certificate.
Therefore admins needs a opportunity to add an volume to certain controller.
Implementation:
Decided to add a VolumeGroup class as an abstract object to manage this feature.
A volume group is a triple of vm id, volume id and group number.
attach order is: root vol, vol with groups(order by disk seq), vols without groups(order by disk seq).
1. can do like before (no groups) => import with current conf, after restart volumes
will be attached on the first controller until max and then second controller and so on.
(applied after restart)
2. add vol groups to disk offering list => add groups like user want it (applied after restart)
3. set useControllerConfiguration = true => read current controller conf of unmanaged vm
and add automatic volumegroups for each volume
SQL for Update:
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?