Skip to content

KVM: Enhancements for direct download feature#3374

Merged
nvazquez merged 5 commits into
apache:masterfrom
shapeblue:kvmddadditions
Jul 18, 2019
Merged

KVM: Enhancements for direct download feature#3374
nvazquez merged 5 commits into
apache:masterfrom
shapeblue:kvmddadditions

Conversation

@nvazquez

@nvazquez nvazquez commented Jun 5, 2019

Copy link
Copy Markdown
Contributor

Description

Extend improvements on PR #2995 and #3075

  • Add an API method to revoke certificates from hosts
  • Add a background task to sync missing certificates to hosts (which for some reason could not be uploaded before)

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?

@nvazquez

nvazquez commented Jun 5, 2019

Copy link
Copy Markdown
Contributor Author

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

@nvazquez

nvazquez commented Jun 6, 2019

Copy link
Copy Markdown
Contributor Author

@blueorangutan test

@nvazquez nvazquez closed this Jun 6, 2019
@nvazquez nvazquez reopened this Jun 6, 2019
@yadvr

yadvr commented Jun 7, 2019

Copy link
Copy Markdown
Member

@nvazquez can you fix the conflicts?

@nvazquez

Copy link
Copy Markdown
Contributor Author

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

@nvazquez

Copy link
Copy Markdown
Contributor Author

@blueorangutan test

@blueorangutan

Copy link
Copy Markdown

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

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-3678)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 27955 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr3374-t3678-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_direct_download.py
Smoke tests completed. 70 look OK, 1 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File
test_02_upload_direct_download_certificates Failure 0.00 test_direct_download.py

@nvazquez

Copy link
Copy Markdown
Contributor Author

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

@nvazquez

Copy link
Copy Markdown
Contributor Author

@blueorangutan test

@blueorangutan

Copy link
Copy Markdown

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

@blueorangutan

Copy link
Copy Markdown

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

Test Result Time (s) Test File
test_05_rvpc_multi_tiers Failure 408.25 test_vpc_redundant.py
test_05_rvpc_multi_tiers Error 434.76 test_vpc_redundant.py

@yadvr

yadvr commented Jun 20, 2019

Copy link
Copy Markdown
Member

Fixed merge conflict please check @nvazquez

@nvazquez

Copy link
Copy Markdown
Contributor Author

Thanks @rhtyd
@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-10

@nvazquez

Copy link
Copy Markdown
Contributor Author

@blueorangutan test

@blueorangutan

Copy link
Copy Markdown

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

@nvazquez

Copy link
Copy Markdown
Contributor Author

@borisstoyanov please find the latest fix for the issues we've been through
@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-119

@yadvr

yadvr commented Jul 12, 2019

Copy link
Copy Markdown
Member

@blueorangutan test

@blueorangutan

Copy link
Copy Markdown

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

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

I'm having an issue with the background task, I've stopped one of the agents and uploaded cert, then started the agent. Certificate was not on the host, as expected, and I've just left it there running so that within and hour (I've set the global setting to 1) to upload the cert to host.
It's been 1.5 hours and I still don't see the cert on the host. I suppose there's something wrong with the background task.
cc: @nvazquez

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-152)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 35108 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr3374-t152-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_internal_lb.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Intermittent failure detected: /marvin/tests/smoke/test_host_maintenance.py
Intermittent failure detected: /marvin/tests/smoke/test_hostha_kvm.py
Smoke tests completed. 70 look OK, 2 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File
test_01_cancel_host_maintenace_with_no_migration_jobs Failure 0.16 test_host_maintenance.py
test_02_cancel_host_maintenace_with_migration_jobs Error 2.55 test_host_maintenance.py
test_hostha_enable_ha_when_host_disabled Error 1.67 test_hostha_kvm.py
test_hostha_enable_ha_when_host_in_maintenance Error 302.87 test_hostha_kvm.py

@nvazquez

Copy link
Copy Markdown
Contributor Author

@borisstoyanov fixed, please consider rebuilding your test environment as I have slightly modified the database schema

@yadvr

yadvr commented Jul 15, 2019

Copy link
Copy Markdown
Member

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

@yadvr

yadvr commented Jul 15, 2019

Copy link
Copy Markdown
Member

Ping @borisstoyanov @PaulAngus

@nvazquez

Copy link
Copy Markdown
Contributor Author

@rhtyd @PaulAngus @borisstoyanov please also check: apache/cloudstack-documentation#54

@borisstoyanov borisstoyanov 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, confirmed both the API and background tasks are working as expected

@nvazquez nvazquez closed this Jul 17, 2019
@nvazquez nvazquez reopened this Jul 17, 2019
@nvazquez

Copy link
Copy Markdown
Contributor Author

Thanks @borisstoyanov
@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-143

@nvazquez

Copy link
Copy Markdown
Contributor Author

@blueorangutan test

@blueorangutan

Copy link
Copy Markdown

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

@blueorangutan

Copy link
Copy Markdown

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

Test Result Time (s) Test File
test_hostha_enable_ha_when_host_in_maintenance Error 303.82 test_hostha_kvm.py

@nvazquez nvazquez merged commit a1a9fb8 into apache:master Jul 18, 2019
@nvazquez nvazquez deleted the kvmddadditions branch April 6, 2020 14:41
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.

5 participants