Uh oh!
There was an error while loading. Please reload this page.
fix provisionCertificate api returns NPE when 'reconnect' parameter is true - #2756
Conversation
borisstoyanov
commented
Jul 19, 2018
Great @dhlaluku |
blueorangutan
commented
Jul 19, 2018
@borisstoyanov a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
blueorangutan
commented
Jul 19, 2018
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2189 |
dhlaluku
commented
Jul 19, 2018
@blueorangutan test |
blueorangutan
commented
Jul 19, 2018
@dhlaluku a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
| @@ -368,9 +368,10 @@ public void reconnect(final long hostId) throws CloudRuntimeException, AgentUnav | |||
| if (result == null) { | |||
| super.reconnect(hostId); | |||
There was a problem hiding this comment.
Instead of adding an else block and then an if nested, what about simply using a return; statement here?
There was a problem hiding this comment.
Thanks, that is actually quite good since simplifies things and removes redundant code.
blueorangutan
commented
Jul 19, 2018
Trillian test result (tid-2866)
|
dhlaluku
commented
Jul 20, 2018
@blueorangutan package |
blueorangutan
commented
Jul 20, 2018
@dhlaluku a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
blueorangutan
commented
Jul 20, 2018
Packaging result: ✔centos6 ✖centos7 ✔debian. JID-2191 |
dhlaluku
commented
Jul 20, 2018
@blueorangutan package |
blueorangutan
commented
Jul 20, 2018
@dhlaluku a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
blueorangutan
commented
Jul 20, 2018
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-2193 |
dhlaluku
commented
Jul 20, 2018
@blueorangutan test |
blueorangutan
commented
Jul 20, 2018
@dhlaluku a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
borisstoyanov
left a comment
There was a problem hiding this comment.
The Certificate error is gone now, LGTM!
Once we get this merged we can test #2753
blueorangutan
commented
Jul 20, 2018
Trillian test result (tid-2869)
|
…s true (apache#2756) This PR fixes NPE with the provisionCertificateCmd when reconnect is set to True. Also fixes the following Marvin test failures: - test_certauthority_root.py
Description
This PR fixes NPE with the provisionCertificateCmd when reconnect is set to True.
Also fixes the following Marvin test failures:
Types of changes
GitHub Issue/PRs
Fixes: #2753
Screenshots (if appropriate):
How Has This Been Tested?
With cloudmonkey, see screenshot
Dev environment components:
Checklist:
Testing