Commit Graph

362 Commits

Author SHA1 Message Date
Rohit Yadav 5519095a29 CLOUDSTACK-8070: during 4.3.1 to 4.3.2 upgrade encrypt config that are hidden
In case there is an encryption key/password is provided the value, specifically
for router.ram.size will be encrypted otherwise it will remain plain text.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-12-12 20:33:16 +05:30
Nitin Mehta e5761cc85f CLOUDSTACK-5997: Template state changes side affects
(cherry picked from commit 0e2e6995b7)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	engine/schema/src/com/cloud/storage/dao/VMTemplateDaoImpl.java
	server/src/com/cloud/template/HypervisorTemplateAdapter.java

This makes setup/db/db/schema-421to430.sql same as in master branch. The
change is table view related and does not affect db at all. Making it same
as the version on master for sanity purposes.
2014-12-02 15:16:11 +05:30
Sanjay Tripathi 77446d2716 CLOUDSTACK-6172: Volume is not retaining same uuid when migrating from one storage to another.
(cherry picked from commit 624139d8ef)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-26 18:23:04 +05:30
Min Chen 2534b54853 CLOUDSTACK-6236:fix a copy-and-paste error for decrRefCnt in
VolumeDataStoreVO.
(cherry picked from commit 672bb353be)

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-26 18:15:05 +05:30
Min Chen 88ec08439d CLOUDSTACK-6236:Negative ref_cnt of template(snapshot/volume)_store_ref results in out-of-range error in Mysql
(cherry picked from commit cd8af6a3e2)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-26 18:14:53 +05:30
Jayapal 1e475892d5 CLOUDSTACK-7872: network getting shutdown inspite of running VM's in the network
(cherry picked from commit 709bf074de)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	engine/schema/src/com/cloud/vm/dao/NicDaoImpl.java
2014-11-25 18:28:20 +05:30
Rohit Yadav 6d31aca25c CLOUDSTACK-6075: Increase the ram size for router service offering
Increased the ram size of Internal load balancer vm service offering also
Backported from fix by Harikrishna Patnala <harikrishna.patnala@citrix.com>
https://reviews.apache.org/r/17941/

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-25 14:08:25 +05:30
Rohit Yadav 2a72afdc48 Revert "Revert "Bump release version to 4.3.2-SNAPSHOT and add empty db upgrade path""
The revert was an error, sorry about that.
  - Rohit

This reverts commit 0aba9654f8.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-21 18:04:33 +05:30
Rohit Yadav 0aba9654f8 Revert "Bump release version to 4.3.2-SNAPSHOT and add empty db upgrade path"
This reverts commit c3c3bab41a.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-20 20:35:45 +05:30
Rohit Yadav c3c3bab41a Bump release version to 4.3.2-SNAPSHOT and add empty db upgrade path
This reverts commit e6d00bcc66.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-20 14:04:43 +05:30
Daan Hoogland 52cf8af08e whitespace 2014-10-09 10:55:03 +02:00
Daan Hoogland 1a1190eb1d CLOUDSTACK-7674 throw an exception when encountered 2014-10-07 08:05:27 +02:00
Rohit Yadav f5483eeeab schema: fix upgrade paths in the upgrade map of DatabaseUpgradeChecker
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-01 13:52:25 +02:00
Edison Su 720315b8d1 CLOUDSTACK-4725: if storage pool has different path, but the uuid is the same, then treat them as the same storage pool 2014-07-16 16:30:15 -07:00
Rajani Karuturi 44c8e1f67f COVERITY: Fixed Resource leak (RESOURCE_LEAK) 11.
overwrite_var: Overwriting "pstmt" in "pstmt = conn.prepareStatement("INSERT INTO `cloud`.`ldap_configuration`(hostname, port) VALUES(?,?)")" leaks the resource that "pstmt" refers to.

Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
2014-07-02 16:05:09 +02:00
Daan Hoogland 51f145b564 datamigration for vlan uris 2014-06-30 15:15:11 +02:00
Edison Su f304df0be9 Merge branch '4.3-forward' into 4.3 2014-06-04 16:25:13 -07:00
Harikrishna Patnala 5ccde5de93 CLOUDSTACK-5976: Typo in "ssh_keypairs" table's foreign key constraints
on the Upgraded Setup
Conflicts:
	engine/schema/src/com/cloud/upgrade/dao/Upgrade302to40.java
2014-05-05 20:39:33 +02:00
Daan Hoogland 34435173a7 CLOUDSTACK-6231 allow for cidr list entry of more than 256 chars
(cherry picked from commit 454cac448d)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
2014-03-12 11:02:56 -07:00
Daan Hoogland 454cac448d CLOUDSTACK-6231 allow for cidr list entry of more than 256 chars 2014-03-12 17:01:38 +01:00
Saksham Srivastava 7fb2b8c68e CLOUDSTACK-6151: Local data disk with tag goes to the wrong local storage pool
Signed-off-by: Koushik Das <koushik@apache.org>
2014-03-07 01:08:00 +07:00
Alena Prokharchyk 2457a92599 CLOUDSTACK-6184: for userVm/ServiceOffering/StoragePool details set display=true by default in the VO objects
(cherry picked from commit 531a4ecc45)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
2014-03-04 23:42:09 -08:00
Alena Prokharchyk 531a4ecc45 CLOUDSTACK-6184: for userVm/ServiceOffering/StoragePool details set display=true by default in the VO objects 2014-02-27 10:47:38 -08:00
Jayapal 88463cd10b CLOUDSTACK-6083 corrected firewall rule cidr load issue
(cherry picked from commit e8f93f28fc)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
2014-02-13 15:56:50 -08:00
Jayapal e8f93f28fc CLOUDSTACK-6083 corrected firewall rule cidr load issue 2014-02-13 14:24:42 +05:30
Devdeep Singh 4961c1385a CLOUDSTACK-6053: While adding a primary or secondary of type smb the password wasn't
encoded. This cause createStoragePool or addImageStore command to fail if special
characters were present. Updated the code to pass user, password and domain as part
of details while adding primary or secondary. Also made changes on server side to
handle it.
(cherry picked from commit f0b861fede)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
2014-02-07 13:21:39 -08:00
Devdeep Singh 9536569e1f CLOUDSTACK-6030: Encrypt the primary and secondary smb storage password when it is stored in the db.
(cherry picked from commit 96d8e3c945)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
2014-02-07 13:21:18 -08:00
Devdeep Singh f0b861fede CLOUDSTACK-6053: While adding a primary or secondary of type smb the password wasn't
encoded. This cause createStoragePool or addImageStore command to fail if special
characters were present. Updated the code to pass user, password and domain as part
of details while adding primary or secondary. Also made changes on server side to
handle it.
2014-02-07 17:46:03 +05:30
Devdeep Singh 96d8e3c945 CLOUDSTACK-6030: Encrypt the primary and secondary smb storage password when it is stored in the db. 2014-02-06 11:17:51 +05:30
Min Chen afb8a79321 CLOUDSTACK-5921: S3 security key is stored in DB unencrypted 2014-01-21 14:17:30 -08:00
edison 1b064515ac CLOUDSTACK-5432: potential bugs in case of stop mgt server while template is downloading, template_store_ref has leftover not in ready state, when create vm from that template, the code doesn't check either zone id, nor template_store_ref state. 2014-01-20 17:15:23 -08:00
edison 27fd490885 CLOUDSTACK-5329: stupid java box/unbox 2014-01-20 10:43:32 -08:00
Kishan Kavala 1bf610d0c3 CLOUDSTACK-5892: Disabled removal of old system Vm templates during upgrades. Updated hyperV template URL and checksum 2014-01-17 17:12:43 +05:30
Kishan Kavala 04492bad43 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:29:37 +05:30
Hugo Trippaers 4ccc74e768 Fix typo 2014-01-15 15:54:26 +01:00
Sateesh Chodapuneedi 032888c46c 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:38:34 +05:30
Kelven Yang 7a8c0e3ae0 CLOUDSTACK-5696: Fix sync issue with out-of-band changes 2014-01-14 17:33:15 -08:00
Kishan Kavala 202a935fcd CLOUDSTACK-5852: router search in DomainDouterDao using AllFieldsSearch filters few routers due to router_network_ref join. Created a seperate search to list running routers with filters. 2014-01-10 19:57:02 +05:30
Olivier Lemasle d5277a81e6 CLOUDSTACK-5404: Fix timezone bug in network usage 2014-01-09 14:06:28 +01:00
Rajani Karuturi 12f3568e97 CLOUDSTACK-5790: decrypted ldap hostname and port during upgrade as they are not encrypted now.
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-01-09 15:43:21 +05:30
Min Chen 693f0c280a CLOUDSTACK-5841:Snapshots taken before migration NFS to S3 can not be
used cross-zone.
2014-01-08 16:33:37 -08:00
Wei Zhou 4bb85cd7f9 CLOUDSTACK-5303: fix incorrect resource count (snapshot, secondary_storage)
(cherry picked from commit fa43987e43)
2014-01-08 15:34:51 +01:00
Kelven Yang c75b0044ef CLOUDSTACK-5765: cleanup internal serialization and exception propagation issues 2014-01-07 17:12:06 -08:00
Sanjay Tripathi 0706757e00 CLOUDSTACK-5314: Negative (-ve) values for primary storage and volumes are shown in the resource count table. 2014-01-07 14:27:35 +05:30
Harikrishna Patnala 662383e24b CLOUDSTACK-5515: #cpu ,cpuspeed and ram is set to NULL in usage db(usage_vm_instance table) after vm stop and start Fixed populating usage event details in usage db on vm start/upgrade/dynamic_scale 2013-12-30 12:08:30 +05:30
Min Chen 35ba14d88d CLOUDSTACK-5648:CopyTemplate and CopyISO across zones fails after NFS
migration to S3.
2013-12-26 11:12:00 -08:00
Harikrishna Patnala 4034aad250 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 15:46:16 +05:30
edison 15403a1f29 add xenserver 6.2.0 hotfix support, to optimize vdi copy
add xenserver hot fix
2013-12-18 18:22:52 -08:00
Koushik Das efe2549e7a CLOUDSTACK-5458: cpu speed is not getting updated in vm_instance table after service offeirngs change
Removed cpu, ram and cpu speed fields from the vm_instance table as these are not used
2013-12-18 15:34:44 +05:30
Bharat Kumar 2724db67f6 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.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-12-16 11:13:51 -08:00