GutoVeronezi opened a new pull request #5602:
URL: https://github.com/apache/cloudstack/pull/5602


   ### Description
   As I pointed on thread [[VOTE] Apache Cloudstack 4.16.0.0 
RC1](https://lists.apache.org/thread.html/rc061a4da7bd50b49ff99b41f059cb4088b998929033755e4b87f631d%40%3Cdev.cloudstack.apache.org%3E),
 regarding the auto upgrading `systemvms-templates`; the code will  
`autoupgrade` the `systemvm-templates` if the templates are found locally. To 
generate the template during the build, one has to activate the `noredist 
profile` when building the packages, which is necessary (normally used to) only 
to VMWare.
   
   Some people, might not want the noredist JARs from VMware, and therefore 
will not build with this profile. Furthermore, package `cloudstack-management` 
goes from **~100Mb** to more than **1.5Gb** when using the `noredist` while 
executing the 4.16.0.0 build. It happens due to 
`cloudstack/engine/schema/pom.xml` automatically downloading XenServer, KVM, 
and VMware `systemvms-templates`. Every time that we build the packages, it 
will download all these systemvms-templates, and we are unable to decide which 
one is necessary.
   
   This PR intends to create specific profiles for each systemvm-template. 
Therefore, one can build ACS only for the hypervisor it needs, and if it needs 
to use the auto update of the system VM templates; one can decide not to use 
this feature and keep manually registering the templates only when they are 
needed.
   
   ### 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?
   I built the packages with all the profiles:
   - `-DdownloadKvmSystemVmTemplate`
   - `-DdownloadHypervSystemVmTemplate`
   - `-DdownloadVmwareSystemVmTemplate`
   - `-DdownloadXenserverSystemVmTemplate`
   - `-DdownloadOvmSystemVmTemplate`
   
   And then I built them separately.


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