winterhazel opened a new pull request, #10956:
URL: https://github.com/apache/cloudstack/pull/10956

   ### Description
   
   The secondary storage selectors allow operators to specify, for instance, 
that templates should go to secondary storage A and snapshots to secondary 
storage B. When registering a template, it will be downloaded only to secondary 
storage A.
   
   During the startup of the SSVM's service, the MS executes a template 
synchronization process to verify what templates are in which secondary storage 
in order to download them to secondary storages in which they do not exist. 
However, this process does not consider the secondary storage selectors. Hence, 
templates will be downloaded to secondary storage B.
   
   This PR makes the MS consider the secondary storage selectors during the 
template synchronization process.
   
   
   ### Types of changes
   
   - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
   - [ ] New feature (non-breaking change which adds functionality)
   - [ ] Bug fix (non-breaking change which fixes an issue)
   - [X] Enhancement (improves an existing feature and functionality)
   - [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
   
   ### Feature/Enhancement Scale or Bug Severity
   
   #### Feature/Enhancement Scale
   
   - [ ] Major
   - [X] Minor
   
   
   ### How Has This Been Tested?
   
   1. I created a secondary storage selector directing templates to secondary 
storage A, and another directing snapshots to secondary storage B.
   
   2. I registered two new templates. Both were downloaded only to secondary 
storage A.
   
   3. I restarted the SSVM's service. I validated that the MS did not begin 
downloading the two templates to secondary storage B. 
   
   4. I took some volume snapshots. I validated that they went to secondary 
storage B.
   
   5. I removed the selector that was directing templates to secondary storage 
A, and restarted the SSVM's service. I validated that they were downloaded to 
secondary storage B.
   


-- 
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