Enable SNI in SSVM#4588
Conversation
|
I suppose we'll need to test copy template (one zone to another) with this change cc @shwstppr @blueorangutan package |
|
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos7 ✔centos8 ✔debian. JID-2550 |
|
@blueorangutan test |
|
@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-3404)
|
|
@olivierlemasle should this apply for master/4.15 or do you want to change the base branch to 4.14? |
|
Hi @rhtyd, I'm ok to change the base branch to 4.14 and include it in 4.14.x. |
3915f62 to
df4c270
Compare
|
@blueorangutan package |
|
@shwstppr a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos7 ✖centos8 ✔debian. JID-2597 |
|
@blueorangutan test |
|
@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-3438)
|
|
@olivierlemasle have you tested if copy template across works with the fix? Otherwise, it will require this manual test case - setup zone/env with SSL enable for systemvms, add another zone with cluster/hosts etc and try to use the copyTemplate API. |
|
@shwstppr can you confirm manual testing? Thanks |
|
@blueorangutan package |
|
@DaanHoogland a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos7 ✖centos8 ✔debian. JID-2635 |
|
|
cloudmonkey call: |
|
@olivierlemasle please see above. I think the disabling was with good reason. |
shwstppr
left a comment
There was a problem hiding this comment.
Based on testing reported, this will need changes
Let's move this to 4.15.1 milestone
DaanHoogland
left a comment
There was a problem hiding this comment.
@olivierlemasle , we'll probably need to postpone this due to the issues during testing. These need to be fixed.
|
Moved to next milestone, needs several round of multi-zone testing. |
|
@DaanHoogland @olivierlemasle are you working/testing this - should this be moved to 4.16? |
|
No @rhtyd see my test results above. I'm 👎 on this for now, and don't know of the way forward. |
|
@rhtyd Sorry I did not have access to a multi-AZ CloudStack environment for the moment. @DaanHoogland's tests show that this I have to investigate further. |
|
ping @olivierlemasle any updates, is this still relevant? |
|
The issue #4587 is still relevant. However, my fix did cause a regression. This went out of my radar, but I'll definitely investigate and look for a proper fix. |

Description
This PR enables SNI support in the SSVM. This is required to download templates from web servers with HTTPS and SNI (e.g. behind Cloudfront).
Fixes: #4587
NB: Disabling SNI in the SSVM was done originally in commit 1d45b75, back in 2014; the comment included "Java 1.7 - disable using SNI since copyTemplate doesnt work for SSL". However, registerTemplate already supported https, so I don't see why SNI was disabled.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
N/A
How Has This Been Tested?
Manually tested (cf section "Temporary fix" in #4587)