cloudstack/setup/db
prachi 3ad19c633f Bug 9438 - [Cloud Stack Upgrade - 2.1.8 to 2.2.4] Secondary Storage VM could not start after stopping it
- In the upgrade, new XenServer template entry was added in vm_template having id=100
- However we already have another System VM XenServer template downloaded in the upgrade process that gets different id.
- SSVM could not start because the vm_instance's templateId after the upgrade was set to '100' with the assumption that the Xenserver template with id=100 will be used.

Fix to upgrade script is:
-  we should not insert any entry in vm_template table for XenServer systemVM via the upgrade DB script. The latest XenServer template will get added in the upgrade process having name 'routing-xenserver-2.2.4'.
-  we should update the system VM's template_id in vminstance table to point to this ''routing-xenserver-2.2.4' template.
2011-04-13 17:59:39 -07:00
..
db Bug 9438 - [Cloud Stack Upgrade - 2.1.8 to 2.2.4] Secondary Storage VM could not start after stopping it 2011-04-13 17:59:39 -07:00
22beta4to22GA.sql added queries to handle unit MB to bytes change for volume usage 2011-02-22 17:12:22 +05:30
221to222.sql bug 9298: vm_type can be NULL in "nics" table (for placeholder nics) 2011-04-04 14:47:21 -07:00
221to222_usage.sql bug 8601: these are the 2 sql files for the cloud and cloud_usage db migration. I have tested some of the most common cases, as well as some uncommon cases (create a direct and virtual network in same zone). 2011-02-25 17:06:26 -08:00
221to222upgrade.sh checking to see if mysql is running 2011-02-28 13:43:38 -08:00
create-database.sql more file changes 2010-09-09 13:27:20 -07:00
create-index-fk.sql remove snapshot_policy_ref index 2011-03-08 18:03:16 -08:00
create-schema.sql bug 9223, 9224: persist runid to form cluster session, based on cluster session and DB condition to issue isolation notification for self-fencing 2011-04-13 15:13:54 -07:00
data-20to21.sql Source code committed 2010-08-11 09:13:29 -07:00
data-22beta1to22beta2.sql move db migration to script 2010-12-03 11:24:25 -08:00
deploy-db-dev.sh Show more meaningful error message if db deployment fails when "mysql" is missing from PATH. 2011-03-24 12:26:37 -07:00
index-20to21.sql Source code committed 2010-08-11 09:13:29 -07:00
index-212to213.sql bug 5985: rename hotfix for bug to be consistent with other migration scripts, and include in fedora / ubuntu packaging 2010-08-26 19:18:37 -07:00
postprocess-20to21.sql Source code committed 2010-08-11 09:13:29 -07:00
server-setup.sql Source code committed 2010-08-11 09:13:29 -07:00
server-setup.xml comment out snmp configuration in server-setup.xml 2011-02-04 20:09:04 -08:00
templates.kvm.sql Source code committed 2010-08-11 09:13:29 -07:00
templates.sql Bug 4061: support for Microsoft Hyper-V changes- part 1 2011-03-30 18:48:51 +05:30
templates.vmware.sql Update vcenter address to vmware demo instance 2010-09-29 18:40:48 -07:00
templates.xenserver.sql bug 6546: support ubuntu 10.04 PV kernel, 2010-10-21 18:28:31 -07:00