Uh oh!
There was an error while loading. Please reload this page.
KVM: Improvements on upload direct download certificates - #2995
Conversation
906278b to
0df65a8Compareyadvr
commented
Nov 2, 2018
@nvazquez please check build failure |
0df65a8 to
54fe518Comparenvazquez
commented
Nov 5, 2018
Done thanks @rhtyd |
blueorangutan
commented
Nov 5, 2018
@nvazquez a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
blueorangutan
commented
Nov 5, 2018
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2404 |
nvazquez
commented
Nov 5, 2018
@blueorangutan test |
blueorangutan
commented
Nov 5, 2018
@nvazquez a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
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
Nov 8, 2018
@blueorangutan test |
blueorangutan
commented
Nov 8, 2018
@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
blueorangutan
commented
Nov 8, 2018
Trillian test result (tid-3147)
|
Uh oh!
There was an error while loading. Please reload this page.
5b34b8f to
f5eecc7Comparenvazquez
commented
Dec 2, 2018
Thanks @rhtyd, I moved the other improvement to separate PR #3075 |
nvazquez
commented
Dec 5, 2018
@rhtyd @borisstoyanov are we ok to merge this one? |
yadvr
commented
Dec 6, 2018
Let me get back to you on this @nvazquez by tomorrow. |
yadvr
left a comment
There was a problem hiding this comment.
I think there is some technical debt introduced with the feature, we probably need a central place i.e. the control plane (mgmt server+db) to store certificates so the authorized clients (ssvm+kvm agent) can use them to download it. Likely provisionCertificate API can do this not just for the ca issued cert but other CA certificates added to the system to all ssvm/cpvm/kvm agents.
nvazquez
commented
Dec 7, 2018
@rhtyd I have done it but then spread it into separate PR as requested. Please check #3075. It would need to be placed on top of this one |
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.
Uh oh!
There was an error while loading. Please reload this page.
| throw new CloudRuntimeException("Certificate is invalid. Please provide a valid certificate. Error: " + e.getMessage()); | ||
| } | ||
| if (x509Cert.getSubjectDN() != null) { | ||
| s_logger.info("Valid certificate for domain name: " + x509Cert.getSubjectDN().getName()); |
There was a problem hiding this comment.
This looks more like a debug message.
BTW, what does this message mean?
If the domain name is not null, then you call it valid? That sounds a bit odd. Could you explain that a bit further?
There was a problem hiding this comment.
Actually it is valid if it succeeds the checkValidity() method above. Message is just informative, at this point in both cases (domain name null or not) the certificate is valid. Anyways I'll set it to debug level, or if its confusing then it can be removed as well
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.
86abc1c to
f953268Comparenvazquez
commented
Jun 3, 2019
Rebased branch 4.11 and adressed last review comments, thanks @rafaelweingartner! |
nvazquez
commented
Jun 3, 2019
@blueorangutan package |
blueorangutan
commented
Jun 3, 2019
@nvazquez a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
blueorangutan
commented
Jun 3, 2019
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2828 |
nvazquez
commented
Jun 3, 2019
@blueorangutan test |
blueorangutan
commented
Jun 3, 2019
@nvazquez a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
blueorangutan
commented
Jun 3, 2019
Trillian test result (tid-3633)
|
nvazquez
commented
Jun 3, 2019
@rafaelweingartner are you ok with this one after comments addressed? |
683dcc3 to
49b24eeComparenvazquez
commented
Jun 3, 2019
@blueorangutan package |
blueorangutan
commented
Jun 3, 2019
@nvazquez a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
blueorangutan
commented
Jun 3, 2019
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2836 |
nvazquez
commented
Jun 3, 2019
@blueorangutan test |
blueorangutan
commented
Jun 3, 2019
@nvazquez a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
blueorangutan
commented
Jun 4, 2019
Trillian test result (tid-3640)
|
Description
There are some issues reported on the direct download feature for KVM:
To tackle these issues, several improvements for the KVM direct download feature have been introduced:
Types of changes
Screenshots (if appropriate):
How Has This Been Tested?
2 KVM hosts