-
Notifications
You must be signed in to change notification settings - Fork 1.2k
List only VMs associated to a userdata #10569
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
Conversation
|
@blueorangutan package |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.19 #10569 +/- ##
=========================================
Coverage 15.16% 15.16%
- Complexity 11326 11328 +2
=========================================
Files 5414 5414
Lines 474804 474867 +63
Branches 57909 57930 +21
=========================================
+ Hits 72002 72019 +17
- Misses 394749 394794 +45
- Partials 8053 8054 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
clgtm
|
@blueorangutan package |
|
@Pearl1594 a [SL] 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 [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 12784 |
|
@blueorangutan test |
|
@Pearl1594 a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-12702)
|
shwstppr
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.
Code LGTM
api/src/main/java/org/apache/cloudstack/api/command/user/vm/ListVMsCmd.java
Outdated
Show resolved
Hide resolved
|
@blueorangutan package |
|
@Pearl1594 a [SL] 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 [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 12811 |
* List only VMs associated to a userdata * add since param
* List only VMs associated to a userdata * add since param



Description
This PR fixes issue brought up here: #10549 (comment)
Where currently it's not possible to list all VMs associated to a user data.
Types of changes
Feature/Enhancement Scale or Bug Severity
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Before fix:

Incorrect as the userdata is only associated with 1 VM. The userdata parameter of the listVMs API is to control whether or not to return the userdata as part of the listVms response
After fix:

How did you try to break this feature and the system with this change?