Commit Graph

386 Commits

Author SHA1 Message Date
alena c3c80006ca bug 9453: domain path is not unique value, removed the constraint added during 2.1.8-2.2.2 upgrade 2011-04-14 16:55:55 -07:00
alena a76803f5e5 bug 9458: do searchIncludingRemoved when decrement resource count as corresponding domain might be removed already
status 9458: resolved fixed
2011-04-14 15:25:37 -07:00
prachi 9fa3f92efd 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 18:09:22 -07:00
alena 6468b66317 bug 9420: update existing user_statistics records with device_id and device_type
status 9420: resolved fixed
2011-04-13 14:31:33 -07:00
alena 624d1c0438 DB upgrade: enable securityGroup for all Basic zones 2011-04-12 10:41:59 -07:00
nit 1bfde99462 bug 9347: Adding index and foreign key constraint for upload table for migration from 2.1 to 2.2
Status 9347: resolved fixed
2011-04-12 14:24:40 +05:30
alena 5ee6a8757a bug 9378: db upgrade - update guest_os_id in vm_instance table for system vms.
status 9378: resolved fixed
2011-04-11 17:55:40 -07:00
alena 5de4f05a1c bug 9391: removed source_id, source_type from "volumes" table as we don't use them any more
status 9391: resolved fixed
2011-04-11 17:33:38 -07:00
alena 90f79a8211 bug 9398: removed resource_type from volumes table as we no longer use it. Corresponding db upgrade scripts are updated
status 9398: resolved fixed
2011-04-11 15:25:34 -07:00
Chiradeep Vittal 4de0401608 bug 9330: ensure that existing system vms are updated to new xenserver template 2011-04-11 15:22:09 -07:00
Chiradeep Vittal e90f03c6c0 bug 9330: add kvm / vmware builtin template definitions 2011-04-11 14:49:45 -07:00
Chiradeep Vittal a8487454e8 bug 9330: add kvm / vmware system vm template definitions 2011-04-11 14:35:27 -07:00
alena 6bcf0dd51f bug 9396: removed status field from volumes table as this field is no longer used
status 9396: resolved fixed
2011-04-11 13:58:26 -07:00
alena 21f7b90a5b bug 9373: db upgrade - added missing constraints for user_ip_address table
status 9373: resolved fixed
2011-04-11 13:47:21 -07:00
alena 6bd5fa1f9c bug 9374: removed guest_ip/mac/netmask info from user_vm table. This information is kept in nics table in 2.2.x
status 9374: resolved fixed
2011-04-11 12:21:18 -07:00
alena 77e183cc17 bug 9376: added missing constraints to vm_instance table
status 9376: resolved fixed
2011-04-11 10:35:45 -07:00
alena e8b1eb9ccf bug 9348: added missing ALTER statement to 222-224 db upgrade script
status 9348: resolved fixed
2011-04-11 09:50:50 -07:00
kishan b5bf6e9bee Usage upgrade changes 2011-04-11 18:54:10 +05:30
Murali Reddy ba7abb4da8 bug 9129:can't create vm if an instance limit is set at root domain 2011-04-08 07:07:50 +05:30
Alex Huang e349159d0f bug 9344: fixed problems with the template table 2011-04-05 18:34:12 -07:00
keshav fd759306eb Changed insert to insert ignore. 2011-04-05 16:43:33 -07:00
prachi 9f10d9957e Bug 9309 - In Manual migration, do not consider 'reserved_capacity' when computing available memory in destination
Changes:
- Now while listing hosts for migration, capacity is calculated as total_capacity -used_capacity
 instead of total_capacity -(used_capacity + reserved_capacity)
- Also, the capacity columns in op_host_capacity are now 'signed' type so that the subtractions in queries does not overflow.
- Added this to DB upgrade 222 to 224 change as well.
2011-04-05 14:16:21 -07:00
alena c31330b6d9 bug 9234: system network offerings are HA enabled
status 9234: resolved fixed
2011-04-05 13:42:34 -07:00
Alex Huang cb323775ba bug 9326: put unique back into create-schema.sql 2011-04-05 12:01:50 -07:00
Alex Huang c9d4e50b96 bug 9323: guid doesn't have to be NOT NULL 2011-04-05 11:23:31 -07:00
alena 914952cd86 bug 9325: DB upgrade - added missing constraints to ssh_keypair table
status 9325: resolved fixed
2011-04-05 11:18:46 -07:00
Alex Huang 3f8dc115ec bug 9323: dropped the snapshots_seq 2011-04-05 11:09:39 -07:00
Alex Huang e4cffa7928 removed the DEFAULT 0 2011-04-05 10:16:56 -07:00
Alex Huang 04099a4950 bug 9311: changed instance_id to nic_id 2011-04-05 09:12:55 -07:00
Alex Huang b2cab48e0c bug 9308: changed instance_id to nic_id 2011-04-04 16:59:16 -07:00
Alex Huang 10e2dba837 bug 9301: added missing constraint 2011-04-04 15:30:39 -07:00
keshav bf3c2b73e1 Removed some configuration table inserts. 2011-04-04 15:13:53 -07:00
keshav 68d1cbcfbc Added configuration table modifications to upgrade sql. 2011-04-04 14:27:04 -07:00
alena 6af0a1e9be bug 9298: vm_type can be NULL in "nics" table (for placeholder nics)
status 9298: resolved fixed
2011-04-04 14:20:17 -07:00
alena aba5395f96 bug 9293: 21 to 22 db upgrade - added missing constraints to load_balancer_vm_map
status 9293: resolved fixed
2011-04-04 14:06:57 -07:00
Alex Huang e8720cc1f7 bug 9300: changed the network id to management from storage for ssvm 2011-04-04 13:53:51 -07:00
Edison Su 040c18613f bug 9291: set name = display_name
status 9291: resolved fixed
2011-04-04 11:39:54 -04:00
Alex Huang 1eba5ea7a7 unittest failures fixed 2011-04-04 10:32:15 -07:00
Alex Huang f8b8da1fa1 bug 9277: added table data_center_details 2011-04-04 10:07:35 -07:00
Alex Huang 01a0f75491 bug 9286: added constraint for domain id in data_center 2011-04-04 10:04:28 -07:00
Alex Huang a93ebd21d2 bug 9281: fixed account_id can be null in db 2011-04-04 09:53:36 -07:00
Alex Huang 2dc5616766 bug 9287: change the names of the system service offerings 2011-04-04 09:39:08 -07:00
Alex Huang 380c275d54 bug 9290: fixed default to be 0
bug 9289: dropped domain column
2011-04-04 09:26:42 -07:00
Edison Su 8161964bc2 fix db upgrade error 2011-04-01 14:21:26 -04:00
Edison Su de2d650adf fix db upgrade from 2.1.x to 2.2.1 2011-04-01 11:00:28 -04:00
Alex Huang 8b34065623 bug 9259: added upgrade test suite 2011-04-01 10:32:23 -07:00
Alex Huang 420157071b bug 9259: added edison's changes as well 2011-04-01 09:55:42 -07:00
Alex Huang d14b04f9a5 bug 9259: removed some of the extra vpn statements duplicated from my change and chiradeep's change 2011-04-01 09:41:26 -07:00
Alex Huang a8454ad0eb bug 9259: why should destroyed be NULL to begin with. fix upgrade 2011-04-01 09:33:37 -07:00
kishan 7f08061e72 Added missing semi-colon and corrected usage unit test error messages 2011-04-01 12:06:52 +05:30