Skip to content

Conversation

@yadvr
Copy link
Member

@yadvr yadvr commented Apr 30, 2018

Description

This includes several (smoke) test, stabilization fixes and blocker fixes towards 4.11.1.0 milestone. Please review individually melded commits.
This should be merged when we've near 100% smoke test pass.

Fixed issues list:
#2530 (kvm blocker)
#2561 (xenserver blocker)
#2548 (saml2 blocker)
#2541

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?

SystemVM templates used: https://lab.yadav.cloud/systemvmtemplates/4.11/

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.

Copy link
Contributor

@borisstoyanov borisstoyanov left a comment

Choose a reason for hiding this comment

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

LGTM, VM migrations should get SKIPPED with hypervisor other than KVM

@yadvr yadvr self-assigned this May 2, 2018
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
@blueorangutan
Copy link

Trillian test result (tid-2579)
Environment: xenserver-65sp1 (x2), Advanced Networking with Mgmt server 7
Total time taken: 47627 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2616-t2579-xenserver-65sp1.zip
Smoke tests completed. 67 look OK, 0 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File

This ensures that certificate setup includes all the IP addresses (v4
and v6) when a (KVM) host is added to CloudStack. This fixes apache#2530.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
@yadvr yadvr force-pushed the test-fixes411 branch from e700ac0 to 4424abe Compare May 3, 2018 08:27
@apache apache deleted a comment from blueorangutan May 3, 2018
@apache apache deleted a comment from blueorangutan May 3, 2018
yadvr added 6 commits May 3, 2018 14:01
On patching, the global cacerts keystore is imported in 'cloud' service
specific local keystore. This fixes apache#2541.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This fixes incorrect xenstore-read binary path, this failed systemvm
to be patched/started correctly on xenserver. The other fix is to keep
the xen-domU flag that may be returned by virt-what. This effect
won't change the cmdline being consumed as the mgmt server side (java)
code sets the boot args in both xenstore and as pv args. The systemvm's
/boot is ext2 that can be booted by PyGrub on both old and recent
XenServer versions.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This fixes SAML2 certificate encoding/decoding issue due to refactoring
regression introduced in 7ce54bf that
did not account for base64 based encoding/decoding. The changes
effectively restore the same logic as used in previous versions.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This fixes the issue that post-upgrade egress rules are not applied
on VR, restarting the network with cleanup used to be the workaround.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This moves db upgrade paths and checks around a new systemvmtemplate
for 4.11.1. The new systemvmtemplate compared to 4.11.0 template
is slightly smaller and has meltdown/spectre fixes among few other
security fixes from Debian and changes to cloud-early-config.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
@yadvr yadvr force-pushed the test-fixes411 branch from 4424abe to 091b258 Compare May 3, 2018 08:32
@yadvr
Copy link
Member Author

yadvr commented May 3, 2018

@blueorangutan package

@blueorangutan
Copy link

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

@blueorangutan
Copy link

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

@yadvr
Copy link
Member Author

yadvr commented May 3, 2018

@blueorangutan test matrix

@blueorangutan
Copy link

@rhtyd a Trillian-Jenkins matrix job (centos6 mgmt + xs71, centos7 mgmt + vmware65, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests

@blueorangutan
Copy link

Trillian test result (tid-2593)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 23174 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2616-t2593-kvm-centos7.zip
Intermitten failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_vpn.py
Smoke tests completed. 66 look OK, 1 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File
test_01_vpc_site2site_vpn Failure 138.62 test_vpc_vpn.py

@blueorangutan
Copy link

Trillian test result (tid-2594)
Environment: vmware-65 (x2), Advanced Networking with Mgmt server 7
Total time taken: 26575 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2616-t2594-vmware-65.zip
Intermitten failure detected: /marvin/tests/smoke/test_router_dhcphosts.py
Smoke tests completed. 67 look OK, 0 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File

@apache apache deleted a comment from blueorangutan May 4, 2018
@apache apache deleted a comment from blueorangutan May 4, 2018
@apache apache deleted a comment from blueorangutan May 4, 2018
@apache apache deleted a comment from blueorangutan May 4, 2018
@apache apache deleted a comment from blueorangutan May 4, 2018
@apache apache deleted a comment from blueorangutan May 4, 2018
@yadvr
Copy link
Member Author

yadvr commented May 4, 2018

Test LGTM

@yadvr
Copy link
Member Author

yadvr commented May 4, 2018

@blueorangutan test centos7 xenserver-71

@blueorangutan
Copy link

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

@yadvr
Copy link
Member Author

yadvr commented May 4, 2018

Merging this based on 2 code reviews and test results with near 100% smoke test pass, and to allow other PRs to be unblocked from intermittent errors.

@yadvr yadvr merged commit 05857c7 into apache:4.11 May 4, 2018
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