Skip to content

Preview-Experimental Support EL10 as Management Server and KVM host#10496

Merged
Pearl1594 merged 3 commits intoapache:4.20from
shapeblue:el10
Mar 26, 2025
Merged

Preview-Experimental Support EL10 as Management Server and KVM host#10496
Pearl1594 merged 3 commits intoapache:4.20from
shapeblue:el10

Conversation

@yadvr
Copy link
Copy Markdown
Member

@yadvr yadvr commented Mar 4, 2025

This adds support for Fedora 40 and (upcoming) EL10 distro to be used as mgmt/usage server, mysql/nfs & KVM host. Python3 version has changed to 3.12.9 which isn't automatically determining the python-path.

This is experimental tech-preview support to ensure packages & installation works. Actual support & testing is due after EL10's release around mid 2025.

Note: more work may be required to add support with BO/Trillian, mbx etc as well as any other blockers that we can only find once the EL10 ISOs are public and GA.

Fixes #10494

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

How Has This Been Tested?

See #10494 (comment)

yadvr added 2 commits March 4, 2025 14:22
This adds support for Fedora 40 and (upcoming) EL10 distro to be used
as mgmt/usage server, mysql/nfs & KVM host. Python3 version has changed
to 3.12.9 which isn't automatically determining the python-path.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Need to discuss/check if we can skip this code. Where/how is cgroup
setup used with KVM agent.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
@yadvr yadvr added this to the 4.20.1 milestone Mar 4, 2025
@boring-cyborg boring-cyborg bot added component:agent Python Warning... Python code Ahead! labels Mar 4, 2025
@yadvr
Copy link
Copy Markdown
Member Author

yadvr commented Mar 4, 2025

@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@rohityadavcloud 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
Copy Markdown

codecov bot commented Mar 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 16.00%. Comparing base (b92fd17) to head (4ca7058).
Report is 33 commits behind head on 4.20.

Additional details and impacted files
@@             Coverage Diff              @@
##               4.20   #10496      +/-   ##
============================================
+ Coverage     15.98%   16.00%   +0.02%     
- Complexity    13086    13107      +21     
============================================
  Files          5650     5651       +1     
  Lines        495756   495841      +85     
  Branches      60018    60044      +26     
============================================
+ Hits          79261    79379     +118     
+ Misses       407641   407599      -42     
- Partials       8854     8863       +9     
Flag Coverage Δ
uitests 4.00% <ø> (-0.01%) ⬇️
unittests 16.85% <ø> (+0.02%) ⬆️

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.

@blueorangutan
Copy link
Copy Markdown

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

@yadvr yadvr linked an issue Mar 4, 2025 that may be closed by this pull request
6 tasks
@yadvr yadvr marked this pull request as draft March 4, 2025 10:52
@yadvr
Copy link
Copy Markdown
Member Author

yadvr commented Mar 4, 2025

@blueorangutan test

@blueorangutan
Copy link
Copy Markdown

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

@blueorangutan
Copy link
Copy Markdown

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

Test Result Time (s) Test File
test_06_purge_expunged_vm_background_task Failure 419.45 test_purge_expunged_vms.py

Fixes issue for Fedora, it was running old EL6 hooks which isn't
applicable for modern Fedora version that are closer to EL8/9/10

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
@yadvr yadvr marked this pull request as ready for review March 5, 2025 10:12
@yadvr
Copy link
Copy Markdown
Member Author

yadvr commented Mar 5, 2025

This is ready for review now - cc @DaanHoogland @weizhouapache @Pearl1594 @shwstppr
@blueorangutan package

@blueorangutan
Copy link
Copy Markdown

@rohityadavcloud 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 12663

@yadvr
Copy link
Copy Markdown
Member Author

yadvr commented Mar 5, 2025

@blueorangutan test

@blueorangutan
Copy link
Copy Markdown

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

@blueorangutan
Copy link
Copy Markdown

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

Test Result Time (s) Test File
ContextSuite context=TestSharedNetworkWithConfigDrive>:setup Error 1519.56 test_network.py
test_06_purge_expunged_vm_background_task Failure 394.20 test_purge_expunged_vms.py

@Pearl1594 Pearl1594 moved this to In Progress in ACS 4.20.1 Mar 17, 2025
@Pearl1594
Copy link
Copy Markdown
Contributor

@blueorangutan test

@blueorangutan
Copy link
Copy Markdown

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

@blueorangutan
Copy link
Copy Markdown

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

Test Result Time (s) Test File
test_06_purge_expunged_vm_background_task Failure 398.77 test_purge_expunged_vms.py

Copy link
Copy Markdown
Contributor

@Pearl1594 Pearl1594 left a comment

Choose a reason for hiding this comment

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

lgtm - basing it on the test run - no regression

@DaanHoogland
Copy link
Copy Markdown
Contributor

@Pearl1594 , I agree if we mark this support as exeperimental. Otherwise we should have at least the smoke tests pass on this hypervisor version.

@Pearl1594
Copy link
Copy Markdown
Contributor

@DaanHoogland you're right, we should merge this as experimental, as RHEL 10 is due to reach general availability in mid-2025.

@yadvr yadvr changed the title Support EL10 as Management Server and KVM host Preview-Experimental Support EL10 as Management Server and KVM host Mar 26, 2025
@yadvr
Copy link
Copy Markdown
Member Author

yadvr commented Mar 26, 2025

@DaanHoogland @Pearl1594 updated the title and description to explain this is experimental/preview support. We should be able to merge this based on regression testing.

@DaanHoogland
Copy link
Copy Markdown
Contributor

lint error is a spelling error from another PR, @Pearl1594 , probably my fault, but just another heads-up. (busy fixing it)

@Pearl1594 Pearl1594 merged commit 6b4adbb into apache:4.20 Mar 26, 2025
25 of 26 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in ACS 4.20.1 Mar 26, 2025
@Pearl1594 Pearl1594 deleted the el10 branch March 26, 2025 15:23
@Pearl1594 Pearl1594 mentioned this pull request Mar 26, 2025
6 tasks
@yadvr
Copy link
Copy Markdown
Member Author

yadvr commented Mar 27, 2025

Thanks @Pearl1594 @DaanHoogland

dhslove pushed a commit to ablecloud-team/ablestack-cloud that referenced this pull request Jun 19, 2025
…pache#10496)

* cloudstack: add support for EL10
This adds support for Fedora 40 and (upcoming) EL10 distro to be used
as mgmt/usage server, mysql/nfs & KVM host. Python3 version has changed
to 3.12.9 which isn't automatically determining the python-path.
* python: WIP code, this fails right now
Need to discuss/check if we can skip this code. Where/how is cgroup
setup used with KVM agent.
* prep cloudutils to be EL10 ready
Fixes issue for Fedora, it was running old EL6 hooks which isn't
applicable for modern Fedora version that are closer to EL8/9/10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component:agent Python Warning... Python code Ahead!

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Experimental Support EL10

4 participants