GitHub user kishankavala opened a pull request: https://github.com/apache/cloudstack/pull/1982
CLOUDSTACK-9807/CLOUDSTACK-9808 - Added upgrade changes for 4.10 system vm template Removed systemvm template upgrade code in 4.6 upgrade. Added 4.10 system vm template upgrade changes with new urls and md5sum Manual testing results: Updated min req version: mysql> select name, value from configuration where name = 'minreq.sysvmtemplate.version'; +------------------------------+----------+ | name | value | +------------------------------+----------+ | minreq.sysvmtemplate.version | 4.10.0.0 | +------------------------------+----------+ 1 row in set (0.00 sec) Update template for KVM: mysql> select * from vm_template where name = 'systemvm-kvm-4.10'\G *************************** 1. row *************************** id: 201 unique_name: 201-2-badc363a-507d-3802-942f-205d35c3b575 name: systemvm-kvm-4.10 uuid: 3526258d-d9a4-4c3d-8f15-3137eb5d7ab8 public: 0 featured: 0 type: SYSTEM hvm: 1 bits: 64 url: http://packages.shapeblue.com/systemvmtemplate/4.10/systemvm64template-4.10-kvm.qcow2.bz2 format: QCOW2 created: 2017-03-02 11:35:06 removed: NULL account_id: 2 checksum: NULL display_text: systemvm-kvm-4.10 enable_password: 0 enable_sshkey: 0 guest_os_id: 184 bootable: 1 prepopulate: 0 cross_zones: 1 extractable: 0 hypervisor_type: KVM source_template_id: NULL template_tag: NULL sort_key: 0 size: 5242880 state: Active update_count: 0 updated: NULL dynamically_scalable: 0 1 row in set (0.00 sec) You can merge this pull request into a Git repository by running: $ git pull https://github.com/Accelerite/cloudstack CLOUDSTACK-9807 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cloudstack/pull/1982.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1982 ---- commit d772d93cd354c69e1dbd31d5a79523bf2369463a Author: Kishan Kavala <kishan.kav...@persistent.co.in> Date: 2017-03-02T10:27:11Z systemvm template update commit 3867599006b468dbf5b8153399544fcc74ff92f2 Author: Kishan Kavala <kis...@apache.org> Date: 2017-03-02T10:50:28Z Bug-ID: CLOUDSTACK-9807: Removed systemvm template upgrade code in 4.6 upgrade. Added 4.10 system vm template upgrade changes with new urls and md5sum ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---