bhouse-nexthop commented on PR #14767:
URL: https://github.com/apache/cloudstack/pull/14767#issuecomment-7267114006

   Tested on a KVM lab running a main build that includes this change. One zone 
with a secondary storage VM.
   
   Steps: I called `getUploadParamsForVolume` (QCOW2) twice. Each time the zone 
value of `use.https.to.upload` was set opposite to the global value.
   
   Result: all checks passed.
   
   | Global | Zone | `postURL` scheme |
   |---|---|---|
   | `true` | `false` | `http` |
   | `false` | `true` | `https` |
   
   The scheme follows the zone value both times. Before this change it followed 
the global value, so the two calls would have given `https` and then `http` 
(#14766).
   
   Not tested: the `getDataStoreRole` line. Ceph RBD on the default primary 
driver does not report the storage-system snapshot capability, so the lab 
cannot reach that line; the new unit tests cover it. The actual upload was not 
tested either.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to