Commit Graph

536 Commits

Author SHA1 Message Date
Daan Hoogland e0420a6fec Updating pom.xml version numbers for release 4.4.2
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-11-21 03:41:26 +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 b9620c2cbe Updating pom.xml version numbers for release 4.4.2-SNAPSHOT
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-10-19 20:46:15 +02: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
Upendra Moturi 213bdbde35 CLOUDSTACK-6223. removeNicFromVirtualMachine fails if another instance in another domain has a nic with the same ip and a forwarding rule configured on it
Signed-off-by: Daan Hoogland <daan@onecht.net>
(cherry picked from commit e9af5f44ae)
2014-09-12 12:07:04 +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
Min Chen e454acc2c0 CLOUDSTACK-6236:fix a copy-and-paste error for decrRefCnt in
VolumeDataStoreVO.
2014-09-03 21:36:48 -07:00
Ilia Shakitko 8138984dc9 CLOUDSTACK-7398 SecurityGroup Rule related tags cleanup on rule deletion
Signed-off-by: Ilia Shakitko <i.shakitko@tech.leaseweb.com>
(cherry picked from commit 09b09c18cf)
2014-08-22 12:37:12 +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
Nitin Mehta 6f709f59cc CLOUDSTACK-7000: ListSnapshotPolicy should list by policyid. Introduce updateSnapshotPolicy command
(cherry picked from commit fce21439fa)

Conflicts:
	api/src/com/cloud/event/EventTypes.java
2014-07-30 13:31:14 +02:00
Nitin Mehta 1fbee507ea CLOUDSTACK-6987: Add support for storing metadata for snapshot policy and controlling policy using display flag
(cherry picked from commit 5cf8edd7ec)

Conflicts:
	setup/db/db/schema-430to440.sql
2014-07-30 13:24:31 +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
Nitin Mehta fec3b1f865 CLOUDSTACK-6530: Make Network and Volume implement Displayable interface. Iterate over all first class entities in the context to decide the display property for event display.
(cherry picked from commit da0545ff86)

Conflicts:
	api/src/org/apache/cloudstack/api/BaseCmd.java
2014-07-30 12:07:54 +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
Sanjay Tripathi 3d62fbc6e5 CLOUDSTACK-7029: listCapacity fails when podid argument is specified.
(cherry picked from commit ef2cf137a5)
2014-07-28 16:02:51 +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
Nitin Mehta 5c9ca6c22d CLOUDSTACK-6699: listResouceDetails - enhance it to list by (key,value) pair - allowed to Admin only.
(cherry picked from commit d5425e1a4a)
2014-07-28 16:02:13 +02:00
Daan Hoogland c9383c441e Updating pom.xml version numbers for release 4.4.1-SNAPSHOT
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-07-23 16:55:31 +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 ade82be393 Fixed few resource leak issues
Signed-off-by: Daan Hoogland <daan@onecht.net>
(cherry picked from commit 3c5f64c97a)
2014-06-16 17:16:28 +02:00
Santhosh Edukulla 87c3d77518 Fixed coverity issues
(cherry picked from commit 4ba3aae2ea)
2014-06-12 14:44:26 +02:00
Olivier Lemasle c934e7b052 CLOUDSTACK-6850: Return cpu cores, cpu speed and memory in listUsageRecords
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
(cherry picked from commit a1f278e9d4)
2014-06-10 13:39:43 +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
sedukull 6c0b43431f CLOUDSTACK-6793: Fixed an invalid Domain Id Issue
Signed-off-by: sedukull <santhosh.edukulla@gmail.com>
(cherry picked from commit 91d054cb00)
2014-06-06 15:54:45 +02:00
Alena Prokharchyk e6c37ffd41 CLOUDSTACK-6853: Search for non-removed nics only when check if the running vm belongs to a certain network
(cherry picked from commit 03623fe57e)
2014-06-06 13:42:12 +02:00
Alena Prokharchyk 11d8c953e3 CLOUDSTACK-6676: cleanup ip address details on ip disassoc
(cherry picked from commit 66df43572e)
2014-06-06 13:41:23 +02:00
Rajesh Battala 073928fef5 CLOUDSTACK-6831 [Hyper-V] Improve the logging for VM snapshot failures as it is not supported. Right now it is throwing NPEs
(cherry picked from commit d59cc1ff8f)
2014-06-05 14:36:17 +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
Nitin Mehta 9286417f05 CLOUDSTACK-6599:
1. Adding the missing Template/Volume URLs expiration functionality
2. Improvement - While deleting the volume during expiration use rm -rf as vmware now contains directoy
3. Improvement - Use standard Answer so that the error gets logged in case deletion of expiration link didnt work fine.
4. Improvement - In case of domain change, expire the old urls

(cherry picked from commit 48ea9e0b5e)
2014-06-03 10:02:06 +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
Devdeep Singh 3b642c7578 CLOUDSTACK-6810: Fix storage migration of a vm with volume on local was failing. When a plan
with hostid included was passed to the local storage pool allocator, it returned all the local
storage pools in the cluster, instead of just the local pool on the given host in the plan.
This was happening the search at a host level was happening only for data disk. Fixed this.
Additionally, the query to list the storage pools on a host was failing if the pool did have
tags. Fixed the query too.

CLOUDSTACK-6802: Fix for not being able to attach data disk on local. This issue gets fixed
with the above issue too. The query to list pools on a host was failing if there were no
tags on the storage pool.
2014-05-30 19:03:21 +02:00
Rajani Karuturi 032be54fc6 FIXED CLOUDSTACK-6781 [Automation] integration.smoke.test_portable_publicip.TestPortablePublicIPRange.test_createPortablePublicIPRange failing on 4.4
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-05-28 10:11:47 +02:00
Rajani Karuturi df42ce903d Fixed CLOUDSTACK-6756: usage id is not being returned for an ip in deleted ip range 2014-05-27 10:37:55 +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
Prachi Damle 0b99822262 CLOUDSTACK-6476: Basic Zone with Multiple Pods Setup: DHCP server doesnt get deployed in the pod where the VM gets deployed
Changes:
PodId in which the router should get started was not being saved to the DB due to the VO's setter method not following the setXXX format. So when planner loaded the router from DB, it always got podId as null and that would allow planner to deploy the router in any pod. If the router happens to start in a different pod than the user VM, the Vm fails to start since the Dhcp service check fails.

Fixed the VO's setPodId method, that was causing the DB save operation fail.
2014-05-17 11:25:02 +02:00
Murali Reddy 99dc7e009c CLOUDSTACK-6686:NetworkACLItemCidrsDaoImpl uses firewallRuleId instead
of networkAclItemId

fix uses networkAclItemId instead of firewallRuleId
2014-05-16 22:54:20 +02:00
Sanjay Tripathi 13ba59c5f0 CLOUDSTACK-6649: CS is not giving the system-wide capacity for GPU reosurce. 2014-05-14 13:52:46 +02:00
Amogh Vasekar a7bf66b9f0 This patch disallows deleting / modifying system defined guest OS mappings
Local env
1. Create user defined mapping
2. Delete / modify user defined mapping. Should pass
3. Delete / modify system defined mapping. Should fail

Signed off by :- Nitin Mehta<nitin.mehta@citrix.com>
2014-05-13 22:55:14 +02:00
Amogh Vasekar 02bd3d0671 CLOUDSTACK-6358: As a part of supporting dynamic guest OS defined by user, removing the hard-coded dependencies.
This patch is for KVM

1. Local testing on KVM
2. Successfully got up system VMs
3. Successfully created a CentOS VM
4. Snapshots are not supported for KVM

 Signed off by :- Nitin Mehta<nitin.mehta@citrix.com>
2014-05-13 10:33:15 +02:00
Saksham Srivastava 3943e0ba1c CLOUDSTACK-6575: Deploy VM failed with NPE while using custom compute offering 2014-05-11 11:30:33 +02:00