Skip to content

Conversation

@weizhouapache
Copy link
Member

Description

This PR fixes the conserve_mode of network offering DefaultIsolatedNetworkOfferingForVpcNetworks is still 0 in fresh installation

mysql> select conserve_mode  from `cloud`.`network_offerings` where name='DefaultIsolatedNetworkOfferingForVpcNetworks'\G
*************************** 1. row ***************************
conserve_mode: 0
1 row in set (0.00 sec)

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
Member Author

I am so sorry, this is the 3rd PR for the same issue

🤦

@codecov
Copy link

codecov bot commented Jul 3, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 17.36%. Comparing base (9fd2b90) to head (2ef290d).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main   #11133   +/-   ##
=========================================
  Coverage     17.36%   17.36%           
  Complexity    15236    15236           
=========================================
  Files          5886     5886           
  Lines        525645   525645           
  Branches      64156    64156           
=========================================
  Hits          91257    91257           
  Misses       424093   424093           
  Partials      10295    10295           
Flag Coverage Δ
uitests 3.63% <ø> (ø)
unittests 18.40% <ø> (ø)

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, and would this be the last one? ;)

@weizhouapache
Copy link
Member Author

clgtm, and would this be the last one? ;)

hope so @DaanHoogland
😆

@sureshanaparti
Copy link
Contributor

@blueorangutan package

@blueorangutan
Copy link

@sureshanaparti 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 ✔️ debian ✔️ suse15. SL-JID 14036

@weizhouapache
Copy link
Member Author

@blueorangutan test

@blueorangutan
Copy link

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

@blueorangutan
Copy link

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

Test Result Time (s) Test File

@boring-cyborg boring-cyborg bot added component:integration-test Python Warning... Python code Ahead! labels Jul 7, 2025
@weizhouapache
Copy link
Member Author

@blueorangutan package

@weizhouapache
Copy link
Member Author

@DaanHoogland @sureshanaparti
I updated a smoke test to test the conserve mode, hope the issue will be fixed PERMANENTLY.

@weizhouapache weizhouapache marked this pull request as ready for review July 7, 2025 11:33
@DaanHoogland
Copy link
Contributor

@blueorangutan package

@blueorangutan
Copy link

@DaanHoogland 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 ✔️ debian ✔️ suse15. SL-JID 14070

@weizhouapache
Copy link
Member Author

@blueorangutan test

@blueorangutan
Copy link

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

@weizhouapache
Copy link
Member Author

@blueorangutan package

@blueorangutan
Copy link

@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

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

@weizhouapache
Copy link
Member Author

@blueorangutan test ol8 kvm-ol8 keepEnv

@blueorangutan
Copy link

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

@blueorangutan
Copy link

[SF] Trillian Build Failed (tid-14058)

@weizhouapache
Copy link
Member Author

@blueorangutan package

@weizhouapache weizhouapache marked this pull request as ready for review August 14, 2025 07:25
@blueorangutan
Copy link

@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

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

@weizhouapache
Copy link
Member Author

@blueorangutan package

@blueorangutan
Copy link

@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

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

@blueorangutan
Copy link

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

Test Result Time (s) Test File
test_13_retrieve_vr_default_files Error 1.12 test_diagnostics.py
test_14_retrieve_vr_one_file Error 1.11 test_diagnostics.py
test_15_retrieve_ssvm_default_files Error 1.11 test_diagnostics.py
test_16_retrieve_ssvm_single_file Error 1.11 test_diagnostics.py
test_17_retrieve_cpvm_default_files Error 1.12 test_diagnostics.py
test_18_retrieve_cpvm_single_file Error 1.12 test_diagnostics.py
test_01_redundant_vpc_site2site_vpn Failure 408.46 test_vpc_vpn.py

@weizhouapache
Copy link
Member Author

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

Test Result Time (s) Test File
test_13_retrieve_vr_default_files Error 1.12 test_diagnostics.py
test_14_retrieve_vr_one_file Error 1.11 test_diagnostics.py
test_15_retrieve_ssvm_default_files Error 1.11 test_diagnostics.py
test_16_retrieve_ssvm_single_file Error 1.11 test_diagnostics.py
test_17_retrieve_cpvm_default_files Error 1.12 test_diagnostics.py
test_18_retrieve_cpvm_single_file Error 1.12 test_diagnostics.py
test_01_redundant_vpc_site2site_vpn Failure 408.46 test_vpc_vpn.py

smoke test failure with test_network_acl is fixed

Copy link
Contributor

@sureshanaparti sureshanaparti left a comment

Choose a reason for hiding this comment

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

clgtm

Copy link
Collaborator

@rosi-shapeblue rosi-shapeblue 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 and verified the fix

  • The _conserve_mode_ is 1 in fresh CS installation
image

@sureshanaparti sureshanaparti merged commit 03da8cb into apache:main Aug 15, 2025
26 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Apache CloudStack 4.21.0 Aug 15, 2025
@DaanHoogland DaanHoogland deleted the 4.21-fix-vpc-conserve-mode branch August 15, 2025 12:58
@blueorangutan
Copy link

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

Test Result Time (s) Test File
test_13_retrieve_vr_default_files Error 1.11 test_diagnostics.py
test_14_retrieve_vr_one_file Error 1.10 test_diagnostics.py
test_15_retrieve_ssvm_default_files Error 1.12 test_diagnostics.py
test_16_retrieve_ssvm_single_file Error 1.10 test_diagnostics.py
test_17_retrieve_cpvm_default_files Error 1.12 test_diagnostics.py
test_18_retrieve_cpvm_single_file Error 1.11 test_diagnostics.py
test_01_deployVMInSharedNetwork Failure 423.25 test_network.py
ContextSuite context=TestVPCRedundancy>:setup Error 0.00 test_vpc_redundant.py
test_01_redundant_vpc_site2site_vpn Failure 95.00 test_vpc_vpn.py
test_01_vpc_site2site_vpn_multiple_options Failure 8.58 test_vpc_vpn.py
test_01_vpc_remote_access_vpn Failure 7.35 test_vpc_vpn.py
test_01_vpc_site2site_vpn Failure 6.55 test_vpc_vpn.py
test_02_cancel_host_maintenace_with_migration_jobs Error 1.66 test_host_maintenance.py
test_03_cancel_host_maintenace_with_migration_jobs_failure Error 1.73 test_host_maintenance.py
test_01_cancel_host_maintenance_ssh_enabled_agent_connected Failure 15.61 test_host_maintenance.py
test_03_cancel_host_maintenance_ssh_disabled_agent_connected Failure 18.74 test_host_maintenance.py
test_04_cancel_host_maintenance_ssh_disabled_agent_disconnected Failure 32.41 test_host_maintenance.py
ContextSuite context=TestHostMaintenanceAgents>:teardown Error 33.56 test_host_maintenance.py

dhslove pushed a commit to ablecloud-team/ablestack-cloud that referenced this pull request Sep 4, 2025
…orks (apache#11133)

* server: fix conserve_mode of DefaultIsolatedNetworkOfferingForVpcNetworks

* test: update test_network_acl.py to test conserve mode

* Update test/integration/smoke/test_network_acl.py

Co-authored-by: Suresh Kumar Anaparti <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants