Skip to content

Conversation

@weizhouapache
Copy link
Member

Description

This PR updates global setting cloud.kubernetes.cluster.network.offering to dynamic so that restartin mgmt server is not required.

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?

@weizhouapache weizhouapache added this to the 4.20.3 milestone Oct 16, 2025
@codecov
Copy link

codecov bot commented Oct 16, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 16.18%. Comparing base (d53b6db) to head (f3fc0b4).
⚠️ Report is 1 commits behind head on 4.20.

Additional details and impacted files
@@             Coverage Diff              @@
##               4.20   #11847      +/-   ##
============================================
- Coverage     16.19%   16.18%   -0.01%     
+ Complexity    13306    13302       -4     
============================================
  Files          5657     5657              
  Lines        498467   498467              
  Branches      60491    60491              
============================================
- Hits          80702    80669      -33     
- Misses       408783   408823      +40     
+ Partials       8982     8975       -7     
Flag Coverage Δ
uitests 4.00% <ø> (ø)
unittests 17.03% <ø> (-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.

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.

😁 clgtm

@DaanHoogland
Copy link
Contributor

anymore testing or discussions needed on this @weizhouapache ?

@weizhouapache weizhouapache marked this pull request as ready for review November 3, 2025 15:33
@weizhouapache
Copy link
Member Author

anymore testing or discussions needed on this @weizhouapache ?

I think no. marked as ready for review

@kiranchavala
Copy link
Contributor

@blueorangutan package

@blueorangutan
Copy link

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

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

Copy link
Contributor

@kiranchavala kiranchavala left a comment

Choose a reason for hiding this comment

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

LGTM

Tested manually

Changed the global setting "cloud.kubernetes.cluster.network.offering" to a new value and created a cks cluster .

The cks cluster created a network with the specified offering


2025-11-05 10:27:37,911 DEBUG [c.c.a.ApiServlet] (qtp253011924-21:[ctx-49129e7f]) (logid:7c626044) ===START===  10.0.3.251 -- GET  name=cloud.kubernetes.cluster.network.offering&value=test-cks-networkoffering&command=updateConfiguration&response=json&sessionkey=tb7YtPglMmm31eyggpz2VG1Pkks
2025-11-05 10:27:37,911 DEBUG [c.c.a.ApiServlet] (qtp253011924-21:[ctx-49129e7f]) (logid:7c626044) Two factor authentication is already verified for the user 2, so skipping
2025-11-05 10:27:37,913 DEBUG [c.c.a.ApiServer] (qtp253011924-21:[ctx-49129e7f, ctx-314a9d25]) (logid:7c626044) CIDRs from which account 'Account [{"accountName":"admin","id":2,"uuid":"1d2e5598-ba13-11f0-b11b-1e002f00043c"}]' is allowed to perform API calls: 0.0.0.0/0,::/0
2025-11-05 10:27:37,914 INFO  [o.a.c.a.DynamicRoleBasedAPIAccessChecker] (qtp253011924-21:[ctx-49129e7f, ctx-314a9d25]) (logid:7c626044) Account for user id 1d2fa88c-ba13-11f0-b11b-1e002f00043c is Root Admin or Domain Admin, all APIs are allowed.
2025-11-05 10:27:37,914 DEBUG [o.a.c.a.StaticRoleBasedAPIAccessChecker] (qtp253011924-21:[ctx-49129e7f, ctx-314a9d25]) (logid:7c626044) RoleService is enabled. We will use it instead of StaticRoleBasedAPIAccessChecker.
2025-11-05 10:27:37,914 DEBUG [o.a.c.r.ApiRateLimitServiceImpl] (qtp253011924-21:[ctx-49129e7f, ctx-314a9d25]) (logid:7c626044) API rate limiting is disabled. We will not use ApiRateLimitService.
2025-11-05 10:27:37,916 WARN  [c.c.c.ConfigurationManagerImpl] (qtp253011924-21:[ctx-49129e7f, ctx-314a9d25]) (logid:7c626044) Did not find configuration [cloud.kubernetes.cluster.network.offering] in Config.java. Perhaps moved to ConfigDepot.
2025-11-05 10:27:37,916 WARN  [c.c.c.ConfigurationManagerImpl] (qtp253011924-21:[ctx-49129e7f, ctx-314a9d25]) (logid:7c626044) Did not find configuration [cloud.kubernetes.cluster.network.offering] in Config.java. Perhaps moved to ConfigDepot.
2025-11-05 10:27:37,916 DEBUG [c.c.c.ConfigurationManagerImpl] (qtp253011924-21:[ctx-49129e7f, ctx-314a9d25]) (logid:7c626044) Not proceeding with configuration [cloud.kubernetes.cluster.network.offering]'s range validation, as it uses ConfigKey instead of Config.
2025-11-05 10:27:37,929 WARN  [c.c.c.ConfigurationManagerImpl] (qtp253011924-21:[ctx-49129e7f, ctx-314a9d25]) (logid:7c626044) Did not find configuration [cloud.kubernetes.cluster.network.offering] in Config.java. Perhaps moved to ConfigDepot.
2025-11-05 10:27:37,929 DEBUG [c.c.a.ApiServlet] (qtp253011924-21:[ctx-49129e7f, ctx-314a9d25]) (logid:7c626044) ===END===  10.0.3.251 -- GET  name=cloud.kubernetes.cluster.network.offering&value=test-cks-networkoffering&command=updateConfiguration&response=json&sessionkey=tb7YtPglMmm31eyggpz2VG1Pkks

Screenshot 2025-11-05 at 3 58 58 PM

@DaanHoogland DaanHoogland merged commit 8230f04 into apache:4.20 Nov 6, 2025
25 of 26 checks passed
@DaanHoogland DaanHoogland deleted the 4.20-dynamic-cloud.kubernetes.cluster.network.offering branch November 6, 2025 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants