David Nalley
fc3ac862dc
applying the commits from Chip Childers licensing cleanup
2012-06-26 10:44:04 -04:00
frank
2f634c0913
Switch to Apache license
2012-04-03 04:50:05 -07:00
frank
9c1b8ef673
add copyright delcartion to all sql files
2012-01-11 17:31:10 -08:00
Abhinandan Prateek
3e5e36e767
bug 12583: updated scripts
2011-12-20 13:24:52 +05:30
alena
ef5f0f5643
Handle 2.1.x bugs when do 21x to 22x DB upgrade:
...
* remove records from load_balancer_vm_map if the parent record is missing in load_balancer table
* remove user vm records from vm_instance table when corresponding record is missing in user_vm table
2011-06-08 14:59:19 -07:00
alena
64252b48f2
bug 10166: drop account_id/domain_id fields (if exist) in domain_router table
...
status 10166: resolved fixed
2011-06-06 13:55:50 -07:00
alena
0830f71bae
Fixed the name for system vm template
2011-06-06 13:55:50 -07:00
alena
c12790ab32
Fixed upgrade bug related with multiple template entries in vm_template table - search only for the template having NULL Removed field.
2011-06-03 17:33:16 -07:00
alena
a58b4eafa4
bug 9807: insert hypervisor.list config value as a part of db upgrade
...
status 9807: resolved fixed
2011-05-09 16:02:54 -07:00
alena
fbdb663970
Fixed bunch of DB upgrade bugs related with the fact that DB was manually upated in 2.1.x setup (some records were deleted from the DB)
2011-05-05 11:20:27 -07:00
alena
b1c3c8c1d9
bug 9734: update op_ha_work table in mysql file instead of java code
...
status 9734: resolved fixed
2011-05-05 11:20:27 -07:00
Alex Huang
c6c3748b0a
Propagate fixes to master
2011-05-02 14:48:26 -07:00
alena
5469fc4c01
bug 9658: added missing indexes to 2.1.x-2.2.x upgrade files
...
status 9658: resolved fixed
2011-05-01 12:54:23 -07:00
Alex Huang
44263a161c
bug 9649: fixed up the instance names to be the same
2011-04-29 17:41:21 -07:00
alena
671ec62358
bug 9623: set ha_enable to false for consoleProxy vms and service_offering.
...
status 9623: resolved fixed
Also set ram_size to 1024 for console proxy offering during the upgrade
Conflicts:
core/src/com/cloud/vm/SecondaryStorageVmVO.java
server/src/com/cloud/agent/manager/allocator/impl/UserConcentratedAllocator.java
server/src/com/cloud/consoleproxy/ConsoleProxyManagerImpl.java
server/src/com/cloud/storage/allocator/LocalStoragePoolAllocator.java
server/src/com/cloud/storage/secondary/SecondaryStorageManagerImpl.java
2011-04-29 11:53:07 -07:00
alena
11ef6bbbe2
bug 9638: fixed bunch of DB upgrade bugs
...
status 9638: resolved fixed
Conflicts:
server/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
utils/src/com/cloud/utils/net/NetUtils.java
2011-04-28 18:30:40 -07:00
alena
c6d5682579
Modify keys for security groups in java code instead of sql file (need to check if the key exists before dropping it)
...
Conflicts:
server/src/com/cloud/upgrade/dao/Upgrade218to22.java
2011-04-28 18:23:38 -07:00
alena
4a41920ab6
1) Don't drop netapp tables during the upgrade.
...
2) SecurityGroups DB upgrade - drop constraints before chaning the name for the network_group table
2011-04-28 13:30:32 -07:00
Alex Huang
b4f6cdda66
bug 9610: Added VERSION table and related index change
2011-04-27 13:56:52 -07:00
alena
dd9c60e341
Update volumes having destroyed=127 with Destroyed state only after ensuring that corresponding account is removed, or instance is expunged
2011-04-18 16:59:45 -07:00
alena
0efd44ddf7
bug 9483: delete records from template_spool_ref if corresponding storage pool doesn't exist any more
...
status 9483: resolved fixed
2011-04-15 17:09:02 -07:00
Chiradeep Vittal
d6a151fad4
bug 9441: cannot change unique_name in vm_template as this will cause template sync to fail
2011-04-15 16:29:15 -07:00
alena
66c75d8ed0
bug 9473: mark all volumes with Destroyed>=1 with state=Destroy
...
status 9473: resolved fixed
2011-04-15 14:08:12 -07:00
alena
7f473dad6f
2.1.x-2.2.x upgrade: in "volumes" table use state=Destroy instead of "Destroyed"
2011-04-15 11:45:55 -07:00
alena
b4a65a6766
bug 9453: domain path is not unique value, removed the constraint added during 2.1.8-2.2.2 upgrade
2011-04-14 17:03:11 -07:00
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
alena
c9989a7ddf
bug 9420: update existing user_statistics records with device_id and device_type
...
status 9420: resolved fixed
2011-04-13 15:54:01 -07:00
nit
463bb0fdec
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 12:35:08 +05:30
alena
d1a9200f4e
bug 9378: db upgrade - update guest_os_id in vm_instance table for system vms.
...
status 9378: resolved fixed
2011-04-11 18:19:30 -07:00
alena
acaab55c3e
bug 9391: removed source_id, source_type from "volumes" table as we don't use them any more
...
status 9391: resolved fixed
Conflicts:
server/src/com/cloud/network/NetworkManagerImpl.java
2011-04-11 18:19:10 -07:00
Chiradeep Vittal
63ada2ef7e
bug 9330: ensure that existing system vms are updated to new xenserver template
2011-04-11 15:47:02 -07:00
Chiradeep Vittal
c14be6915f
bug 9330: add kvm / vmware builtin template definitions
2011-04-11 15:46:48 -07:00
Chiradeep Vittal
ae9180d33b
bug 9330: add kvm / vmware system vm template definitions
2011-04-11 15:46:37 -07:00
kishan
782a22d95f
Usage upgrade changes
2011-04-11 18:49:52 +05:30
Alex Huang
1bc498013e
bug 9344: fixed problems with the template table
2011-04-05 18:33:38 -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
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
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
01a0f75491
bug 9286: added constraint for domain id in data_center
2011-04-04 10:04:28 -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
420157071b
bug 9259: added edison's changes as well
2011-04-01 09:55:42 -07:00