Skip to content

systemvmtemplate: bump to Debian 13 'trixie' and ACS 24.0 - #12912

Draft
weizhouapache wants to merge 6 commits into
apache:mainfrom
weizhouapache:4.23-debian-13-systemvm-template
Draft

weizhouapache wants to merge 6 commits into
apache:mainfrom
weizhouapache:4.23-debian-13-systemvm-template

Conversation

@weizhouapache

@weizhouapache weizhouapache commented Mar 30, 2026 •

Copy link
Copy Markdown
Member

Description

This PR duplicates #11535

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?

@codecov

codecov Bot commented Mar 30, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 20.39%. Comparing base (68cff97) to head (405cdf4).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #12912      +/-   ##
============================================
+ Coverage     20.21%   20.39%   +0.17%     
- Complexity    20750    21280     +530     
============================================
  Files          6426     6481      +55     
  Lines        580181   588040    +7859     
  Branches      71033    72021     +988     
============================================
+ Hits         117287   119927    +2640     
- Misses       450180   455091    +4911     
- Partials      12714    13022     +308     
Flag Coverage Δ
uitests 3.70% <ø> (+0.01%) ⬆️
unittests 21.69% <ø> (+0.18%) ⬆️

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

☔ View full report in Codecov by Harness.
📢 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 Author

failed to build new systemvm template, revisit later

@weizhouapache weizhouapache added this to the 4.23.0 milestone Apr 28, 2026
@weizhouapache weizhouapache changed the title systemvmtemplate: bump to Debian 13 'trixie' and ACS 4.23 systemvmtemplate: bump to Debian 13 'trixie' and ACS 4.24 Jun 29, 2026
@weizhouapache weizhouapache modified the milestones: 4.23.0, 4.24.0 Jun 29, 2026
@weizhouapache

Copy link
Copy Markdown
Member Author

there are several big changes with debian 13, it looks more time is required:
https://www.debian.org/releases/trixie/release-notes/issues.html

@DaanHoogland DaanHoogland moved this from Backlog to conflict/waiting in CloudStack Testing Aug 31, 2026
@weizhouapache
weizhouapache force-pushed the 4.23-debian-13-systemvm-template branch from 47130b5 to 3d91402 Compare October 13, 2026 12:08
Comment thread pom.xml Outdated
@weizhouapache
weizhouapache force-pushed the 4.23-debian-13-systemvm-template branch from 9db392e to 0300e07 Compare October 13, 2026 13:49
- use openjdk-21-jre-headless, as openjdk-17-jre-headless is not
  available in Debian 13
- drop software-properties-common, which is not available in Debian 13
- configure the Docker apt repository with a keyring in
  /etc/apt/keyrings and a sources.list.d entry instead of apt-key and
  add-apt-repository; use VERSION_CODENAME from /etc/os-release instead
  of lsb_release
- install chrony in the preseed files, as the ntp package is not
  available in Debian 13
- do not fail if /etc/apt/sources.list does not exist, and add the
  backports and security repositories in sources.list.d
- disable the cloud-init units that exist, as cloud-init.service no
  longer exists and stopping it failed the build
@weizhouapache

Copy link
Copy Markdown
Member Author

@blueorangutan package all

@weizhouapache weizhouapache changed the title systemvmtemplate: bump to Debian 13 'trixie' and ACS 4.24 systemvmtemplate: bump to Debian 13 'trixie' and ACS 24.0 Oct 16, 2026
@blueorangutan

Copy link
Copy Markdown

@weizhouapache 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 ✖️ debian ✖️ suse15. SL-JID 19575

For 24.x and later the systemvm templates are published in a directory
named after the major version, with the major.minor version in the file
names (24/systemvmtemplate-24.0-x86_64-kvm.qcow2.bz2), instead of
major.minor and major.minor.patch (4.22/systemvmtemplate-4.22.0-...).
… script

For 24.x and later, templateConfig.sh generates metadata.ini with the
templates in the directory named after the major version and with
major.minor in the file and template names (24/systemvmtemplate-24.0-...,
systemvm-kvm-24.0-x86_64), so that the checksums are found in
sha512sum.txt. The version in metadata.ini is unchanged (24.0.0).

export-templates.sh uses major.minor for the template file names too.
Legacy (4.x) behavior is unchanged. Tests are updated and extended.
@weizhouapache
weizhouapache force-pushed the 4.23-debian-13-systemvm-template branch from e9503f9 to 405cdf4 Compare October 16, 2026 07:11
@weizhouapache

Copy link
Copy Markdown
Member Author

@blueorangutan test matrix

@blueorangutan

Copy link
Copy Markdown

@weizhouapache a [SL] Trillian-Jenkins matrix job (ol8 mgmt + kvm-ol8, ubuntu22 mgmt + kvm-ubuntu22, ol8 mgmt + vmware-70u3, ol9 mgmt + xcpng82) has been kicked to run smoke tests

@blueorangutan

Copy link
Copy Markdown

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

@apache apache deleted a comment from blueorangutan Oct 17, 2026
@apache apache deleted a comment from blueorangutan Oct 17, 2026
@apache apache deleted a comment from blueorangutan Oct 17, 2026
@weizhouapache

Copy link
Copy Markdown
Member Author

@blueorangutan test matrix

@blueorangutan

Copy link
Copy Markdown

@weizhouapache a [SL] Trillian-Jenkins matrix job (ol8 mgmt + kvm-ol8, ubuntu22 mgmt + kvm-ubuntu22, ol8 mgmt + vmware-70u3, ol9 mgmt + xcpng82) has been kicked to run smoke tests

@blueorangutan

Copy link
Copy Markdown

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

Test Result Time (s) Test File
ContextSuite context=TestAddVmToSubDomain>:setup Error 74.96 test_accounts.py
test_DeleteDomain Error 91.33 test_accounts.py
test_forceDeleteDomain Failure 88.58 test_accounts.py
test_01_user_remove_VM_running Error 69.72 test_accounts.py
test_01_events_resource Error 74.80 test_events_resource.py
test_01_events_resource Error 74.81 test_events_resource.py
test_DeployVmAntiAffinityGroup_in_project Error 59.82 test_affinity_groups_projects.py
test_DeployVmAffinityGroup Error 62.79 test_affinity_groups.py
test_DeployVmAntiAffinityGroup Error 4.32 test_affinity_groups.py
ContextSuite context=TestAnnotations>:setup Error 0.00 test_annotations.py
test_query_async_job_result Error 80.61 test_async_job.py
ContextSuite context=TestMultipleVolumeAttach>:setup Error 0.00 test_attach_multiple_volumes.py
test_01_deploy_vm_from_iso_uefi_secure Error 71.25 test_deploy_vm_iso_uefi.py
test_02_deploy_vm_from_iso_uefi_legacy Error 5.34 test_deploy_vm_iso_uefi.py
test_03_deploy_windows_vm_from_iso_uefi_legacy Error 4.29 test_deploy_vm_iso_uefi.py
test_04_deploy_windows_vm_from_iso_uefi_secure Error 5.34 test_deploy_vm_iso_uefi.py
ContextSuite context=TestKBOSSBackupAndRecovery>:setup Error 0.00 test_backup_recovery_kboss.py
ContextSuite context=TestNASBackupAndRecovery>:setup Error 0.00 test_backup_recovery_nas.py
test_deploy_more_vms_than_limit_allows Error 87.65 test_deploy_vms_in_parallel.py
ContextSuite context=TestConsoleEndpoint>:setup Error 0.00 test_console_endpoint.py
test_00_deploy_vm_root_resize Error 63.82 test_deploy_vm_root_resize.py
ContextSuite context=TestDeployVirtioSCSIVM>:setup Error 0.00 test_deploy_virtio_scsi_vm.py
test_02_deploy_vm_with_extraconfig_kvm Error 63.86 test_deploy_vm_extra_config_data.py
test_03_update_vm_with_extraconfig_kvm Error 4.38 test_deploy_vm_extra_config_data.py
test_deploy_vm_from_iso Error 80.55 test_deploy_vm_iso.py
test_deploy_vm_from_iso Error 80.57 test_deploy_vm_iso.py
test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80 Failure 304.03 test_internal_lb.py
test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80 Failure 426.66 test_internal_lb.py
test_03_vpc_internallb_haproxy_stats_on_all_interfaces Failure 159.44 test_internal_lb.py
test_04_rvpc_internallb_haproxy_stats_on_all_interfaces Failure 238.15 test_internal_lb.py
test_deployvm_firstfit Error 104.69 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userconcentrated Error 6.04 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userdispersing Error 5.68 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userdata Error 79.45 test_deploy_vm_with_userdata.py
test_deployvm_userdata_post Error 5.40 test_deploy_vm_with_userdata.py
ContextSuite context=TestRemoteDiagnostics>:setup Error 0.00 test_diagnostics.py
test_06_isolated_network_with_routed_mode Error 64.86 test_ipv4_routing.py
test_09_connectivity_between_network_and_vpc_tier Error 0.11 test_ipv4_routing.py
test_11_isolated_network_with_dynamic_routed_mode Error 64.80 test_ipv4_routing.py
test_11_isolated_network_with_dynamic_routed_mode Error 64.81 test_ipv4_routing.py
test_12_vpc_and_tier_with_dynamic_routed_mode Error 0.06 test_ipv4_routing.py
test_03_deploy_vm_domain_service_offering Error 115.83 test_domain_service_offerings.py
test_updating_nics_on_two_shared_networks Error 62.27 test_gateway_on_shared_networks.py
ContextSuite context=TestGatewayOnSharedNetwork>:teardown Error 64.48 test_gateway_on_shared_networks.py
ContextSuite context=TestHostControlState>:setup Error 119.99 test_host_control_state.py
ContextSuite context=TestImportAndUnmanageVolumes>:setup Error 0.00 test_import_unmanage_volumes.py
test_01_boot_group_and_member_lifecycle Error 64.86 test_instance_boot_group.py
test_02_readiness_rule_lifecycle Error 5.77 test_instance_boot_group.py
test_03_start_stop_reboot_orchestration Error 4.42 test_instance_boot_group.py
test_04_readiness_cache_invalidated_on_out_of_band_restart Error 5.45 test_instance_boot_group.py
test_05_membership_guard_rejects_duplicate_membership Error 4.47 test_instance_boot_group.py
test_12_deploy_vm_with_root_disk_encryption Error 88.36 test_kms_lifecycle.py
test_01_invalid_upgrade_kubernetes_cluster Failure 72.54 test_kubernetes_clusters.py
test_02_upgrade_kubernetes_cluster Failure 79.97 test_kubernetes_clusters.py
test_03_deploy_and_scale_kubernetes_cluster Failure 84.63 test_kubernetes_clusters.py
test_04_autoscale_kubernetes_cluster Failure 79.35 test_kubernetes_clusters.py
test_05_basic_lifecycle_kubernetes_cluster Failure 76.33 test_kubernetes_clusters.py
test_06_delete_kubernetes_cluster Failure 74.38 test_kubernetes_clusters.py
test_08_upgrade_kubernetes_ha_cluster Failure 73.27 test_kubernetes_clusters.py
test_10_vpc_tier_kubernetes_cluster Failure 3705.78 test_kubernetes_clusters.py
test_11_test_unmanaged_cluster_lifecycle Error 69.33 test_kubernetes_clusters.py
test_12_test_deploy_cluster_different_offerings_per_node_type Failure 77.19 test_kubernetes_clusters.py
ContextSuite context=TestListIdsParams>:setup Error 0.00 test_list_ids_parameter.py
ContextSuite context=TestListVolumes>:setup Error 0.00 test_list_volumes.py
test_01_nic Error 139.70 test_nic.py
ContextSuite context=TestLoadBalance>:setup Error 0.00 test_loadbalance.py
test_list_vms_metrics_admin Error 64.00 test_metrics_api.py
test_list_vms_metrics_history Error 5.90 test_metrics_api.py
test_list_vms_metrics_user Error 66.36 test_metrics_api.py
test_list_volumes_metrics_history Error 7.04 test_metrics_api.py
test_01_native_to_native_network_migration Error 95.65 test_migration.py
test_nic_secondaryip_add_remove Error 88.60 test_multipleips_per_nic.py
test_01_verify_ipv6_network Error 76.10 test_network_ipv6.py
test_01_verify_ipv6_network Error 76.11 test_network_ipv6.py
test_03_network_operations_on_created_vm_of_otheruser Error 65.61 test_network_permissions.py
test_03_network_operations_on_created_vm_of_otheruser Error 65.62 test_network_permissions.py
test_04_deploy_vm_for_other_user_and_test_vm_operations Failure 64.08 test_network_permissions.py
ContextSuite context=TestNetworkPermissions>:teardown Error 1.91 test_network_permissions.py
test_delete_account Error 80.95 test_network.py
ContextSuite context=TestPortForwarding>:setup Error 89.30 test_network.py
ContextSuite context=TestPublicIP>:setup Error 65.13 test_network.py
test_reboot_router Error 66.46 test_network.py
test_releaseIP Error 66.85 test_network.py
test_releaseIP_using_IP Error 72.82 test_network.py
ContextSuite context=TestRouterRules>:setup Error 141.46 test_network.py
test_01_deployVMInSharedNetwork Failure 59.58 test_network.py
test_03_destroySharedNetwork Failure 1.08 test_network.py
ContextSuite context=TestSharedNetwork>:teardown Error 2.20 test_network.py
test_01_deployVMInSharedNetwork Failure 66.03 test_network.py
ContextSuite context=TestSharedNetworkWithConfigDrive>:teardown Error 67.17 test_network.py
test_01_non_strict_host_anti_affinity Error 73.50 test_nonstrict_affinity_group.py
test_02_non_strict_host_affinity Error 7.49 test_nonstrict_affinity_group.py
ContextSuite context=TestIsolatedNetworksPasswdServer>:setup Error 0.00 test_password_server.py
test_01_create_delete_portforwarding_fornonvpc Error 65.26 test_portforwardingrules.py
test_01_add_primary_storage_disabled_host Error 164.91 test_primary_storage.py
test_01_primary_storage_nfs Error 0.19 test_primary_storage.py
ContextSuite context=TestStorageTags>:setup Error 0.32 test_primary_storage.py
test_01_primary_storage_scope_change Error 0.14 test_primary_storage_scope.py
test_09_project_suspend Error 59.92 test_projects.py
test_10_project_activation Error 6.42 test_projects.py
test_deploy_vm_with_registered_userdata Error 72.14 test_register_userdata.py
test_deploy_vm_with_registered_userdata Error 72.15 test_register_userdata.py
test_deploy_vm_with_registered_userdata_with_override_policy_allow Error 73.97 test_register_userdata.py
test_deploy_vm_with_registered_userdata_with_override_policy_allow Error 73.97 test_register_userdata.py
test_deploy_vm_with_registered_userdata_with_override_policy_append Error 73.92 test_register_userdata.py
test_deploy_vm_with_registered_userdata_with_override_policy_append Error 73.93 test_register_userdata.py
test_deploy_vm_with_registered_userdata_with_params Error 62.45 test_register_userdata.py
test_deploy_vm_with_registered_userdata_with_params Error 62.45 test_register_userdata.py
ContextSuite context=TestSnapshotRootDisk>:setup Error 0.00 test_snapshots.py
ContextSuite context=TestSnapshotStandaloneBackup>:setup Error 0.00 test_snapshots.py
ContextSuite context=TestResetVmOnReboot>:setup Error 0.00 test_reset_vm_on_reboot.py
test_01_so_removal_resource_update Error 65.29 test_resource_accounting.py
ContextSuite context=TestResourceNames>:setup Error 0.00 test_resource_names.py
test_01_restore_vm Error 7.43 test_restore_vm.py
test_02_restore_vm_with_disk_offering Error 7.41 test_restore_vm.py
test_03_restore_vm_with_disk_offering_custom_size Error 7.39 test_restore_vm.py
test_04_restore_vm_allocated_root Error 10.67 test_restore_vm.py
ContextSuite context=TestRestoreVM>:teardown Error 25.21 test_restore_vm.py
ContextSuite context=TestRouterDHCPHosts>:setup Error 0.00 test_router_dhcphosts.py
ContextSuite context=TestRouterDHCPOpts>:setup Error 0.00 test_router_dhcphosts.py
ContextSuite context=TestRouterDns>:setup Error 0.00 test_router_dns.py
ContextSuite context=TestRouterDnsService>:setup Error 0.00 test_router_dnsservice.py
test_02_routervm_iptables_policies Error 72.45 test_routers_iptables_default_policy.py
test_01_isolate_network_FW_PF_default_routes_egress_true Error 63.05 test_routers_network_ops.py
test_02_isolate_network_FW_PF_default_routes_egress_false Error 61.09 test_routers_network_ops.py
test_01_RVR_Network_FW_PF_SSH_default_routes_egress_true Error 130.09 test_routers_network_ops.py
test_02_RVR_Network_FW_PF_SSH_default_routes_egress_false Error 132.92 test_routers_network_ops.py
test_03_RVR_Network_check_router_state Error 132.59 test_routers_network_ops.py
ContextSuite context=TestRouterServices>:setup Error 0.00 test_routers.py
ContextSuite context=TestCpuCapServiceOfferings>:setup Error 0.00 test_service_offerings.py
ContextSuite context=TestServiceOfferings>:setup Error 62.57 test_service_offerings.py
test_01_ssl_offloading_isolated_network Error 66.14 test_ssl_offloading.py
test_01_ssl_offloading_isolated_network Error 66.15 test_ssl_offloading.py
ContextSuite context=TestSharedFSLifecycle>:setup Error 0.00 test_sharedfs_lifecycle.py
test_02_deploy_vm_from_direct_download_template Error 66.00 test_templates.py
ContextSuite context=TestCreateTemplateWithDirectDownload>:teardown Error 19.12 test_templates.py
ContextSuite context=TestTemplates>:setup Error 86.65 test_templates.py
ContextSuite context=TestLBRuleUsage>:setup Error 66.52 test_usage.py
ContextSuite context=TestNatRuleUsage>:setup Error 133.99 test_usage.py
ContextSuite context=TestPublicIPUsage>:setup Error 200.31 test_usage.py
ContextSuite context=TestSnapshotUsage>:setup Error 266.11 test_usage.py
ContextSuite context=TestVmUsage>:setup Error 422.04 test_usage.py
ContextSuite context=TestVolumeUsage>:setup Error 490.75 test_usage.py
ContextSuite context=TestVpnUsage>:setup Error 558.47 test_usage.py
test_01_scale_up_verify Failure 577.05 test_vm_autoscaling.py
test_02_update_vmprofile_and_vmgroup Error 2.90 test_vm_autoscaling.py
test_03_scale_down_verify Error 1.36 test_vm_autoscaling.py
test_04_stop_remove_vm_in_vmgroup Error 2.81 test_vm_autoscaling.py
test_05_remove_vmgroup Failure 83.92 test_vm_autoscaling.py
test_06_autoscaling_vmgroup_on_project_network Failure 580.13 test_vm_autoscaling.py
test_06_autoscaling_vmgroup_on_project_network Error 580.14 test_vm_autoscaling.py
test_07_autoscaling_vmgroup_on_vpc_network Failure 102.13 test_vm_autoscaling.py
test_07_autoscaling_vmgroup_on_vpc_network Error 102.14 test_vm_autoscaling.py
ContextSuite context=TestVmAutoScaling>:teardown Error 103.30 test_vm_autoscaling.py
test_01_deploy_vm_on_specific_host Error 64.98 test_vm_deployment_planner.py
test_02_deploy_vm_on_specific_cluster Error 4.37 test_vm_deployment_planner.py
test_03_deploy_vm_on_specific_pod Error 4.45 test_vm_deployment_planner.py
test_04_deploy_vm_on_host_override_pod_and_cluster Error 4.46 test_vm_deployment_planner.py
test_05_deploy_vm_on_cluster_override_pod Error 4.34 test_vm_deployment_planner.py
all_test_vm_life_cycle Skipped --- test_vm_life_cycle.py
all_test_vm_lifecycle_unmanage_import Skipped --- test_vm_lifecycle_unmanage_import.py
all_test_vm_lifecycle_unmanage_kvm_import Skipped --- test_vm_lifecycle_unmanage_kvm_import.py
all_test_vm_lifecycle_with_snapshot_or_volume Skipped --- test_vm_lifecycle_with_snapshot_or_volume.py
all_test_vm_schedule Skipped --- test_vm_schedule.py
all_test_vm_snapshot_kvm Skipped --- test_vm_snapshot_kvm.py
all_test_vm_snapshots Skipped --- test_vm_snapshots.py
all_test_vm_strict_host_tags Skipped --- test_vm_strict_host_tags.py
all_test_vnf_templates Skipped --- test_vnf_templates.py
all_test_volumes Skipped --- test_volumes.py
all_test_vpc_conserve_mode Skipped --- test_vpc_conserve_mode.py
all_test_vpc_firewall_rules Skipped --- test_vpc_firewall_rules.py
all_test_vpc_ipv6 Skipped --- test_vpc_ipv6.py
all_test_vpc_redundant Skipped --- test_vpc_redundant.py
all_test_vpc_router_nics Skipped --- test_vpc_router_nics.py
all_test_vpc_vpn Skipped --- test_vpc_vpn.py
all_test_webhook_delivery Skipped --- test_webhook_delivery.py
all_test_webhook_lifecycle Skipped --- test_webhook_lifecycle.py
all_test_host_maintenance Skipped --- test_host_maintenance.py
all_test_hostha_kvm Skipped --- test_hostha_kvm.py

@weizhouapache

Copy link
Copy Markdown
Member Author

@blueorangutan test

@blueorangutan

Copy link
Copy Markdown

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

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: conflict/waiting

Development

Successfully merging this pull request may close these issues.

3 participants