Daan Hoogland
9b76342a23
upgrade path(s)
2014-11-28 23:50:30 +01:00
Rohit Yadav
73c62837b5
schema: Add upgrade paths from 4.3.2 to 4.4.0
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-20 14:11:25 +05:30
Daan Hoogland
5578616143
4.4.2 upgrade schema
2014-11-13 20:01:35 +01:00
Daan Hoogland
f1e2312523
whitespace
2014-10-09 11:07:29 +02:00
Daan Hoogland
1de10dd6df
CLOUDSTACK-7674 throw an exception when encountered
...
Conflicts:
engine/schema/src/com/cloud/upgrade/dao/Upgrade430to431.java
2014-10-09 11:01:18 +02:00
Rohit Yadav
69575877cf
DatabaseUpgradeChecker: add upgrade path for ACS 4.3.1
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-04 23:11:53 +02:00
Rohit Yadav
208399354f
schema: add Upgrade431to440 that extends 430to440
...
This adds an upgrade path from 4.3.1 to 4.4.0, the implementation of which
simply extends the Upgrade430to440 as there was no schema change between 4.3.0
and 4.3.1
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-04 22:45:10 +02:00
Rohit Yadav
0f84c9b43c
schema: Add upgrade path 4.3.0 to 4.3.1 picked from 51f145b
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-04 22:45:10 +02:00
Daan Hoogland
21a6a6993e
remove update to 4.3 templates for 4.4
2014-08-05 17:48:58 +02:00
Daan Hoogland
00c2696e7a
upgrade of systemvm templates
2014-08-04 14:12:58 +02:00
Daan Hoogland
86083216de
close statement
2014-08-04 12:30:38 +02:00
Daan Hoogland
3dc0a64b3e
try-with-resource to prevent resource leaks
...
(cherry picked from commit 39f775c381 )
(cherry picked from commit fc52e641d8 )
Conflicts:
engine/schema/src/com/cloud/upgrade/dao/Upgrade430to440.java
2014-07-30 13:05:50 +02:00
Nitin Mehta
27c0246e7f
CLOUDSTACK-6599: Add the column in Java upgrade path since 4.2 already has the extract template/volume columns
...
(cherry picked from commit be765ce868 )
Conflicts:
engine/schema/src/com/cloud/upgrade/dao/Upgrade430to440.java
setup/db/db/schema-430to440.sql
2014-07-30 12:59:22 +02:00
Rohit Yadav
9de4abeb49
schema: add upgrade path stubs from 4.4.0 to 4.4.1
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-07-28 23:52:47 +02:00
Santhosh Edukulla
2eae404cf7
Fixed failing DatabaseAccessObject unit test cases
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
(cherry picked from commit ff46258022 )
2014-07-28 16:02:43 +02:00
Santhosh Edukulla
eb16a4e9e3
Fixed Resource Leaks
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
(cherry picked from commit c690320f0b )
2014-07-28 16:02:42 +02:00
Santhosh Edukulla
61cf175f1c
Coverity issues: Fixed conflicts
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-06-17 13:49:55 +02:00
Santhosh Edukulla
87c3d77518
Fixed coverity issues
...
(cherry picked from commit 4ba3aae2ea )
2014-06-12 14:44:26 +02:00
Daan Hoogland
beaa65f777
try-with-resource to prevent resource leaks
...
(cherry picked from commit 39f775c381 )
2014-06-06 19:28:21 +02:00
Rajani Karuturi
004e0cbf61
Fixed ResouceLeak on pstmtCidr in the function Upgrade430to440.moveCidrsToTheirOwnTable as reported by coverity
...
Fixed another leak which might occur due to outer while loop.
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-06-03 15:38:16 +02:00
Nitin Mehta
9fd0655adb
CLOUDSTACK-6599: Add the column in Java upgrade path since 4.2 already has the extract template/volume columns
...
Conflicts:
engine/schema/src/com/cloud/upgrade/dao/Upgrade430to440.java
2014-06-03 10:04:52 +02:00
Rajani Karuturi
b941b1882c
Fixed ResouceLeak on pstmtCidr in the function Upgrade430to440.moveCidrsToTheirOwnTable as reported by coverity
...
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2014-06-03 09:21:50 +02:00
Daan Hoogland
e249038ee5
update vlan uris
2014-06-02 15:53:18 +02:00
Min Chen
6ba541afb7
Disable IAM feature from 4.4 release.
...
Conflicts:
test/integration/smoke/test_vm_iam.py
2014-05-21 13:49:11 +02:00
Jayapal
5a84654d15
CLOUDSTACK-6582 updated the table network_acl_item_cidrs name in Upgrade430to440
2014-05-07 09:22:35 +02:00
Harikrishna Patnala
a521c02c54
CLOUDSTACK-5976: Typo in "ssh_keypairs" table's foreign key constraints
...
on the Upgraded Setup
2014-05-05 20:34:20 +02:00
Bharat Kumar
aabde469d2
Cloudstack-5077: reserve cpu and memory only when vmware.reserve.cpu/mem are set to true. Insted of setting the ovecommit values to one on upgrade, we popultate them from the global values.
...
Conflicts:
engine/schema/src/com/cloud/upgrade/dao/Upgrade410to420.java
engine/schema/src/com/cloud/upgrade/dao/Upgrade420to421.java
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
2014-05-05 14:06:09 +02:00
Daan Hoogland
2239eb4b17
CLOUDSTACK-6231: network acl item cidrs loaded from a seperate table
2014-04-30 14:56:16 +02:00
Min Chen
99bdc8d875
Merge branch 'master' into rbac.
2014-03-13 11:05:03 -07:00
Min Chen
48e08fe676
Merge branch 'master' into rbac.
2014-03-06 14:02:20 -08:00
miguelaferreira
ea0dec77d9
Refactor DbUpgradeUtils
...
- Move database access code to new class DatabaseAccessObject.
This was done to ease the effort of testing, since
DbUpgradeUtils has a static API and it is harder to mock
static things with Mockito.
- Log exceptions even if ignored
- Add unit tests for both DbUpgradeUtils and DatabaseAccessObject
- DbUpgradeUtils.dropTableColumnsIfExist(...) no longer throws
CloudRuntimeException to make it consistent with the other methods in
the class
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-03-06 14:48:35 +01:00
Prachi Damle
bf479e75ca
Renaming acl to iam in the upgrade code
2014-02-26 17:56:38 -08:00
Hugo Trippaers
d1efdca506
Findbugs: Fix Upgrade430to440.java:119, ES_COMPARING_STRINGS_WITH_EQ,
...
Priority: High
2014-02-24 17:01:04 +01:00
Prachi Damle
f84375442e
Merge branch 'master' into rbac
...
Conflicts:
api/src/org/apache/cloudstack/api/command/user/autoscale/ListAutoScaleVmProfilesCmd.java
api/src/org/apache/cloudstack/api/command/user/volume/ResizeVolumeCmd.java
plugins/network-elements/juniper-contrail/test/org/apache/cloudstack/network/contrail/management/MockAccountManager.java
server/src/com/cloud/api/ApiServer.java
server/src/com/cloud/api/query/QueryManagerImpl.java
server/src/com/cloud/template/TemplateAdapterBase.java
setup/db/db/schema-430to440.sql
tools/apidoc/gen_toc.py
2014-02-04 12:07:32 -08:00
Jayapal
c53778c333
CLOUDSTACK-5810 updated null checks and preparestmt and resultset close
...
Closing the prepare statement and result set and assigning null to the object after close.
2014-01-23 18:27:03 +05:30
Min Chen
33cd1ab921
Merge branch 'master' into rbac
2014-01-22 11:23:51 -08:00
Min Chen
c0da0a884a
CLOUDSTACK-5921:S3 security key is stored in DB unencrypted
2014-01-21 14:34:32 -08:00
Jayapal
569b558b92
CLOUDSTACK-5810 Added upgrade changes for updating accountid and domainid of nic secondary ip
2014-01-20 16:05:03 +05:30
Min Chen
929fbabaa2
Merge branch 'master' into rbac.
2014-01-17 14:37:08 -08:00
Kishan Kavala
c8f6ec043d
CLOUDSTACK-5892: Disabled removal of old system Vm templates during upgrades. Updated hyperV template URL and checksum
2014-01-17 17:13:40 +05:30
Kishan Kavala
c0f60651b9
CLOUDSTACK-5690: Added upgarde template support for 4.3 64 bit templates. Changed min required version for VR to 4.3
2014-01-17 12:51:16 +05:30
Hugo Trippaers
9aaea28d0d
Fix typo
2014-01-15 15:20:48 +01:00
Sateesh Chodapuneedi
ba96c8cadf
CLOUDSTACK-5408 [Automation] Failed to deploy vm in vmware environment with error "due to java.io.IOException: Cannot run program "mount": java.io.IOException: error=12, Cannot allocate memory"
...
Bump up RAM size of system offering for SSVM to 512MB
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2014-01-15 01:45:12 +05:30
Rajani Karuturi
f741d99c80
CLOUDSTACK-5790: decrypted ldap hostname and port during upgrade as they are not encrypted now.
...
Conflicts:
engine/schema/src/com/cloud/upgrade/dao/Upgrade421to430.java
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-01-09 15:50:53 +05:30
Kishan Kavala
29b90e7a5c
CLOUDSTACK-5208: upgrade from 3.0.6 to 4.3 is not throwing any exception if new System VM template is not registered with proper name Commit ae231444bc Commented the exception.
2013-12-19 16:17:37 +05:30
Antonio Fornie
55a6df4501
Resources leaks, refactoring and testing
...
Removing resource leaks from UsageSanityChecker and
refactoring it (encapsulation, removal of copy and paste, constants...)
Modularize static method for closing Statments in TransactionLegacy
and reusing this new method from other classes (Upgrade2214to30)
Create Unit and Integration Tests for UsageSanityChecker
Add DBUnit cases and integration profile for nitegration tests as
a base for future DB tests
2013-12-18 10:55:04 +01:00
Rajani Karuturi
b54ac9a635
CLOUDSTACK-5483 : Failed to start management server when db
...
encryption is enabled When db encryption is enabled, the server expects all
secure,hidden fields in encrypted form. moved the insert statements which has
dafault values to java and populated encrypted values if encryption is
enabled.
2013-12-13 17:44:24 +05:30
Alex Huang
be5e5cc641
All Checkstyle problems corrected
2013-12-12 12:26:07 -08:00
Antonio Fornie
e08f64e6ae
Fix several Resource Leak issues related to not closed PStmts and ResultSets
...
Signed-off-by: Daan Hoogland <dhoogland@schubergphilis.com>
2013-12-12 13:24:22 +01:00
Min Chen
288a81180c
Populate default group, policy, account mapping.
2013-12-09 11:29:39 -08:00