Skip to content

VPC VR: fix ACL between tier and private gateway#10268

Merged
DaanHoogland merged 2 commits intoapache:4.19from
weizhouapache:4.19-fix-private-gw-acl
Feb 4, 2025
Merged

VPC VR: fix ACL between tier and private gateway#10268
DaanHoogland merged 2 commits intoapache:4.19from
weizhouapache:4.19-fix-private-gw-acl

Conversation

@weizhouapache
Copy link
Copy Markdown
Member

Description

This PR fixes #9838

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
Copy link
Copy Markdown
Member Author

@blueorangutan package

@weizhouapache weizhouapache linked an issue Jan 24, 2025 that may be closed by this pull request
@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.

@codecov
Copy link
Copy Markdown

codecov bot commented Jan 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 15.16%. Comparing base (2aa2e92) to head (8d3468e).
Report is 29 commits behind head on 4.19.

Additional details and impacted files
@@             Coverage Diff              @@
##               4.19   #10268      +/-   ##
============================================
+ Coverage     15.14%   15.16%   +0.01%     
- Complexity    11283    11299      +16     
============================================
  Files          5408     5408              
  Lines        473822   473891      +69     
  Branches      57825    57838      +13     
============================================
+ Hits          71762    71860      +98     
+ Misses       394037   393998      -39     
- Partials       8023     8033      +10     
Flag Coverage Δ
uitests 4.29% <ø> (-0.01%) ⬇️
unittests 15.88% <ø> (+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.

@DaanHoogland DaanHoogland added this to the 4.19.2 milestone Jan 24, 2025
@blueorangutan
Copy link
Copy Markdown

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

@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

@blueorangutan
Copy link
Copy Markdown

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

Test Result Time (s) Test File

Copy link
Copy Markdown
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

This fixes the issue that SSH/ping does not work from vm in private network to vm in vpc, if
- VPC tier uses ACL default_allow
- private gateway uses ACL "allow egress but deny ingress"
@weizhouapache
Copy link
Copy Markdown
Member Author

@blueorangutan package

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

@weizhouapache
Copy link
Copy Markdown
Member Author

@blueorangutan test

@weizhouapache weizhouapache marked this pull request as ready for review January 30, 2025 19:25
@blueorangutan
Copy link
Copy Markdown

@weizhouapache 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-12248)
Environment: kvm-ol8 (x2), Advanced Networking with Mgmt server ol8
Total time taken: 49774 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr10268-t12248-kvm-ol8.zip
Smoke tests completed. 131 look OK, 2 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File
test_create_pvlan_network Error 0.12 test_pvlan.py
test_12_start_vm_multiple_volumes_allocated Error 18.35 test_vm_life_cycle.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

@blueorangutan
Copy link
Copy Markdown

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

Test Result Time (s) Test File
test_12_start_vm_multiple_volumes_allocated Error 13.21 test_vm_life_cycle.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.

code LGTM

@DaanHoogland
Copy link
Copy Markdown
Contributor

@weizhouapache can you look at that remaining error?

[SF] Trillian test result (tid-12251) Environment: kvm-ol8 (x2), Advanced Networking with Mgmt server ol8 Total time taken: 45537 seconds Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr10268-t12251-kvm-ol8.zip Smoke tests completed. 132 look OK, 1 have errors, 0 did not run Only failed and skipped tests results shown below:
Test Result Time (s) Test File
test_12_start_vm_multiple_volumes_allocated Error 13.21 test_vm_life_cycle.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

@blueorangutan
Copy link
Copy Markdown

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

Test Result Time (s) Test File
test_01_secure_vm_migration Error 396.01 test_vm_life_cycle.py
test_12_start_vm_multiple_volumes_allocated Error 13.01 test_vm_life_cycle.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL Failure 388.26 test_vpc_redundant.py
test_02_redundant_VPC_default_routes Failure 391.31 test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nics Failure 390.38 test_vpc_redundant.py

@DaanHoogland DaanHoogland merged commit 90c960e into apache:4.19 Feb 4, 2025
@DaanHoogland DaanHoogland deleted the 4.19-fix-private-gw-acl branch February 4, 2025 15:15
dhslove pushed a commit to ablecloud-team/ablestack-cloud that referenced this pull request Jun 19, 2025
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.

private gateway ACLs are not applied correctly

4 participants