Commit Graph

310 Commits

Author SHA1 Message Date
alena 08036d5312 GuestIP field can be null in network_offerings table - fixed 221 to 222 upgrade script 2011-03-26 17:06:28 -07:00
alena 04551d59ea Added missing config value to 221-222 upgrade script. It was present in 223 branch, but missing in master 2011-03-26 16:52:28 -07:00
alena 530cb9e77b Fixed 221 to 222 upgrade script - guestIPType can be null in network offering 2011-03-26 16:32:45 -07:00
alena a8cc285ca9 bug 8934: set correct guest_type for default Xen Centos template. DB upgrade script is also updated.
status 8934: resolved fixed
2011-03-25 16:05:06 -07:00
alena 92f01ba143 2.1.x to 2.2.2 upgrade for Domain level vlans 2011-03-25 15:23:18 -07:00
alena 33fff1262e Changes to 222-224 db upgrade 2011-03-24 14:41:01 -07:00
anthony 6e60539427 bug 9140: 221to222 upgrade fix
INSERT INTO `cloud`.`guest_os` (id, category_id, display_name) VALUES (138, 7,
'None');

status 9140: resolved fixed
2011-03-24 14:05:40 -07:00
alena dee2e59fb3 bug 8798: delete zone is fixed
status 8798: resolved fixed
2011-03-24 13:32:31 -07:00
David Noland 978a9c7df4 Show more meaningful error message if db deployment fails when "mysql" is missing from PATH. 2011-03-24 12:26:37 -07:00
Kelven Yang bfc420f22e Fix sql syntax error, a coma is missing 2011-03-24 10:27:15 -07:00
prachi 923f562aa8 Bug 6873: disable/enable mode for clusters (and pods and zones and hosts)
- Added a new flag 'allocation_state' to zone,pod,cluster and host
- The possible values for this flag are 'Enabled' or 'Disabled'
- When a new zone,pod,cluster or host is added, allocation_state is 'Disabled' by default.
- For existing zone,pod,cluster or host, the state is 'Enabled'.
- All Add/Update/List  commands for each of zone,pod,cluster or host can now take a new parameter 'allocationstate'
- If 'allocation_state' is 'Disabled', Allocators skip that zone or pod or cluster or pod.
- For a root admin, ListZones lists all zones including the 'Disabled' zones. But for any other user, the 'Disabled' zones are not included in the response.
- For any usecase that creates/deploys/adds/registers a resource and takes in zone as parameter, now we check if the Zone is 'Disabled'. If yes then the operation cannot be performed by a user other than root-admin. Add volume, snapshot, templates are examples of this usecase.
- To enable the root admin to test a particular pod/cluster/host, deployVM command takes in 'host_id' parameter that can be passed in only by root admin.
If this parameter is passed in by the admin, allocators do not search for hosts and use that host only. StoragePools are searched in the cluster of that host.
If VM cannot be deployed to that host, allocators and deployVM fails without retrying
2011-03-23 22:15:35 -07:00
Frank a8a5d18d91 Clean async Job
align vm_template with new systemvm template
2011-03-23 16:06:52 -07:00
alena f84c81a47d bug 8533: all IP Address fields in DB have char(40) type
status 8533: resolved fixed
2011-03-22 14:06:14 -07:00
Alex Huang 7103d30f57 router restarted but needs template update 2011-03-22 09:46:41 -07:00
Alex Huang 109c4eae0e restarting domr is close to working 2011-03-21 17:56:00 -07:00
alena abb2e2b2ff bug 8831: partial checkin for Domain specific Networks (includes DB changes) 2011-03-21 15:05:07 -07:00
alena 505848bbbe Fixed unittest 2011-03-21 10:29:11 -07:00
prachi 5bbffcaa97 Changes to add 'cluster_id' to 'op_host_capacity' table for Db upgrade from 222 to 224 2011-03-18 12:14:48 -07:00
Alex Huang 8723727de1 added 2.2.2 to 2.2.4 2011-03-18 10:41:58 -07:00
Alex Huang d3ecf719ce looks like everything is working except for snapshots 2011-03-18 09:14:05 -07:00
Alex Huang f12f7da0ba fixed everyting to upgrade from 2.1.7 to 2.2.2 2011-03-17 16:33:42 -07:00
alena 579a9294bf Removed vm_type update in DB 217 to 221 upgrade 2011-03-16 15:57:41 -07:00
alena 6be1681647 DB upgrade for Basic zone: upgrade domR/ssvm/consoleProxy nics 2011-03-16 14:14:14 -07:00
Chiradeep Vittal 8d791777db Introduce zone (datacenter) details 2011-03-15 15:44:36 -07:00
Edison Su eaf9414a52 bug 8939: add management.network.cidr
status 8939: resolved fixed
2011-03-09 16:32:18 -05:00
alena a50950bbef 221 to 222 DB upgrade for InstanceGroup. Unit test is included 2011-03-09 08:34:08 -08:00
anthony c013d0a6c6 fixed unit test 2011-03-08 20:04:28 -08:00
anthony 9e9ec24c70 remove snapshot_policy_ref index 2011-03-08 18:03:16 -08:00
anthony b32e8f23a6 bug 8712: since we add multiple concurrent policy back in 2.2.3, we only support upgrade from 2.1.7 to 2.2.3, otherwise some policies will be removed silently
need test this upgarde
2011-03-08 17:10:27 -08:00
anthony 5b1a421e62 bug 8712: prepare from snapshot db migration 2011-03-08 17:10:27 -08:00
alena fe267c2cb2 Basic zone 221 to 222 DB upgrade. Unit test is included 2011-03-08 15:32:55 -08:00
Alex Huang 35275c1615 added user ip address upgrade 2011-03-07 17:53:43 -08:00
alena 94fb0612f2 Fixed DB upgrade script - vm_type field can be NULL
Conflicts:

	server/src/com/cloud/network/NetworkManagerImpl.java
2011-03-05 10:37:57 -08:00
Alex Huang bda3264a77 networks are generated now from the domr 2011-03-04 18:07:26 -08:00
Alex Huang f7ea6e17cd break upgrade fix upgrade 2011-03-04 18:07:26 -08:00
abhishek ade92456df bug 8601: merge from 2.2.2 to master 2011-03-04 16:31:58 -08:00
abhishek 5b0f247b46 bug 8601: more db migration 2011-03-04 14:08:51 -08:00
abhishek b6b0a22160 bug 8601: more db migration 2011-03-04 13:56:18 -08:00
Alex Huang 40db230095 more changes for db upgrade 2011-03-04 11:09:24 -08:00
prachi 9ec4911285 Removing the scripts to add host_tags table from 21 to 22 DBUpgrade script, since 2.1.7 already has the necessary table. 2011-03-02 17:48:22 -08:00
abhishek efcc1b9aa8 bug 8601: another upgrade step for network offerings 2011-03-02 14:37:39 -08:00
abhishek e9d87d8d76 changes to security grps upgrade (ant unitttest passes) 2011-03-02 14:35:55 -08:00
nit e772bfa00b bug 8812: DB upgrade (2.1 - 2.2) changes for template. ant unittest successful
status 8812: resolved fixed
2011-03-02 13:39:03 -08:00
Alex Huang f3b58a4b0a removed a bunch of scripts that doesn't pass unittest 2011-03-02 00:16:54 -08:00
Alex Huang d0a5816999 Added Premium upgrade 2011-03-01 23:47:36 -08:00
abhishek 0f53f2a2c7 bug 8601: changing traffic_type to guest_type 2011-03-01 17:57:55 -08:00
abhishek d50a6a2e97 bug 8601: more upgrade fine tuning 2011-03-01 17:50:51 -08:00
abhishek a3986f6691 added another upgrade step 2011-03-01 16:22:29 -08:00
abhishek 7fe999da97 bug 8601: adding another upgrade step for networks table 2011-03-01 16:15:08 -08:00
abhishek dbb03006b7 adding a migration step from 221 to 222 using alex's framework. this should only be used for alex's upgrade from 217 to 22, for 221 to 222 for 222 release, we still are providing the bash script for upgrade. 2011-03-01 16:00:14 -08:00