Uh oh!
There was an error while loading. Please reload this page.
KVM: Prevent regenerating keystore on provisionCertificate API - #3075
Conversation
yadvr
commented
Dec 3, 2018
Can we reuse keystore table for this maybe? |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
borisstoyanov
commented
Feb 20, 2019
@blueorangutan package |
blueorangutan
commented
Feb 20, 2019
@borisstoyanov a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
blueorangutan
commented
Feb 20, 2019
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2610 |
borisstoyanov
commented
Feb 21, 2019
@blueorangutan test |
1 similar comment
borisstoyanov
commented
Feb 25, 2019
@blueorangutan test |
blueorangutan
commented
Feb 25, 2019
@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
blueorangutan
commented
Feb 25, 2019
Trillian test result (tid-3409)
|
borisstoyanov
left a comment
There was a problem hiding this comment.
@nvazquez there seems to be something wrong with the SSVM tests here, can you look when you have time.
nvazquez
commented
Feb 26, 2019
Sure @borisstoyanov let me take a look later today |
322ca1a to
35fa34dComparenvazquez
commented
Feb 26, 2019
@blueorangutan package |
blueorangutan
commented
Feb 26, 2019
@nvazquez a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
blueorangutan
commented
Feb 26, 2019
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2614 |
@borisstoyanov I have rebased the 4.11 branch and tested those files locally without errors on failing tests (results below). It seems to be errors with checksums tests. test_ssvm.py: test_iso.py, test_templates.py, test_volumes.py: |
blueorangutan
commented
Feb 26, 2019
@nvazquez unsupported parameters provided. Supported mgmt server os are: |
nvazquez
commented
Feb 26, 2019
@blueorangutan test |
blueorangutan
commented
Feb 26, 2019
@nvazquez a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
blueorangutan
commented
Feb 27, 2019
Trillian test result (tid-3410)
|
yadvr
commented
May 30, 2019
@blueorangutan package |
blueorangutan
commented
Jun 4, 2019
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2843 |
nvazquez
commented
Jun 4, 2019
@blueorangutan test |
blueorangutan
commented
Jun 4, 2019
@nvazquez a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
nvazquez
commented
Jun 4, 2019
@rhtyd this is ready for review |
| fi | ||
| # Use a new keystore file | ||
| NEW_KS_FILE="$KS_FILE.new" |
There was a problem hiding this comment.
The script was create to be idempotent for jks creation and cert import. I'll have to test concurrent cases and see if this script would pass/fail. I'll test and review today and keep you posted @nvazquez thanks.
There was a problem hiding this comment.
I'll also need to test for certificate renewal.
blueorangutan
commented
Jun 5, 2019
Trillian test result (tid-3645)
|
Uh oh!
There was an error while loading. Please reload this page.
4c9bca6 to
07a550cCompareSigned-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
yadvr
commented
Jun 5, 2019
@nvazquez LGTM, I reviewed and fixed few issues around certificate renewal |
blueorangutan
commented
Jun 5, 2019
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
blueorangutan
commented
Jun 5, 2019
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2847 |
yadvr
commented
Jun 5, 2019
@blueorangutan test |
blueorangutan
commented
Jun 5, 2019
@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
DaanHoogland
left a comment
There was a problem hiding this comment.
code changes look good, testing this is done and i'll have to trust that but it is scary ;)
blueorangutan
commented
Jun 5, 2019
Trillian test result (tid-3650)
|
nvazquez
commented
Jun 5, 2019
Thanks for the last fix @rhtyd |
Description
It was found out that direct download feature stops working after 'provisionCertificate' API is executed, as both features import certificates into the same
/etc/cloudstack/agent/cloud.jkskeystore.The 'provisionCertificate' API invokes a script which regenerates the keystore before adding the new certificate, removing the existing certificates from the keystore. This fix prevents regenerating the keystore before adding the new certificates.
Types of changes
Screenshots (if appropriate):
How Has This Been Tested?