Skip to content

[Draft] VR: remove old json config when start vmware/xenserver VPC VRs#5938

Closed
weizhouapache wants to merge 13 commits into
apache:mainfrom
weizhouapache:4.16-remove-old-json-in-vr
Closed

[Draft] VR: remove old json config when start vmware/xenserver VPC VRs#5938
weizhouapache wants to merge 13 commits into
apache:mainfrom
weizhouapache:4.16-remove-old-json-in-vr

Conversation

@weizhouapache

@weizhouapache weizhouapache commented Feb 4, 2022

Copy link
Copy Markdown
Member

Description

This PR fixes the issue that the IPs are associated to wrong interfaces when reboot a VR on vmware/xen environment.
However, VR will be broken if it is rebooted in vCenter or XenCenter (not in cloudstack).

steps to reproduce the issue
(1) create vpc, and a vpc tier
(2) acquire an ip in additional ip range, enable static nat or pf/lb
(3) stop VR in cloudstack, start it in vCenter; OR restart VR in vCenter

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)

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?

@weizhouapache

Copy link
Copy Markdown
Member Author

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@weizhouapache a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan

Copy link
Copy Markdown

Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 2465

@nvazquez

nvazquez commented Feb 5, 2022

Copy link
Copy Markdown
Contributor

@sureshanaparti should this be considered on 4.16.1?

@weizhouapache

Copy link
Copy Markdown
Member Author

@blueorangutan test centos7 xcpng82

@blueorangutan

Copy link
Copy Markdown

@weizhouapache a Trillian-Jenkins test job (centos7 mgmt + xcpng82) has been kicked to run smoke tests

@weizhouapache weizhouapache changed the title VR: remove old json config when start vmware/xenserver VRs VR: remove old json config when start vmware/xenserver VPC VRs Feb 7, 2022
@sureshanaparti sureshanaparti added this to the 4.16.1.0 milestone Feb 7, 2022
@yadvr

yadvr commented Feb 7, 2022

Copy link
Copy Markdown
Member

@weizhouapache doesn't this beat the whole idea of persistent configs in VRs? cc @sureshanaparti @DaanHoogland

@weizhouapache

Copy link
Copy Markdown
Member Author

@weizhouapache doesn't this beat the whole idea of persistent configs in VRs? cc @sureshanaparti @DaanHoogland

@rohityadavcloud

each time when VR is started from cloudstack, the config files are regenerated. so it is not required in this scenario.
I understand persistent config is helpful when reboot VR in vcenter or xencenter.
However, it breaks VPC VR when reboot it in cloudstack in many scenarios.

ps: this behaviour has been aplied for vpc vrs on kvm hosts, where there is no centrailized management other than cloudstack.

@apache apache deleted a comment from blueorangutan Feb 7, 2022
@apache apache deleted a comment from weizhouapache Feb 7, 2022
@apache apache deleted a comment from blueorangutan Feb 7, 2022
@apache apache deleted a comment from blueorangutan Feb 7, 2022
@apache apache deleted a comment from blueorangutan Feb 7, 2022
@DaanHoogland

Copy link
Copy Markdown
Contributor

@blueorangutan test centos7 vmware-7u2

@blueorangutan

Copy link
Copy Markdown

@DaanHoogland unsupported parameters provided. Supported mgmt server os are: suse15, centos7, centos6, alma8, ubuntu18, ubuntu20, rocky8. Supported hypervisors are: kvm-centos6, kvm-centos7, kvm-rocky8, kvm-alma8, kvm-ubuntu18, kvm-ubuntu20, kvm-suse15, vmware-55u3, vmware-60u2, vmware-65u2, vmware-67u3, vmware-70u1, vmware-70u2, vmware-70u3, xenserver-65sp1, xenserver-71, xenserver-74, xcpng74, xcpng76, xcpng80, xcpng81, xcpng82

@DaanHoogland

Copy link
Copy Markdown
Contributor

@blueorangutan test centos7 vmware-70u2

@blueorangutan

Copy link
Copy Markdown

@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + vmware-70u2) has been kicked to run smoke tests

@weizhouapache

Copy link
Copy Markdown
Member Author

@weizhouapache can you reply on @GutoVeronezi ś comments?

@DaanHoogland
moved this to draft.

@blueorangutan

Copy link
Copy Markdown

Packaging result: ✖️ el7 ✖️ el8 ✖️ debian ✖️ suse15. SL-JID 4878

@DaanHoogland DaanHoogland modified the milestones: 4.18.0.0, 4.18.1.0 Jan 12, 2023
@weizhouapache weizhouapache changed the title VR: remove old json config when start vmware/xenserver VPC VRs [Draft] VR: remove old json config when start vmware/xenserver VPC VRs Jan 17, 2023
@DaanHoogland

Copy link
Copy Markdown
Contributor

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@DaanHoogland a 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: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 5476

@DaanHoogland

Copy link
Copy Markdown
Contributor

@blueorangutan test centos7 vmware-67u3

@blueorangutan

Copy link
Copy Markdown

@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests

@DaanHoogland

Copy link
Copy Markdown
Contributor

@blueorangutan test centos7 xcpng-82

@blueorangutan

Copy link
Copy Markdown

@DaanHoogland unsupported parameters provided. Supported mgmt server os are: centos7, centos6, suse15, alma8, ubuntu18, ubuntu22, ubuntu20, rocky8, alma9. Supported hypervisors are: kvm-centos6, kvm-centos7, kvm-rocky8, kvm-alma8, kvm-alma9, kvm-ubuntu18, kvm-ubuntu20, kvm-ubuntu22, kvm-suse15, vmware-55u3, vmware-60u2, vmware-65u2, vmware-67u3, vmware-70u1, vmware-70u2, vmware-70u3, xenserver-65sp1, xenserver-71, xenserver-74, xcpng74, xcpng76, xcpng80, xcpng81, xcpng82

@weizhouapache

Copy link
Copy Markdown
Member Author

@DaanHoogland
I moved this to draft. no need for 4.18.0.0

@DaanHoogland

Copy link
Copy Markdown
Contributor

@blueorangutan test centos7 xcpng82

@blueorangutan

Copy link
Copy Markdown

@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + xcpng82) has been kicked to run smoke tests

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-6082)
Environment: vmware-67u3 (x2), Advanced Networking with Mgmt server 7
Total time taken: 46071 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr5938-t6082-vmware-67u3.zip
Smoke tests completed. 107 look OK, 0 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-6088)
Environment: xcpng82 (x2), Advanced Networking with Mgmt server 7
Total time taken: 67465 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr5938-t6088-xcpng82.zip
Smoke tests completed. 103 look OK, 4 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File
test_list_volumes_metrics_history Failure 181.14 test_metrics_api.py
test_01_non_strict_host_anti_affinity Error 198.60 test_nonstrict_affinity_group.py
test_02_non_strict_host_affinity Error 115.05 test_nonstrict_affinity_group.py
test_deploy_vm_with_registered_userdata Error 783.14 test_register_userdata.py
test_deploy_vm_with_registered_userdata_with_override_policy_allow Error 792.49 test_register_userdata.py
test_deploy_vm_with_registered_userdata_with_override_policy_append Error 788.46 test_register_userdata.py
test_deploy_vm_with_registered_userdata_with_params Error 815.93 test_register_userdata.py
test_08_upgrade_kubernetes_ha_cluster Error 4127.66 test_kubernetes_clusters.py
test_09_delete_kubernetes_ha_cluster Failure 0.05 test_kubernetes_clusters.py
ContextSuite context=TestKubernetesCluster>:teardown Error 98.91 test_kubernetes_clusters.py

@yadvr

yadvr commented May 8, 2023

Copy link
Copy Markdown
Member

@weizhouapache is this still relevant, or the issue has been addressed (or doesn't need to be addressed)?

@yadvr

yadvr commented Jun 27, 2023

Copy link
Copy Markdown
Member

@weizhouapache ping, any advise on this? Is this still necessary? Thanks.

@weizhouapache weizhouapache modified the milestones: 4.18.1.0, 4.18.2.0 Aug 10, 2023
@weizhouapache

Copy link
Copy Markdown
Member Author

moved to 4.18.2.0

@DaanHoogland

Copy link
Copy Markdown
Contributor

is there a way forward with this @weizhouapache ?

@github-actions

github-actions Bot commented Feb 8, 2024

Copy link
Copy Markdown

This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch.

@weizhouapache

Copy link
Copy Markdown
Member Author

closing this pr
will revisit in the future if needed

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.

9 participants