List only VMs associated to a userdata#10569
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:
|
|
@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)
|
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?