Skip to content

api: remove required flag of gatewayid in CreateStaticRouteCmd - #12786

Merged
sureshanaparti merged 1 commit into
apache:4.22from
weizhouapache:4.22-fix-create-static-route-gatewayid
Mar 12, 2026
Merged

api: remove required flag of gatewayid in CreateStaticRouteCmd#12786
sureshanaparti merged 1 commit into
apache:4.22from
weizhouapache:4.22-fix-create-static-route-gatewayid

Conversation

@weizhouapache

Copy link
Copy Markdown
Member

Description

This PR fixes#12782

it was added in the merge of 4.20 branch to 4.22 branch: 55ab7c5

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?

@weizhouapacheweizhouapache linked an issue Mar 11, 2026 that may be closed by this pull request
@rajujith

Copy link
Copy Markdown
Contributor

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@rajujith 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 Mar 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 17.61%. Comparing base (7aa0558) to head (1e85374).
⚠️ Report is 3 commits behind head on 4.22.

Additional details and impacted files
@@ Coverage Diff @@## 4.22 #12786 +/- ##
============================================
- Coverage 17.61% 17.61% -0.01% 
Complexity 15664 15664 ============================================
Files 5917 5917 Lines 531402 531402 Branches 64971 64971 ============================================
- Hits 93596 93594 -2 - Misses 427252 427254 +2 
Partials 10554 10554 
FlagCoverage Δ
uitests3.70% <ø> (ø)
unittests18.68% <ø> (-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.

@blueorangutan

Copy link
Copy Markdown

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

@weizhouapache

Copy link
Copy Markdown
MemberAuthor

@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

@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

This has now added a generic static route not tied to the private gateway.

ImageImage

@weizhouapache

Copy link
Copy Markdown
MemberAuthor

LGTM

This has now added a generic static route not tied to the private gateway.

ImageImage

thanks @rajujith

@blueorangutan

Copy link
Copy Markdown

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

TestResultTime (s)Test File
ContextSuite context=TestListIdsParams>:teardownError1.15test_list_ids_parameter.py
test_01_snapshot_root_diskError4.89test_snapshots.py
test_02_list_snapshots_with_removed_data_storeError49.72test_snapshots.py
test_02_list_snapshots_with_removed_data_storeError49.72test_snapshots.py
ContextSuite context=TestSnapshotStandaloneBackup>:teardownError28.56test_snapshots.py
test_01_snapshot_usageError22.73test_usage.py
test_01_vpn_usageError1.08test_usage.py

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

clgtm

@sureshanaparti

Copy link
Copy Markdown
Contributor

@weizhouapache is this PR ready, any further changes?

@sureshanapartisureshanaparti added this to the 4.22.1 milestone Mar 12, 2026
@weizhouapache
weizhouapache marked this pull request as ready for review March 12, 2026 07:58
@weizhouapache

weizhouapache commented Mar 12, 2026

Copy link
Copy Markdown
MemberAuthor

@weizhouapache is this PR ready, any further changes?

thanks @DaanHoogland@sureshanaparti for the review, @rajujith for the testing

I think it is ready for merge ?

@sureshanaparti
sureshanaparti merged commit 2359061 into apache:4.22Mar 12, 2026
20 of 26 checks passed
@sureshanapartisureshanaparti moved this from In Progress to Done in Apache CloudStack 4.22.1Mar 12, 2026
@DaanHoogland
DaanHoogland deleted the 4.22-fix-create-static-route-gatewayid branch March 12, 2026 12:29
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.

Fails to add static route on VPC

5 participants

@weizhouapache@rajujith@blueorangutan@sureshanaparti@DaanHoogland