Commit Graph

153 Commits

Author SHA1 Message Date
frank 03fbe13f58 Add upgrade path to 2.2.9
Add files
2011-07-29 20:05:50 -07:00
frank 44f3ac98f6 A couple of things:
add 229 upgrade path

Bug 10860 - PremiumUpgrade is not run when upgrading to 2.2.8 (edit)

run checker before any components loaded
2011-07-29 20:05:50 -07:00
frank 9aae53fbb3 Bug 10860 - PremiumUpgrade is not run when upgrading to 2.2.8
Use a new target "system-integrity-checker" in components.xml/components-premium.xml.
All checkers must be explicitly specified in XML file, they will execute before any components load

status 10860: resolved fixed
2011-07-27 17:43:38 -07:00
alena cc9a629cea bug 10686: generate volume.delete usage event (along with vm.destroy) when vm fails to create/start.
status 10686: resolved fixed

Also updated 227 to 228 db upgrade to insert missing usage_event records
2011-07-11 16:11:05 -07:00
alena 70b1c69ef3 bug 10651: added missing keys to 227 to 228 db upgrade
status 10651: resolved fixed
2011-07-08 09:45:12 -07:00
Edison Su d548e8fc38 fix db upgrade from 2.2.6 to 2.2.8 2011-07-01 19:16:14 -07:00
anthony 12113c4ee8 clean up 2011-06-30 15:14:24 -07:00
anthony a125219dda bug 10533: do not use daos in upgrade code
status 10533: resolved fixed
2011-06-30 15:12:57 -07:00
alena c7d17d2e3c bug 10492: fixed upgrade from 2.2.6 to 2.2.8
status 10492: resolved fixed
2011-06-28 13:44:00 -07:00
alena 56799fcbaa Added upgrade path from 2.2.7 to 2.2.8 2011-06-24 12:07:33 -07:00
alena bfc64fdcd3 bug 10408: fixed user_statistics upgrade for the case when account owns vm in Direct network, and corresponding domR belongs to another account
status 10408: resolved fixed
2011-06-23 10:09:58 -07:00
alena 0a1e93e957 bug 10265: 226 to 227 db upgrade - remove unique key constraint for "network_offerings.name" field (if exists)
status 10265: resolved fixed
2011-06-14 09:32:26 -07:00
kishan 4c454d36d3 bug 9891: update network_id for ExternalFirewall and ExternalLoadBalancer device_types
status 9891: resolved fixed
2011-06-09 16:57:54 -07:00
kishan 09c5351bbf bug 9891: update network_id for ExternalFirewall and ExternalLoadBalancer device_types
status 9891: resolved fixed
2011-06-09 16:54:40 -07:00
alena 8948c3dd84 1) listNetworks for domain level network case: fixed search to do multiple joins between the tables instead of querying all the data and making search for each entry.
2) Added new config parameter 'allow.subdomain.network.access' - default value is true. If it's set to false, the child domain can't use the network of the parent domain

Conflicts:

	server/src/com/cloud/network/NetworkManagerImpl.java
2011-06-08 12:00:19 -07:00
alena a03e2b8a12 Added upgrade path from 225 to 226
Conflicts:

	server/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
2011-06-06 13:55:50 -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 9a2cc8008b Db upgarde: changed 225-226 to be 226-227 2011-06-06 13:55:50 -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
anthony 7a266b9321 bug 10046: size in diskofferingVO is in type now
status 10046: resolved fixed
2011-05-26 13:51:08 -07:00
anthony 2fdedfa14a db upgrade for multiple secondary storages 2011-05-25 14:15:43 -07:00
alena 7bae4e3155 Fixed upgrade bug related with the fact that some db upgrade steps were missed in 2.2.0/2.2.1 to 2.2.2 db upgrade 2011-05-19 15:37:59 -07:00
alena 7ca66c132d bug 9934: implemented another way to check if the foreign key already exists
status 9934: resolved fixed
2011-05-18 20:38:55 -07:00
alena 5148725916 Fixed bunch of db upgrade bugs. 2011-05-18 17:38:49 -07:00
alena 93bd3c8588 Added upgrade path from 224 to 225 to DbUpgradeChecker
Conflicts:

	server/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
2011-05-17 21:08:41 -07:00
alena b963429063 Added upgrade from 224 to 225
Conflicts:

	server/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
2011-05-17 16:43:53 -07:00
alena 392672b9f9 Updated schema file name for 2.2.5-2.2.6 upgrade 2011-05-17 15:28:33 -07:00
alena b5ab92af89 Upgrade from 2.2.5 to 2.2.6 2011-05-17 15:22:59 -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
kishan b738408f7d bug 8866,4942: Added support for Direct Network Usage collection
status 8866,4942: resolved fixed
2011-05-16 18:31:41 +05:30
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 d2e6e912c9 DB upgrade: Reverting partial commit 2011-05-05 11:20:27 -07:00
alena 41f04ffbc5 Removed unused logging 2011-05-05 11:20:27 -07:00
alena 8377580725 bug 9738: DB upgrade - fixed NPE happening during events migration
status 9738: resolved fixed
2011-05-05 11:20:27 -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
alena 040bdab1f1 bug 9734: remove records having non-existing hostId from op_ha_work table
status 9734: resolved fixed
2011-05-04 13:49:06 -07:00
alena b60abeccfb DB upgrade: respect domain hierarchy when update resource_count for domain during the upgrade 2011-05-04 13:49:06 -07:00
Murali Reddy d6b892e053 bug 9720: 2.1.x to 2.2.x upgrade: need to create Domain level records in resource_count table
pushing 2.2.4 changes
2011-05-04 19:54:01 +05:30
alena 2e0bba7926 bug 9722: db upgrade - when upgrade user_statistics, skip ExternalFirewall/ExternalLb records
status 9722: resolved fixed
2011-05-03 18:57:03 -07:00
alena 33b3cb2c1a bug 9693: generate usage event when release Direct ip address.
status 9693: resolved fixed

2 more fixes with this commit:

* bug 9692 is fixed - we don't increment resource count when Direct ip address is allocated.
* as a part of 2.2.2->2.2.4 upgrade resource_count for public_ip records is recalculated - count only Virtual Ip addresses

Conflicts:

	server/src/com/cloud/network/NetworkManager.java
2011-05-03 18:56:52 -07:00
kishan 76a30cc76f bug 9686,9676,9677: Create usage events for existing resources for port forwarding, load balancer and network offering usage
status 9686,9676,9677: resolved fixed
2011-05-03 20:01:28 +05:30
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 0d95cc8130 bug 9683: DB upgrade - generate usage_event for source nat ip addresses
status 9683: resolved fixed
2011-05-02 16:43:51 -07:00
alena 941392a470 bug 9675: Usage DB upgrade - set missing fields for snapshot.create/snapshot.delete events
status 9675: resolved fixed
2011-05-02 16:43:43 -07:00
alena 6253253388 bug 9674: Usage db upgrade - set resource_name for volume.create/volume.delete usage events
status 9674: resolved fixed
2011-05-02 16:43:35 -07:00
alena b5e0affee4 bug 9672: usage db upgrade - set resource_id for NET.IPASSIGN/RELEASE events
status 9672: resolved fixed
2011-05-02 16:43:26 -07:00
alena e17d00a583 bug 9682: DB upgrade - create vm.destroy event in usage_events table
status 9682: resolved fixed
2011-05-02 13:50: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
anthony bb13fa07f7 bug 9617: fixed snapshot upgrade from 223 to 224
status 9617: resolved fixed
2011-04-29 14:13:25 -07:00