Skip to content

Conversation

@weizhouapache
Copy link
Member

@weizhouapache weizhouapache commented Dec 5, 2023

Description

This PR updates the conserve mode of default vpc tier offering to conserve_mode=1
so we can create both port forwarding and load balancing rules on a public IP in vpc tiers.

This fixes #8313

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

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

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

Co-authored-by: Pearl Dsilva <pearl1594@gmail.com>
@codecov
Copy link

codecov bot commented Dec 5, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (a15b706) 22.25% compared to head (dddd8e7) 20.19%.
Report is 6 commits behind head on main.

Files Patch % Lines
...ain/java/com/cloud/network/vpc/VpcManagerImpl.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #8309      +/-   ##
============================================
- Coverage     22.25%   20.19%   -2.06%     
+ Complexity    22439    19978    -2461     
============================================
  Files          5117     5117              
  Lines        346819   346831      +12     
  Branches      49790    49795       +5     
============================================
- Hits          77190    70057    -7133     
- Misses       258466   266482    +8016     
+ Partials      11163    10292     -871     
Flag Coverage Δ
simulator-marvin-tests 21.59% <0.00%> (-2.24%) ⬇️
uitests 4.44% <ø> (-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.

@blueorangutan
Copy link

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

@weizhouapache
Copy link
Member Author

@blueorangutan test

@weizhouapache weizhouapache marked this pull request as ready for review December 5, 2023 19:48
@weizhouapache weizhouapache marked this pull request as draft December 5, 2023 19:48
@weizhouapache weizhouapache reopened this Dec 5, 2023
@harikrishna-patnala
Copy link
Contributor

@blueorangutan test

@blueorangutan
Copy link

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

@weizhouapache weizhouapache linked an issue Dec 6, 2023 that may be closed by this pull request
@shwstppr shwstppr added this to the 4.19.0.0 milestone Dec 6, 2023
@boring-cyborg boring-cyborg bot added component:integration-test Python Warning... Python code Ahead! labels Dec 6, 2023
@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]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 7950

@weizhouapache
Copy link
Member Author

@blueorangutan test matrix

@blueorangutan
Copy link

@weizhouapache a [SL] Trillian-Jenkins matrix job (centos7 mgmt + xenserver71, rocky8 mgmt + vmware67u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests

@alexandremattioli
Copy link
Contributor

@weizhouapache great idea, conserve mode should definitely be true by default

@blueorangutan
Copy link

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

Test Result Time (s) Test File
test_08_upgrade_kubernetes_ha_cluster Failure 545.81 test_kubernetes_clusters.py
test_08_migrate_vm Error 0.06 test_vm_life_cycle.py

@blueorangutan
Copy link

[SF] Trillian test result (tid-8491)
Environment: xenserver-71 (x2), Advanced Networking with Mgmt server 7
Total time taken: 47258 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8309-t8491-xenserver-71.zip
Smoke tests completed. 118 look OK, 3 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File
test_DeployVmAntiAffinityGroup_in_project Error 101.06 test_affinity_groups_projects.py
test_13_retrieve_vr_default_files Error 1.09 test_diagnostics.py
test_14_retrieve_vr_one_file Error 1.09 test_diagnostics.py
test_15_retrieve_ssvm_default_files Error 1.10 test_diagnostics.py
test_16_retrieve_ssvm_single_file Error 1.10 test_diagnostics.py
test_17_retrieve_cpvm_default_files Error 1.09 test_diagnostics.py
test_18_retrieve_cpvm_single_file Error 1.10 test_diagnostics.py
test_08_upgrade_kubernetes_ha_cluster Failure 613.23 test_kubernetes_clusters.py

@blueorangutan
Copy link

[SF] Trillian test result (tid-8492)
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server r8
Total time taken: 49776 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8309-t8492-vmware-67u3.zip
Smoke tests completed. 118 look OK, 3 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File
test_DeployVmAntiAffinityGroup_in_project Error 103.95 test_affinity_groups_projects.py
test_01_browser_migrate_template Failure 5.39 test_image_store_object_migration.py
test_08_upgrade_kubernetes_ha_cluster Failure 621.77 test_kubernetes_clusters.py

@weizhouapache weizhouapache marked this pull request as ready for review December 7, 2023 08:45
@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]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 8027

@weizhouapache
Copy link
Member Author

@blueorangutan test matrix

@blueorangutan
Copy link

@weizhouapache a [SL] Trillian-Jenkins matrix job (centos7 mgmt + xenserver71, rocky8 mgmt + vmware67u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests

@blueorangutan
Copy link

[SF] Trillian test result (tid-8560)
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server r8
Total time taken: 53360 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8309-t8560-vmware-67u3.zip
Smoke tests completed. 117 look OK, 4 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File
test_DeployVmAntiAffinityGroup_in_project Error 116.47 test_affinity_groups_projects.py
test_01_browser_migrate_template Failure 5.44 test_image_store_object_migration.py
test_08_upgrade_kubernetes_ha_cluster Error 4186.50 test_kubernetes_clusters.py
test_09_delete_kubernetes_ha_cluster Failure 0.06 test_kubernetes_clusters.py
test_10_vpc_tier_kubernetes_cluster Failure 74.69 test_kubernetes_clusters.py
ContextSuite context=TestKubernetesCluster>:teardown Error 174.54 test_kubernetes_clusters.py
test_01_unmanage_vm_cycle Error 115.46 test_vm_lifecycle_unmanage_import.py

@shwstppr shwstppr modified the milestones: 4.19.0.0, 4.19.1.0 Dec 14, 2023
@weizhouapache
Copy link
Member Author

this is also a simple PR, users can benefit from it
cc @shwstppr @DaanHoogland

@shwstppr
Copy link
Contributor

@blueorangutan package

@blueorangutan
Copy link

@shwstppr 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]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 8059

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

@shwstppr shwstppr requested a review from Pearl1594 December 15, 2023 11:45
@shwstppr shwstppr modified the milestones: 4.19.1.0, 4.19.0.0 Dec 15, 2023
@shwstppr
Copy link
Contributor

@blueorangutan test

@blueorangutan
Copy link

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

@shwstppr
Copy link
Contributor

Results from the backend,

14:34:24 + MSG='{"body": "<b>[SF] Trillian test result (tid-8613)</b>\nEnvironment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7\nTotal time taken: 52104 seconds\nMarvin logs: [https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8309-t8613-kvm-centos7.zip\nSmoke](https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8309-t8613-kvm-centos7.zip/nSmoke) tests completed. 121 look OK, 0 have errors, 0 did not run\nOnly failed and skipped tests results shown below:\n\n\nTest | Result | Time (s) | Test File\n--- | --- | --- | ---\n"}'

@shwstppr shwstppr merged commit 33e2a4d into apache:main Dec 18, 2023
@DaanHoogland DaanHoogland deleted the 4.19-update-vpctier-offering-conserve-mode branch December 18, 2023 07:41
dhslove pushed a commit to ablecloud-team/ablestack-cloud that referenced this pull request Dec 27, 2023
…pache#8309)

This PR updates the conserve mode of default vpc tier offering to conserve_mode=1
so we can create both port forwarding and load balancing rules on a public IP in vpc tiers.

This fixes apache#8313
weizhouapache added a commit to weizhouapache/cloudstack that referenced this pull request Apr 17, 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.

VPC: Public IP cannot be used by multiple services

7 participants