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
alena
99d1cb4718
bug 9519 : add index to avoid table locking
...
Conflicts:
setup/db/create-index-fk.sql
2011-06-09 17:32:27 -07:00
alena
54ee9b0520
bug 9618: fixed a upgrade, resouce name is changed to XenServer56FP1Resource
...
status 9618: resolved fixed
Conflicts:
setup/db/db/schema-222to224.sql
2011-06-09 17:28:14 -07:00
alena
e7e5703184
DB upgrade merge from 224 branch
2011-06-09 17:19:27 -07:00
Alex Huang
018b1c7ce9
Fixed problem that Kirk saw at upgrading between 2.2.3 and 2.2.5 at one of mour customers. The host address for storage pool is not an ip address and should not have been shrunk to 40 characters
2011-06-02 09:44:13 -07:00
Alex Huang
4582f59d21
Database upgrade from 2.2.2 to 2.2.4 was broken.
2011-05-16 16:31:40 -07:00
alena
fe3f74a56a
DB upgrade - update LVM storage with correct cluster id
2011-05-06 17:50:50 -07:00
alena
275bab0d91
bug 9740: fixed DB upgrade for Direct Tagged networks in Advance zone
...
status 9740: resolved fixed
Conflicts:
server/src/com/cloud/upgrade/dao/Upgrade218to22.java
2011-05-05 11:20:27 -07:00
alena
5d332f0f30
bug 9688: remove orphaned lb/vm mappings as a part of db upgrade (there was a bug in 2.1.x when the LB rule was removed, but mapping was left in the DB)
...
status 9688: resolved fixed
To verify that the rule was removed:
* make sure that there is no record with lb id in load_balancer table
* verify that lb.delete event was generated for this rule
2011-05-02 19:05:27 -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
alena
fe2f186b00
bug 9654: db upgrade - set is_security_group_enabled to true for Direct Guest network in Basic zone
...
status 9654: resolved fixed
Conflicts:
setup/db/db/schema-222to224.sql
2011-05-01 12:54:10 -07:00
anthony
2ebc943712
bug 9618: fixed a upgrade, resouce name is changed to XenServer56FP1Resource
...
status 9618: resolved fixed
2011-04-29 14:13:25 -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
Alex Huang
a15cf40ff5
bug 9633: removed schema.level
...
bug 9632: removed direct.attach.security.groups.enabled
2011-04-28 13:51:16 -07:00
alena
485f7a10cc
bug 9621: dbUpgrade - set reservation strategy to be Create for Guest Nics in Basic zone
...
status 9621: resolved fixed
Conflicts:
server/src/com/cloud/upgrade/dao/Upgrade218to22.java
setup/db/db/schema-222to224.sql
2011-04-27 22:51:56 -07:00
Alex Huang
b4f6cdda66
bug 9610: Added VERSION table and related index change
2011-04-27 13:56:52 -07:00
alena
afa7d3f34d
bug 9563: fixed DB upgrade from 2.2.2/2.2.3 to 2.2.4
...
status 9563: resolved fixed
Also added unittest for 2.2.2 to 2.2.4 upgrade
Conflicts:
setup/db/db/schema-222to224.sql
2011-04-23 23:05:42 -07:00
alena
3c48d8d432
bug 9556: set ip_type=ip4 for guestVm nics in Basic zone setup
...
status 9556: resolved fixed
2011-04-23 20:43:37 -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
alena
52fe53f497
bug 9458: do searchIncludingRemoved when decrement resource count as corresponding domain might be removed already
...
status 9458: resolved fixed
Conflicts:
server/src/com/cloud/user/AccountManagerImpl.java
2011-04-14 15:39:51 -07:00
alena
1a81515566
DB upgrade: enable securityGroup for all Basic zones
2011-04-12 10:43:54 -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
alena
70151389d1
bug 9396: removed status field from volumes table as this field is no longer used
...
status 9396: resolved fixed
2011-04-11 18:12:04 -07:00
alena
28029b20c1
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 18:11:36 -07:00
alena
aea0a7326a
bug 9376: added missing constraints to vm_instance table
...
status 9376: resolved fixed
2011-04-11 18:11:24 -07:00
alena
407bd2ac16
bug 9348: added missing ALTER statement to 222-224 db upgrade script
...
status 9348: resolved fixed
2011-04-11 18:10:30 -07:00
Murali Reddy
598503f094
bug 9129:can't create vm if an instance limit is set at root domain
...
pushing 2.2.4 fixes
2011-04-08 13:25:51 +05:30
keshav
8c344cb567
Changed insert to insert ignore.
2011-04-05 16:24:55 -07:00
Alex Huang
3d0c4ae937
get unittest to work temporarily
2011-04-05 15:53:33 -07:00
anthony
415b973b92
fixed db upgrade
2011-04-05 15:09:05 -07:00
prachi
92c0b3b82f
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:06:32 -07:00
alena
e0c4bb47d9
bug 9234: system network offerings are HA enabled
...
status 9234: resolved fixed
Conflicts:
setup/db/db/schema-222to224.sql
2011-04-05 13:44:44 -07:00
anthony
288a36d09f
Merge branch '2.2.4'
...
Conflicts:
api/src/com/cloud/configuration/ConfigurationService.java
core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java
server/src/com/cloud/api/ApiDBUtils.java
server/src/com/cloud/configuration/ConfigurationManagerImpl.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
setup/db/db/schema-21to22.sql
setup/db/db/schema-222to224.sql
utils/src/com/cloud/utils/exception/ExceptionUtil.java
2011-04-05 12:04:09 -07:00
Alex Huang
3f8dc115ec
bug 9323: dropped the snapshots_seq
2011-04-05 11:09:39 -07:00
Alex Huang
2230c24ab3
check in changes from 2.2.4
2011-04-05 11:01:35 -07:00
Alex Huang
04099a4950
bug 9311: changed instance_id to nic_id
2011-04-05 09:12:55 -07:00
keshav
cf2336910f
Removed guest network and management cidr config values from upgrade.
2011-04-04 20:00:44 -07:00
Alex Huang
b2cab48e0c
bug 9308: changed instance_id to nic_id
2011-04-04 16:59:16 -07:00
keshav
bf3c2b73e1
Removed some configuration table inserts.
2011-04-04 15:13:53 -07:00
keshav
45aebbe416
Removed some configuration table inserts.
2011-04-04 15:12:17 -07:00
keshav
68d1cbcfbc
Added configuration table modifications to upgrade sql.
2011-04-04 14:27:04 -07:00
keshav
e3c4351b13
Added configuration table modifications to upgrade sql.
2011-04-04 14:20:31 -07:00
Alex Huang
f8b8da1fa1
bug 9277: added table data_center_details
2011-04-04 10:07:35 -07:00
Frank
7cd47376fd
Move all schema-*.sql to setup/db/db inline with db upgrade script
2011-04-01 15:47:16 -07:00
Frank
6d005313bc
Move schema files to setup/db directory in line with DB upgrade code
2011-03-30 12:14:42 -07:00