Skip to content

Conversation

@Spaceman1984
Copy link
Contributor

@Spaceman1984 Spaceman1984 commented Sep 11, 2020

Description

When a worker VM is created in the process of creating a volume snapshot on Vmware, the hardware version of the worker VM will be set to the highest supported hardware version of the hypervisor. If you have hypervisors of different versions in a cluster and have set the "Default VM compatibility" to a lower version, the worker VM should use the same version as the original VM instance,

This PR sets the worker VM hardware version to the same version as the original VM instance.

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)

Screenshots (if appropriate):

How Has This Been Tested?

This has been tested by doing the following:

  • create an instance
  • take a snapshot
  • check the hardware version of the worker vm created in Vsphere.

@Spaceman1984
Copy link
Contributor Author

@blueorangutan package

@blueorangutan
Copy link

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

@blueorangutan
Copy link

Packaging result: ✖centos7 ✖centos8 ✖debian. JID-1968

@Spaceman1984
Copy link
Contributor Author

@blueorangutan package

@blueorangutan
Copy link

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

@blueorangutan
Copy link

Packaging result: ✔centos7 ✔centos8 ✔debian. JID-1969

@Spaceman1984
Copy link
Contributor Author

@blueorangutan ?

@Spaceman1984
Copy link
Contributor Author

@blueorangutan test ?

@Spaceman1984
Copy link
Contributor Author

@blueorangutan test

@blueorangutan
Copy link

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

@blueorangutan
Copy link

Trillian test result (tid-2724)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 74400 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4321-t2724-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_internal_lb.py
Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_clusters.py
Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_supported_versions.py
Intermittent failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermittent failure detected: /marvin/tests/smoke/test_routers_network_ops.py
Intermittent failure detected: /marvin/tests/smoke/test_usage.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_vpn.py
Intermittent failure detected: /marvin/tests/smoke/test_hostha_kvm.py
Smoke tests completed. 82 look OK, 3 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File
test_01_add_delete_kubernetes_supported_version Error 1808.86 test_kubernetes_supported_versions.py
test_02_vpc_privategw_static_routes Failure 452.81 test_privategw_acl.py
test_03_vpc_privategw_restart_vpc_cleanup Failure 538.52 test_privategw_acl.py
test_hostha_kvm_host_fencing Error 183.81 test_hostha_kvm.py

@Spaceman1984
Copy link
Contributor Author

@blueorangutan test ?

@blueorangutan
Copy link

@Spaceman1984 unsupported parameters provided. Supported mgmt server os are: centos6, centos7, centos8, ubuntu. Supported hypervisors are: kvm-centos6, kvm-centos7, kvm-centos8, kvm-ubuntu, xenserver-71, xenserver-65sp1, vmware-67u3, vmware-65u2, vmware-60u2, vmware-55u3, xcpng76, xcpng80, xcpng81, xenserver-74, xcpng74

@Spaceman1984
Copy link
Contributor Author

@blueorangutan test centos7 vmware-65-u2

@Spaceman1984
Copy link
Contributor Author

@blueorangutan test centos7 vmware-65u2

@blueorangutan
Copy link

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

@Spaceman1984
Copy link
Contributor Author

@blueorangutan package

@blueorangutan
Copy link

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

@blueorangutan
Copy link

Packaging result: ✖centos7 ✔centos8 ✔debian. JID-1994

@Spaceman1984
Copy link
Contributor Author

@blueorangutan package

@blueorangutan
Copy link

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

@blueorangutan
Copy link

Packaging result: ✔centos7 ✔centos8 ✖debian. JID-1996

@Spaceman1984
Copy link
Contributor Author

@blueorangutan test centos7 vmware-65-u2

@blueorangutan
Copy link

@Spaceman1984 unsupported parameters provided. Supported mgmt server os are: centos6, centos7, centos8, ubuntu. Supported hypervisors are: kvm-centos6, kvm-centos7, kvm-centos8, kvm-ubuntu, xenserver-71, xenserver-65sp1, vmware-67u3, vmware-65u2, vmware-60u2, vmware-55u3, xcpng76, xcpng80, xcpng81, xenserver-74, xcpng74

@Spaceman1984
Copy link
Contributor Author

@blueorangutan test centos7 vmware-65u2

@blueorangutan
Copy link

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

@Spaceman1984
Copy link
Contributor Author

@blueorangutan test centos7 vmware-65u2

@rohityadavcloud
Copy link
Member

Please hold merging until someone can confirm manual testing cc @andrijapanicsb @borisstoyanov

@DaanHoogland DaanHoogland marked this pull request as draft September 21, 2020 10:45
@rohityadavcloud
Copy link
Member

@blueorangutan package

@blueorangutan
Copy link

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

Copy link
Member

@rohityadavcloud rohityadavcloud left a comment

Choose a reason for hiding this comment

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

LGTM, let's hold on merging until @borisstoyanov @andrijapanicsb can lgtm

@blueorangutan
Copy link

Packaging result: ✖centos7 ✖centos8 ✖debian. JID-2107

@rohityadavcloud
Copy link
Member

@Spaceman1984 pl check, build failing due to possibly code or unit test failure

@andrijapanicsb
Copy link
Contributor

The internal branch work is LGTM - if this PR is a duplicate of the same code - then let's assume LGTM.

@Spaceman1984
Copy link
Contributor Author

The branch builds fine locally, must be some kind of merge issue. Looking into it.

@Spaceman1984
Copy link
Contributor Author

@blueorangutan package

@andrijapanicsb
Copy link
Contributor

I was advised that Alex will test cc @rhtyd

@rohityadavcloud rohityadavcloud marked this pull request as ready for review October 1, 2020 07:28
@rohityadavcloud rohityadavcloud marked this pull request as draft October 1, 2020 07:29
@Spaceman1984
Copy link
Contributor Author

@blueorangutan package

@blueorangutan
Copy link

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

@Spaceman1984 Spaceman1984 reopened this Oct 1, 2020
@blueorangutan
Copy link

Packaging result: ✔centos7 ✔centos8 ✔debian. JID-2108

@Spaceman1984
Copy link
Contributor Author

@blueorangutan test centos7 vmware-65u2

@blueorangutan
Copy link

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

@blueorangutan
Copy link

Trillian test result (tid-2877)
Environment: vmware-65u2 (x2), Advanced Networking with Mgmt server 7
Total time taken: 39603 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4321-t2877-vmware-65u2.zip
Intermittent failure detected: /marvin/tests/smoke/test_internal_lb.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Smoke tests completed. 84 look OK, 1 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL Failure 397.81 test_vpc_redundant.py

@blueorangutan
Copy link

Trillian test result (tid-2896)
Environment: vmware-65u2 (x2), Advanced Networking with Mgmt server 7
Total time taken: 35891 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4321-t2896-vmware-65u2.zip
Intermittent failure detected: /marvin/tests/smoke/test_deploy_vm_root_resize.py
Smoke tests completed. 85 look OK, 0 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File

@alexandremattioli
Copy link
Contributor

alexandremattioli commented Oct 7, 2020

Tested. LGTM

@andrijapanicsb andrijapanicsb marked this pull request as ready for review October 9, 2020 15:05
@andrijapanicsb andrijapanicsb merged commit 479ef8a into apache:master Oct 9, 2020
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.

7 participants