cloudstack icon indicating copy to clipboard operation
cloudstack copied to clipboard

Allow populating generic templates during Zone Deployment

Open sudo87 opened this issue 7 months ago • 15 comments

Description

This PR will provide optional step during Zone deployment for admin to register generic cloud templates. This step will be available for KVM hypervisor and limited number of x86_64 and arm64 templates will be supported for now.

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)
  • [x] 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
  • [x] Minor

Bug Severity

  • [ ] BLOCKER
  • [ ] Critical
  • [ ] Major
  • [ ] Minor
  • [ ] Trivial

Screenshots (if appropriate):

Screenshot from 2025-06-18 18-10-31

How Has This Been Tested?

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

sudo87 avatar Jun 03 '25 04:06 sudo87

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 16.57%. Comparing base (7632814) to head (39435e5). Report is 80 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##               main   #10947     +/-   ##
===========================================
  Coverage     16.57%   16.57%             
- Complexity    13868    13988    +120     
===========================================
  Files          5719     5744     +25     
  Lines        507178   510803   +3625     
  Branches      61571    62134    +563     
===========================================
+ Hits          84085    84691    +606     
- Misses       413674   416639   +2965     
- Partials       9419     9473     +54     
Flag Coverage Δ
uitests 3.89% <ø> (-0.08%) :arrow_down:
unittests 17.48% <ø> (+0.02%) :arrow_up:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

codecov[bot] avatar Jun 03 '25 04:06 codecov[bot]

@weizhouapache Generic templates are hosted in cloudstack cdn to ensure availability and no redirection anymore. Latest changes are pushed to use these urls.

Templates are hosted at: https://download.cloudstack.org/templates/cloud-images/

sudo87 avatar Jun 13 '25 04:06 sudo87

@blueorangutan package

sudo87 avatar Jun 13 '25 04:06 sudo87

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

blueorangutan avatar Jun 13 '25 04:06 blueorangutan

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

blueorangutan avatar Jun 13 '25 05:06 blueorangutan

@blueorangutan package

sudo87 avatar Jun 19 '25 06:06 sudo87

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

blueorangutan avatar Jun 19 '25 06:06 blueorangutan

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

blueorangutan avatar Jun 19 '25 07:06 blueorangutan

[SF] Trillian Build Failed (tid-13565)

blueorangutan avatar Jun 19 '25 07:06 blueorangutan

@blueorangutan ui

weizhouapache avatar Jun 19 '25 10:06 weizhouapache

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

blueorangutan avatar Jun 19 '25 10:06 blueorangutan

UI build: :heavy_check_mark: Live QA URL: https://qa.cloudstack.cloud/simulator/pr/10947 (QA-JID-650)

blueorangutan avatar Jun 19 '25 11:06 blueorangutan

@blueorangutan package

sudo87 avatar Jun 20 '25 02:06 sudo87

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

blueorangutan avatar Jun 20 '25 02:06 blueorangutan

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

blueorangutan avatar Jun 20 '25 04:06 blueorangutan

@blueorangutan package

sudo87 avatar Jul 02 '25 08:07 sudo87

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

blueorangutan avatar Jul 02 '25 08:07 blueorangutan

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

blueorangutan avatar Jul 02 '25 10:07 blueorangutan

@blueorangutan ui

DaanHoogland avatar Jul 02 '25 17:07 DaanHoogland

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

blueorangutan avatar Jul 02 '25 17:07 blueorangutan

UI build: :heavy_check_mark: Live QA URL: https://qa.cloudstack.cloud/simulator/pr/10947 (QA-JID-658)

blueorangutan avatar Jul 02 '25 17:07 blueorangutan

@sudo87 , I see only UI code. Any reason why this would not be visible in qa?

DaanHoogland avatar Jul 02 '25 18:07 DaanHoogland

It gets enabled only for KVM hypervisor, took the screenshot from qa:

image

sudo87 avatar Jul 03 '25 04:07 sudo87

@blueorangutan package

sudo87 avatar Jul 04 '25 07:07 sudo87

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

blueorangutan avatar Jul 04 '25 07:07 blueorangutan

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

blueorangutan avatar Jul 04 '25 09:07 blueorangutan

@rohityadavcloud are you ok with this now?

DaanHoogland avatar Jul 07 '25 11:07 DaanHoogland

@blueorangutan package

sureshanaparti avatar Jul 08 '25 09:07 sureshanaparti

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

blueorangutan avatar Jul 08 '25 09:07 blueorangutan

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

blueorangutan avatar Jul 08 '25 12:07 blueorangutan