Skip to content

xenserver: Add support for XS 7.3, 7.4 and XCP-ng 7.4 - #2605

Merged
yadvr merged 4 commits into
apache:4.11from
shapeblue:411-xng-x74
Apr 30, 2018
Merged

xenserver: Add support for XS 7.3, 7.4 and XCP-ng 7.4#2605
yadvr merged 4 commits into
apache:4.11from
shapeblue:411-xng-x74

Conversation

@yadvr

@yadvr yadvr commented Apr 25, 2018

Copy link
Copy Markdown
Member

This adds support for XenServer 7.3 and 7.4, and XCP-ng 7.4 version
as hypervisor hosts. Fixes #2523.

This also fixes the issue of 4.11 VRs stuck in starting for up-to 10mins, before they come up online. /cc @resmo @mike-tutkowski

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)

GitHub Issue/PRs

Screenshots (if appropriate):

How Has This Been Tested?

Checklist:

  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
    Testing
  • I have added tests to cover my changes.
  • All relevant new and existing integration tests have passed.
  • A full integration testsuite with all test that can run on my environment has passed.

@borisstoyanov

Copy link
Copy Markdown
Contributor

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@borisstoyanov 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: ✔centos6 ✔centos7 ✔debian. JID-1969

@nvazquez

Copy link
Copy Markdown
Contributor

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@nvazquez 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: ✔centos6 ✔centos7 ✔debian. JID-1970

@yadvr

yadvr commented Apr 25, 2018

Copy link
Copy Markdown
Member Author

/cc @dagsonstebo
@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

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

@nvazquez nvazquez left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@blueorangutan

Copy link
Copy Markdown

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-1971

@yadvr

yadvr commented Apr 25, 2018

Copy link
Copy Markdown
Member Author

@blueorangutan test centos xenserver-71

@blueorangutan

Copy link
Copy Markdown

@rhtyd unsupported parameters provided. Supported mgmt server os are: centos6, centos7, ubuntu. Supported hypervisors are: kvm-centos6, kvm-centos7, kvm-ubuntu, xenserver-71, xenserver-65sp1, xenserver-62sp1, vmware-65, vmware-60u2, vmware-55u3, vmware-51u1, vmware-50u1

@yadvr

yadvr commented Apr 25, 2018

Copy link
Copy Markdown
Member Author

@blueorangutan test centos7 xenserver-71

@blueorangutan

Copy link
Copy Markdown

@rhtyd a Trillian-Jenkins test job (centos7 mgmt + xenserver-71) has been kicked to run smoke tests

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-2538)
Environment: xcpng74 (x2), Advanced Networking with Mgmt server 7
Total time taken: 48208 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2605-t2538-xcpng74.zip
Intermitten failure detected: /marvin/tests/smoke/test_network.py
Intermitten failure detected: /marvin/tests/smoke/test_projects.py
Intermitten failure detected: /marvin/tests/smoke/test_routers.py
Intermitten failure detected: /marvin/tests/smoke/test_service_offerings.py
Intermitten failure detected: /marvin/tests/smoke/test_ssvm.py
Intermitten failure detected: /marvin/tests/smoke/test_usage.py
Intermitten failure detected: /marvin/tests/smoke/test_vm_life_cycle.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Smoke tests completed. 60 look OK, 7 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File
test_reboot_router Error 1553.04 test_network.py
test_10_project_activation Error 2693.52 test_projects.py
test_08_start_router Error 1346.38 test_routers.py
test_09_reboot_router Error 1.10 test_routers.py
ContextSuite context=TestCpuCapServiceOfferings>:teardown Error 0.00 test_service_offerings.py
test_05_stop_ssvm Failure 915.34 test_ssvm.py
test_06_stop_cpvm Failure 918.89 test_ssvm.py
test_08_reboot_cpvm Failure 0.03 test_ssvm.py
test_01_secured_vm_migration Error 2.13 test_vm_life_cycle.py
test_02_not_secured_vm_migration Error 2.13 test_vm_life_cycle.py
test_03_secured_to_nonsecured_vm_migration Error 2.13 test_vm_life_cycle.py
test_04_nonsecured_to_secured_vm_migration Error 2.13 test_vm_life_cycle.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers Error 1529.22 test_vpc_redundant.py

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-2535)
Environment: xenserver-71 (x2), Advanced Networking with Mgmt server 7
Total time taken: 63345 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2605-t2535-xenserver-71.zip
Intermitten failure detected: /marvin/tests/smoke/test_network.py
Intermitten failure detected: /marvin/tests/smoke/test_projects.py
Intermitten failure detected: /marvin/tests/smoke/test_public_ip_range.py
Intermitten failure detected: /marvin/tests/smoke/test_routers.py
Intermitten failure detected: /marvin/tests/smoke/test_scale_vm.py
Intermitten failure detected: /marvin/tests/smoke/test_service_offerings.py
Intermitten failure detected: /marvin/tests/smoke/test_ssvm.py
Intermitten failure detected: /marvin/tests/smoke/test_templates.py
Intermitten failure detected: /marvin/tests/smoke/test_usage.py
Intermitten failure detected: /marvin/tests/smoke/test_vm_life_cycle.py
Intermitten failure detected: /marvin/tests/smoke/test_volumes.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Smoke tests completed. 56 look OK, 11 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File
test_reboot_router Error 1637.78 test_network.py
test_10_project_activation Error 3679.11 test_projects.py
test_08_start_router Error 1354.21 test_routers.py
test_09_reboot_router Error 1.08 test_routers.py
test_01_scale_vm Error 20.47 test_scale_vm.py
ContextSuite context=TestCpuCapServiceOfferings>:teardown Error 0.00 test_service_offerings.py
test_05_stop_ssvm Failure 921.09 test_ssvm.py
test_06_stop_cpvm Failure 921.63 test_ssvm.py
test_08_reboot_cpvm Failure 0.03 test_ssvm.py
test_04_extract_template Failure 128.36 test_templates.py
ContextSuite context=TestISOUsage>:setup Error 0.00 test_usage.py
test_01_secured_vm_migration Error 2.12 test_vm_life_cycle.py
test_02_not_secured_vm_migration Error 2.13 test_vm_life_cycle.py
test_03_secured_to_nonsecured_vm_migration Error 2.13 test_vm_life_cycle.py
test_04_nonsecured_to_secured_vm_migration Error 2.11 test_vm_life_cycle.py
test_06_download_detached_volume Failure 151.86 test_volumes.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL Error 2228.85 test_vpc_redundant.py

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-2539)
Environment: xenserver-74 (x2), Advanced Networking with Mgmt server 7
Total time taken: 46305 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2605-t2539-xenserver-74.zip
Intermitten failure detected: /marvin/tests/smoke/test_deploy_vm_iso.py
Intermitten failure detected: /marvin/tests/smoke/test_network.py
Intermitten failure detected: /marvin/tests/smoke/test_projects.py
Intermitten failure detected: /marvin/tests/smoke/test_routers.py
Intermitten failure detected: /marvin/tests/smoke/test_scale_vm.py
Intermitten failure detected: /marvin/tests/smoke/test_service_offerings.py
Intermitten failure detected: /marvin/tests/smoke/test_ssvm.py
Intermitten failure detected: /marvin/tests/smoke/test_vm_life_cycle.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Smoke tests completed. 59 look OK, 8 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File
test_reboot_router Error 1593.72 test_network.py
test_10_project_activation Error 2688.32 test_projects.py
test_08_start_router Error 1339.53 test_routers.py
test_09_reboot_router Error 1.12 test_routers.py
test_01_scale_vm Error 12.39 test_scale_vm.py
ContextSuite context=TestCpuCapServiceOfferings>:teardown Error 0.00 test_service_offerings.py
test_05_stop_ssvm Failure 919.15 test_ssvm.py
test_06_stop_cpvm Failure 917.47 test_ssvm.py
test_08_reboot_cpvm Failure 0.03 test_ssvm.py
test_01_secured_vm_migration Error 2.15 test_vm_life_cycle.py
test_02_not_secured_vm_migration Error 2.15 test_vm_life_cycle.py
test_03_secured_to_nonsecured_vm_migration Error 2.14 test_vm_life_cycle.py
test_04_nonsecured_to_secured_vm_migration Error 2.14 test_vm_life_cycle.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers Error 1539.45 test_vpc_redundant.py

@yadvr

yadvr commented Apr 27, 2018

Copy link
Copy Markdown
Member Author

@blueorangutan test centos7 xenserver-65sp1

@blueorangutan

Copy link
Copy Markdown

@rhtyd a Trillian-Jenkins test job (centos7 mgmt + xenserver-65sp1) has been kicked to run smoke tests

yadvr added 3 commits April 27, 2018 12:49
This adds support for XenServer 7.3 and 7.4, and XCP-ng 7.4 version
as hypervisor hosts.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-2541)
Environment: xenserver-65sp1 (x2), Advanced Networking with Mgmt server 7
Total time taken: 50964 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2605-t2541-xenserver-65sp1.zip
Intermitten failure detected: /marvin/tests/smoke/test_network.py
Intermitten failure detected: /marvin/tests/smoke/test_projects.py
Intermitten failure detected: /marvin/tests/smoke/test_public_ip_range.py
Intermitten failure detected: /marvin/tests/smoke/test_routers.py
Intermitten failure detected: /marvin/tests/smoke/test_service_offerings.py
Intermitten failure detected: /marvin/tests/smoke/test_ssvm.py
Intermitten failure detected: /marvin/tests/smoke/test_templates.py
Intermitten failure detected: /marvin/tests/smoke/test_usage.py
Intermitten failure detected: /marvin/tests/smoke/test_vm_life_cycle.py
Intermitten failure detected: /marvin/tests/smoke/test_volumes.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Smoke tests completed. 58 look OK, 9 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File
test_reboot_router Error 1573.71 test_network.py
test_10_project_activation Error 2702.77 test_projects.py
test_08_start_router Error 1350.25 test_routers.py
test_09_reboot_router Error 1.10 test_routers.py
ContextSuite context=TestCpuCapServiceOfferings>:teardown Error 0.00 test_service_offerings.py
test_05_stop_ssvm Failure 918.03 test_ssvm.py
test_06_stop_cpvm Failure 918.39 test_ssvm.py
test_08_reboot_cpvm Failure 0.04 test_ssvm.py
test_04_extract_template Failure 128.33 test_templates.py
ContextSuite context=TestISOUsage>:setup Error 0.00 test_usage.py
test_01_secured_vm_migration Error 2.15 test_vm_life_cycle.py
test_02_not_secured_vm_migration Error 2.15 test_vm_life_cycle.py
test_03_secured_to_nonsecured_vm_migration Error 2.14 test_vm_life_cycle.py
test_04_nonsecured_to_secured_vm_migration Error 2.14 test_vm_life_cycle.py
test_06_download_detached_volume Failure 140.74 test_volumes.py

@DaanHoogland DaanHoogland left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

no objections ;) 👍


// guest-tools.iso for XenServer version 7.0+
if (xenBrand.equals("XenServer") && Integer.parseInt(items[0]) >= 7) {
if ((xenBrand.equals("XenServer") || xenBrand.equals("XCP-ng")) && Integer.parseInt(items[0]) >= 7) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

just a comment; how about defining applicable targets as a set for readability.
Also, though it doesn't apply to this PR, parsing an it is not a very prozaic way of saying you need to be at version 7 or higher. that comment at 2651 should have been a method name instead of a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Not sure how to address this, I'll let it be for this PR.

@DaanHoogland

Copy link
Copy Markdown
Contributor

one concern though, the number of failures, even when they seem unrelated at first sight, is concerning. I'll give them a little look later today, please do as well @rhtyd @borisstoyanov ?

@yadvr

yadvr commented Apr 30, 2018

Copy link
Copy Markdown
Member Author

@DaanHoogland I compared the failures in this PR against 4.11 smoketest health run: #2376. The errors seems to env related, in case of (a) vm_life_cycle test failures, they are due to secure/non-secure test cases run on xenserver which only apply for KVM, they should be skipped for non-KVM hypervisors ( /cc @borisstoyanov - can you open a PR to ensure that we skip the secure/non-secure migration related tests cases for non-KVM hosts?).
(b) for ssvm and router related failures, I'm not sure why they are happening but they are unrelated to this PR as seen against the baseline PR tests, (c) cpu cap related offering failure is happening due to an issue with the test /cc @nvazquez , (d) vm_scale failure happened as that feature is not available in free versions on xenserver 7.4, 7.1.

Given about analysis, I don't see any real failures caused by this PR. I'll address some of the mentioned failures (a)-(d) in separate 4.11 stabilization PR, with that I'll merge this based on review and tests.

@yadvr
yadvr merged commit 4645512 into apache:4.11 Apr 30, 2018
@DaanHoogland

Copy link
Copy Markdown
Contributor

@rhtyd thankssss for the failure analysis. no issues there

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.

6 participants