Commit Graph

395 Commits

Author SHA1 Message Date
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 8d954931ea Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2011-04-05 12:11:02 -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 8ebe8db39a bug 9326: put unique back into create-schema.sql 2011-04-05 12:01:30 -07:00
Alex Huang c9d4e50b96 bug 9323: guid doesn't have to be NOT NULL 2011-04-05 11:23:31 -07:00
alena dd162339dc bug 9325: DB upgrade - added missing constraints to ssh_keypair table
status 9325: resolved fixed
2011-04-05 11:22:12 -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 2230c24ab3 check in changes from 2.2.4 2011-04-05 11:01:35 -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
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
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 45aebbe416 Removed some configuration table inserts. 2011-04-04 15:12:17 -07:00
alena 814804df5b bug 9298: vm_type can be NULL in "nics" table (for placeholder nics)
status 9298: resolved fixed
2011-04-04 14:47:21 -07:00
alena 35c829f33b bug 9293: 21 to 22 db upgrade - added missing constraints to load_balancer_vm_map
status 9293: resolved fixed

Conflicts:

	setup/db/db/schema-21to22-cleanup.sql
	setup/db/db/schema-21to22.sql
2011-04-04 14:47:21 -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
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 1545df1e1e bug 9291: set name = display_name
status 9291: resolved fixed
2011-04-04 11:41:11 -04:00
Kelven Yang 2759eefcf5 Add weight to command to help future load management, fix issues found in system vm pooling 2011-04-04 09:33:42 -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 aa4d678ed2 fix db upgrade error 2011-04-01 17:01:53 -04:00
Edison Su 59f622a2d9 fix db upgrade from 2.1.x to 2.2.1 2011-04-01 17:01:53 -04:00
Alex Huang 7ce3e22d36 bug 9259: added upgrade test suite 2011-04-01 17:01:53 -04:00
Alex Huang 611926bd90 bug 9259: added edison's changes as well 2011-04-01 17:01:53 -04:00
Alex Huang af39fc5da0 bug 9259: removed some of the extra vpn statements duplicated from my change and chiradeep's change 2011-04-01 17:01:52 -04:00
Alex Huang 28da2ffb0e bug 9259: why should destroyed be NULL to begin with. fix upgrade 2011-04-01 17:01:52 -04:00
alena b876ad2530 224 to 225 upgrade - use schema*.sql instead of data*.sql 2011-04-01 16:25:56 -07:00
alena bf588166ed bug 7704: network limits cleanup.
status 7704: resolved fixed

For user vm:
* for default network, take limit from the corresponding service offering
* for all additional networks, take limit from the network offerings

For domainRouter/SSVM/CPVM:
* get info from the network offering

Added new config parameter: "vm.network.throttling.rate". If nw_rate is NULL for serviceOffering, this parameter would be used for default vm's network
2011-04-01 15:48:32 -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
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