Skip to content

Update suse15 packaging spec, use qemu-ovmf-x86_64 package instead of edk2-ovmf for agent - #13133

Merged
sureshanaparti merged 7 commits into
apache:4.22from
shapeblue:suse15-packaging-spec-update
May 11, 2026
Merged

Update suse15 packaging spec, use qemu-ovmf-x86_64 package instead of edk2-ovmf for agent#13133
sureshanaparti merged 7 commits into
apache:4.22from
shapeblue:suse15-packaging-spec-update

Conversation

@sureshanaparti

@sureshanapartisureshanaparti commented May 8, 2026

Copy link
Copy Markdown
Contributor

Description

This PR update suse15 packaging spec, use qemu-ovmf-x86_64 package instead of edk2-ovmf for agent.

Fixes#13004

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?

@sureshanaparti

Copy link
Copy Markdown
ContributorAuthor

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

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

@codecov

codecovBot commented May 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 17.68%. Comparing base (ddcc0c8) to head (c86e64d).
⚠️ Report is 2 commits behind head on 4.22.

Additional details and impacted files
@@ Coverage Diff @@## 4.22 #13133 +/- ##
============================================
- Coverage 17.68% 17.68% -0.01% + Complexity 15794 15792 -2 
============================================
Files 5922 5922 Lines 533095 533123 +28 Branches 65208 65201 -7 ============================================
- Hits 94281 94259 -22 - Misses 428171 428220 +49 - Partials 10643 10644 +1 
FlagCoverage Δ
uitests3.69% <ø> (-0.01%)⬇️
unittests18.75% <ø> (-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.

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

@weizhouapache

Copy link
Copy Markdown
Member

@sureshanaparti
can we just update e8/cloud.spec instead of creating a new one ?

diff --git a/packaging/el8/cloud.spec b/packaging/el8/cloud.spec
index 3dee161bf27..13c0a36cb10 100644
--- a/packaging/el8/cloud.spec
+++ b/packaging/el8/cloud.spec
@@ -117,7 +117,7 @@ Requires: ipset
Requires: perl
Requires: rsync
Requires: cifs-utils
-Requires: edk2-ovmf
+Requires: (edk2-ovmf or qemu-ovmf-x86_64)
Requires: swtpm
Requires: (python3-libvirt or python3-libvirt-python)
Requires: (qemu-img or qemu-tools)

@sureshanaparti

Copy link
Copy Markdown
ContributorAuthor

@sureshanaparti can we just update e8/cloud.spec instead of creating a new one ?

diff --git a/packaging/el8/cloud.spec b/packaging/el8/cloud.spec
index 3dee161bf27..13c0a36cb10 100644
--- a/packaging/el8/cloud.spec
+++ b/packaging/el8/cloud.spec
@@ -117,7 +117,7 @@ Requires: ipset
Requires: perl
Requires: rsync
Requires: cifs-utils
-Requires: edk2-ovmf
+Requires: (edk2-ovmf or qemu-ovmf-x86_64)
Requires: swtpm
Requires: (python3-libvirt or python3-libvirt-python)
Requires: (qemu-img or qemu-tools)

ok @weizhouapache , let me check

@sureshanaparti

Copy link
Copy Markdown
ContributorAuthor

@weizhouapache is it good to have separate spec for suse? otherwise, we've to keep the updating el8 spec for suse variants with 'or'?

@blueorangutan

Copy link
Copy Markdown

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

@sureshanaparti

Copy link
Copy Markdown
ContributorAuthor

@weizhouapache updated as advised, please check. thanks.

@sureshanaparti

Copy link
Copy Markdown
ContributorAuthor

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

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

@weizhouapacheweizhouapache left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

code lgtm

did not test it

@blueorangutan

Copy link
Copy Markdown

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

@weizhouapache

Copy link
Copy Markdown
Member

@blueorangutan test suse15 kvm-suse15

@blueorangutan

Copy link
Copy Markdown

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

@blueorangutan

Copy link
Copy Markdown

[SF] Trillian test result (tid-16056)
Environment: kvm-suse15 (x2), zone: Advanced Networking with Mgmt server s15
Total time taken: 53629 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr13133-t16056-kvm-suse15.zip
Smoke tests completed. 148 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:

TestResultTime (s)Test File
test_01_deploy_vm_from_iso_uefi_secureError54.61test_deploy_vm_iso_uefi.py
test_02_deploy_vm_from_iso_uefi_legacyError12.63test_deploy_vm_iso_uefi.py
test_03_deploy_windows_vm_from_iso_uefi_legacyError11.53test_deploy_vm_iso_uefi.py
test_04_deploy_windows_vm_from_iso_uefi_secureError12.56test_deploy_vm_iso_uefi.py

@rajujithrajujith left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM
Tested.
The error ' nothing provides 'edk2-ovmf' is not seens anymore for cloudstack-agent installation on openSUSE 15.6

@weizhouapache

Copy link
Copy Markdown
Member

[SF] Trillian test result (tid-16056) Environment: kvm-suse15 (x2), zone: Advanced Networking with Mgmt server s15 Total time taken: 53629 seconds Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr13133-t16056-kvm-suse15.zip Smoke tests completed. 148 look OK, 1 have errors, 0 did not run Only failed and skipped tests results shown below:

Test Result Time (s) Test File
test_01_deploy_vm_from_iso_uefi_secure Error 54.61 test_deploy_vm_iso_uefi.py
test_02_deploy_vm_from_iso_uefi_legacy Error 12.63 test_deploy_vm_iso_uefi.py
test_03_deploy_windows_vm_from_iso_uefi_legacy Error 11.53 test_deploy_vm_iso_uefi.py
test_04_deploy_windows_vm_from_iso_uefi_secure Error 12.56 test_deploy_vm_iso_uefi.py

@sureshanaparti
could you check these test failures ?

@sureshanaparti

sureshanaparti commented May 10, 2026

Copy link
Copy Markdown
ContributorAuthor

[SF] Trillian test result (tid-16056) Environment: kvm-suse15 (x2), zone: Advanced Networking with Mgmt server s15 Total time taken: 53629 seconds Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr13133-t16056-kvm-suse15.zip Smoke tests completed. 148 look OK, 1 have errors, 0 did not run Only failed and skipped tests results shown below:
Test Result Time (s) Test File
test_01_deploy_vm_from_iso_uefi_secure Error 54.61 test_deploy_vm_iso_uefi.py
test_02_deploy_vm_from_iso_uefi_legacy Error 12.63 test_deploy_vm_iso_uefi.py
test_03_deploy_windows_vm_from_iso_uefi_legacy Error 11.53 test_deploy_vm_iso_uefi.py
test_04_deploy_windows_vm_from_iso_uefi_secure Error 12.56 test_deploy_vm_iso_uefi.py

@sureshanaparti could you check these test failures ?

@weizhouapache Noticed errors - "Failed to open file '/usr/share/edk2/ovmf/OVMF_VARS.secboot.fd", "Failed to open file '/usr/share/edk2/ovmf/OVMF_VARS.fd"

It seems the UEFI files are now different for suse (https://documentation.suse.com/sles/15-SP6/html/SLES-all/cha-kvm-inst.html#cha-kvm-inst-virtman-advanced-uefi). I've updated the new UEFI files in a separate properties file for suse.

/usr/share/edk2/ovmf/OVMF_VARS.fd -> /usr/share/qemu/ovmf-x86_64-vars.bin
/usr/share/edk2/ovmf/OVMF_CODE.cc.fd -> /usr/share/qemu/ovmf-x86_64-code.bin
/usr/share/edk2/ovmf/OVMF_VARS.secboot.fd -> /usr/share/qemu/ovmf-x86_64-ms-vars.bin
/usr/share/edk2/ovmf/OVMF_CODE.secboot.fd -> /usr/share/qemu/ovmf-x86_64-ms-code.bin

@sureshanaparti

Copy link
Copy Markdown
ContributorAuthor

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@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

Copy link
Copy Markdown

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

@sureshanaparti

Copy link
Copy Markdown
ContributorAuthor

@blueorangutan test suse15 kvm-suse15

@blueorangutan

Copy link
Copy Markdown

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

@sureshanaparti

Copy link
Copy Markdown
ContributorAuthor

[SF] Trillian test result (tid-16056) Environment: kvm-suse15 (x2), zone: Advanced Networking with Mgmt server s15 Total time taken: 53629 seconds Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr13133-t16056-kvm-suse15.zip Smoke tests completed. 148 look OK, 1 have errors, 0 did not run Only failed and skipped tests results shown below:

Test Result Time (s) Test File
test_01_deploy_vm_from_iso_uefi_secure Error 54.61 test_deploy_vm_iso_uefi.py
test_02_deploy_vm_from_iso_uefi_legacy Error 12.63 test_deploy_vm_iso_uefi.py
test_03_deploy_windows_vm_from_iso_uefi_legacy Error 11.53 test_deploy_vm_iso_uefi.py
test_04_deploy_windows_vm_from_iso_uefi_secure Error 12.56 test_deploy_vm_iso_uefi.py

manually verified the tests with latest changes.

[root@pr13133-t16063-kvm-suse15-marvin ~]# cat /marvin//MarvinLogs/test_deploy_vm_iso_uefi_23DOJU/results.txt Test Deploy CentOS Virtual Machine from ISO with UEFI Secure ... === TestName: test_01_deploy_vm_from_iso_uefi_secure | Status : SUCCESS ===
ok
Test Deploy CentOS Virtual Machine from ISO with UEFI Legacy mode ... === TestName: test_02_deploy_vm_from_iso_uefi_legacy | Status : SUCCESS ===
ok
Test Deploy Windows Virtual Machine from ISO with UEFI Legacy mode ... === TestName: test_03_deploy_windows_vm_from_iso_uefi_legacy | Status : SUCCESS ===
ok
Test Deploy Windows Virtual Machine from ISO with UEFI Secure mode ... === TestName: test_04_deploy_windows_vm_from_iso_uefi_secure | Status : SUCCESS ===
ok
----------------------------------------------------------------------
Ran 4 tests in 149.052s

@sureshanaparti
sureshanaparti merged commit a289bb0 into apache:4.22May 11, 2026
24 of 26 checks passed
@github-project-automationgithub-project-automationBot moved this from In Progress to Done in Apache CloudStack 4.22.1May 11, 2026
@sureshanaparti
sureshanaparti deleted the suse15-packaging-spec-update branch May 11, 2026 14:45
@blueorangutan

Copy link
Copy Markdown

[SF] Trillian test result (tid-16063)
Environment: kvm-suse15 (x2), zone: Advanced Networking with Mgmt server s15
Total time taken: 66507 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr13133-t16063-kvm-suse15.zip
Smoke tests completed. 135 look OK, 6 have errors, 8 did not run
Only failed and skipped tests results shown below:

TestResultTime (s)Test File
test_vm_backup_create_vm_from_backupFailure607.88test_backup_recovery_nas.py
test_vm_backup_lifecycleError1.09test_backup_recovery_nas.py
test_01_deploy_vm_from_iso_uefi_secureError64.83test_deploy_vm_iso_uefi.py
test_02_deploy_vm_from_iso_uefi_legacyError14.49test_deploy_vm_iso_uefi.py
test_03_deploy_windows_vm_from_iso_uefi_legacyError13.47test_deploy_vm_iso_uefi.py
test_04_deploy_windows_vm_from_iso_uefi_secureError15.48test_deploy_vm_iso_uefi.py
ContextSuite context=TestSharedFSLifecycle>:setupError0.00test_sharedfs_lifecycle.py
test_10_attachAndDetach_isoFailure607.11test_vm_life_cycle.py
test_01_create_vm_snapshotsFailure610.81test_vm_snapshots.py
test_02_revert_vm_snapshotsFailure600.73test_vm_snapshots.py
test_03_delete_vm_snapshotsFailure0.02test_vm_snapshots.py
test_01_create_volumeFailure611.12test_volumes.py
test_01_root_volume_encryptionFailure702.43test_volumes.py
test_02_data_volume_encryptionFailure646.67test_volumes.py
test_03_root_and_data_volume_encryptionFailure662.38test_volumes.py
test_02_attach_volumeFailure1272.87test_volumes.py
test_02_attach_volumeFailure1272.89test_volumes.py
test_03_download_attached_volumeFailure669.23test_volumes.py
test_04_delete_attached_volumeFailure664.98test_volumes.py
test_05_detach_volumeFailure755.13test_volumes.py
test_06_download_detached_volumeFailure871.60test_volumes.py
test_07_resize_failError5.33test_volumes.py
test_08_resize_volumeError13.59test_volumes.py
test_08_resize_volumeError13.59test_volumes.py
test_09_delete_detached_volumeError8.43test_volumes.py
test_09_delete_detached_volumeError8.43test_volumes.py
test_10_list_volumesError3.19test_volumes.py
test_11_attach_volume_with_unstarted_vmError0.01test_volumes.py
test_11_attach_volume_with_unstarted_vmError0.01test_volumes.py
test_12_resize_volume_with_only_size_parameterError0.01test_volumes.py
test_12_resize_volume_with_only_size_parameterError0.01test_volumes.py
test_13_migrate_volume_and_change_offeringError0.01test_volumes.py
test_13_migrate_volume_and_change_offeringError0.01test_volumes.py
test_14_delete_volume_delete_protectionError0.01test_volumes.py
test_14_delete_volume_delete_protectionError0.01test_volumes.py
ContextSuite context=TestVolumes>:teardownError0.02test_volumes.py
all_test_vpc_ipv6Skipped---test_vpc_ipv6.py
all_test_vpc_redundantSkipped---test_vpc_redundant.py
all_test_vpc_router_nicsSkipped---test_vpc_router_nics.py
all_test_vpc_vpnSkipped---test_vpc_vpn.py
all_test_webhook_deliverySkipped---test_webhook_delivery.py
all_test_webhook_lifecycleSkipped---test_webhook_lifecycle.py
all_test_host_maintenanceSkipped---test_host_maintenance.py
all_test_hostha_kvmSkipped---test_hostha_kvm.py

winterhazel added a commit that referenced this pull request May 22, 2026
 * 4.22:
VM Deployment using snapshot in new zone (#13178)
Change exception treatment on incremental snapshot wait (#12665)
Move checkRoleEscalation outside DB transaction in createAccount (#13044)
Fix/flasharray delete rename destroy patch conflict (#13049)
Fix VPC network offerings listing in isolated network creation form (#12645)
systemvm: accept ipv6 established/related return traffic (#13173)
update debian change log
Updating pom.xml version numbers for release 4.22.2.0-SNAPSHOT
Updating pom.xml version numbers for release 4.22.1.0
Update suse15 packaging spec, use qemu-ovmf-x86_64 package instead of edk2-ovmf for agent (#13133)
Change disk-only VM snapshot removal message (#11182)
Update mysql java connector version to 8.4.0 (matching version for MySQL 8.4) (#12640)
adaptive: honor user-provided capacityBytes when provider stats are unavailable (#13059)
Flexibilize public IP selection (#11076)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

edk2-ovmf added as dependency for cloudstack-agent is not available on openSuse

4 participants

@sureshanaparti@blueorangutan@weizhouapache@rajujith