Skip to content

Conversation

@shwstppr
Copy link
Contributor

@shwstppr shwstppr commented Dec 4, 2024

Description

Fixes #10031

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • build/CI
  • test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

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

@shwstppr
Copy link
Contributor Author

shwstppr commented Dec 4, 2024

@blueorangutan package

@blueorangutan
Copy link

@shwstppr 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.

@codecov
Copy link

codecov bot commented Dec 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 15.12%. Comparing base (7cfeab1) to head (6eb178f).
Report is 31 commits behind head on 4.19.

Additional details and impacted files
@@             Coverage Diff              @@
##               4.19   #10032      +/-   ##
============================================
- Coverage     15.12%   15.12%   -0.01%     
+ Complexity    11255    11253       -2     
============================================
  Files          5407     5407              
  Lines        473799   473799              
  Branches      57767    57767              
============================================
- Hits          71670    71665       -5     
- Misses       394130   394136       +6     
+ Partials       7999     7998       -1     
Flag Coverage Δ
uitests 4.30% <ø> (ø)
unittests 15.84% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@DaanHoogland DaanHoogland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code looks good, but I am not sure if we need this change.

@DaanHoogland DaanHoogland added this to the 4.19.2 milestone Dec 4, 2024
@blueorangutan
Copy link

Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11702

@rohityadavcloud
Copy link
Member

@blueorangutan test

@blueorangutan
Copy link

@rohityadavcloud a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests

@blueorangutan
Copy link

[SF] Trillian test result (tid-11842)
Environment: kvm-ol8 (x2), Advanced Networking with Mgmt server ol8
Total time taken: 52527 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr10032-t11842-kvm-ol8.zip
Smoke tests completed. 133 look OK, 0 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File

@scottsignal
Copy link

@blueorangutan ui

@blueorangutan
Copy link

@scottsignal a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan
Copy link

UI build: ✔️
Live QA URL: https://qa.cloudstack.cloud/simulator/pr/10032 (QA-JID-496)

@scottsignal
Copy link

UI build: ✔️ Live QA URL: https://qa.cloudstack.cloud/simulator/pr/10032 (QA-JID-496)

@DaanHoogland Should I be able to test using the simulator? This is new to me and I am not a developer by background.

Loaded in-built API cache. Failed to read API cache, please run 'sync'.

(PR10032) 🐗 > sync
Discovered 391 APIs

(PR10032) 🐍 > list systemvmsusagehistory 
count = 11
virtualmachine:
+--------------------------------------+----------+-------+
|                  ID                  |   NAME   | STATS |
+--------------------------------------+----------+-------+
| 631392f0-77c6-4cdd-b726-7e22d2b1c115 | s-255-VM | []    |
| 9b13db8c-3e4c-45a5-8a83-fb8ba58f03f4 | v-256-VM | []    |
| 250efb5f-1152-443b-ae85-e58465df0e7f | s-257-VM | []    |
| 7720beb2-df17-4582-a1cc-e7fde09b5114 | s-258-VM | []    |
| cd05f191-33ff-41d6-8c77-b44b7c49a214 | v-259-VM | []    |
| e41b7c4e-1ffc-4cba-a47a-e2853e5af010 | v-260-VM | []    |
| 26ab04b3-81d8-4dc2-b5e5-c75c7ab62b73 | r-261-VM | []    |
| 5ab7cd64-5b22-4fd7-96f6-700376da7717 | r-262-VM | []    |
| a5964cc0-e19f-47fc-9b98-285585e82c0e | r-263-VM | []    |
| acf6cb4a-2e19-40ca-8ffe-c5b68f54aa73 | r-264-VM | []    |
| d4411537-ff55-4d1e-b332-41bb4f128d2a | r-265-VM | []    |
+--------------------------------------+----------+-------+

@shwstppr
Copy link
Contributor Author

shwstppr commented Dec 6, 2024

@scottsignal you won't be able to use the QA server to test this PR as the changes in it are in Java code. You will either have to run dev build (maybe with simulator deployment) or build packages (to test in a real env) using the PR commit.

@scottsignal
Copy link

@scottsignal you won't be able to use the QA server to test this PR as the changes in it are in Java code. You will either have to run dev build (maybe with simulator deployment) or build packages (to test in a real env) using the PR commit.

Understood. Not sure I have a way to test this then. I have figured out how to use the simulator with the docker based images, but unless I am missing something I only see the 4.21 nightly's out there.

@DaanHoogland
Copy link
Contributor

@scottsignal you won't be able to use the QA server to test this PR as the changes in it are in Java code. You will either have to run dev build (maybe with simulator deployment) or build packages (to test in a real env) using the PR commit.

Understood. Not sure I have a way to test this then. I have figured out how to use the simulator with the docker based images, but unless I am missing something I only see the 4.21 nightly's out there.

simulator will do for this functionality @scottsignal . You will have to build the specific version though. I think you can in the docker container.

Copy link
Contributor

@vladimirpetrov vladimirpetrov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM based on manual testing.

@DaanHoogland DaanHoogland merged commit 00c659b into apache:4.19 Jan 20, 2025
24 of 25 checks passed
DaanHoogland added a commit that referenced this pull request Jan 21, 2025
* 4.20:
  linstor: Fix ZFS snapshot backup (#10219)
  fix listing of VMs by network (#10204)
  Configure org.eclipse.jetty.server.Request.maxFormKeys from server.properties and increase the default value (#10214)
  api: fix access for listSystemVmUsageHistory (#10032)
  Fix NPE issues during host rolling maintenance, due to host tags and custom constrained/unconstrained service offering (#9844)
rg9975 pushed a commit to rg9975/cloudstack that referenced this pull request Jan 31, 2025
dhslove pushed a commit to ablecloud-team/ablestack-cloud that referenced this pull request Jun 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

listSystemVmsUsageHistory is available to Domain Admin by Default

6 participants