Hugo Trippaers
e78bb1d225
Switch the catch to Throwable. Uncaught exceptions in a scheduled
...
threadpool executor will not report or log uncaught exceptions but will
kill the thread causing unexplained timeouts in CS.
2014-07-16 16:24:55 +02:00
Koushik Das
aacf8ef77b
Findbugs fixes in cloud-utils project and a few other places
2014-07-15 14:23:17 +05:30
amoghvk
33d6bc278f
Adding missing modified file
2014-07-14 17:42:27 -07:00
amoghvk
62e63a1bf7
CLOUDSTACK-6358: Missing patches in master for VMware
2014-07-14 16:54:10 -07:00
Amogh Vasekar
09069fcc87
CLOUDSTACK-6358: Add missing patches in master for KVM
2014-07-14 16:51:55 -07:00
amoghvk
6831ed4026
CLOUDSTACK-6358: Missing patches in master branch
2014-07-14 15:17:58 -07:00
Sanjay Tripathi
f275eb1ff9
CLOUDSTACK-7029: listCapacity fails when podid argument is specified.
2014-07-09 12:09:33 +05:30
Alena Prokharchyk
f4d2034755
CLOUDSTACK-7081: db upgrade fixes - a) added description for cloud.volumes.iso_id field b) removed duplicated unique key "id_2" from cloud.storage_pool table
2014-07-08 14:14:07 -07:00
Mike Tutkowski
62c18ca3fa
Fixing an issue in the AbstractStoragePoolAllocator's filter method where zone-wide storage of HypervisorType.Any is skipped
2014-07-07 22:16:58 -06:00
Alena Prokharchyk
5a96d8ef5c
CLOUDSTACK-7073: Added domainId field to the user table in order to restrict duplicated users creation on the db level
2014-07-07 16:21:38 -07:00
Likitha Shetty
8e112858d3
CLOUDSTACK-7071. Upgrade to CCP 4.2 fails in case a VMware setup has multiple zones mapping to the same VMware datacenter.
...
If 2 or more CloudStack zones map to the same VMware datacenter, mark the zones as legacy zones.
2014-07-07 16:38:56 +05:30
Santhosh Edukulla
a600d8408e
Fixed Resource Leaks, null dereferences, few other issues reported by coverity
2014-07-04 16:17:58 +05:30
ynojima
1e72e5a818
CLOUDSTACK-6935 remove iSCSI storage filtering logic for Root volume
...
since there is no reason to filter it out
2014-07-01 19:57:19 -06:00
ynojima
32ed9d86ec
Revert "Fixing an issue introduced with Review Request 22717"
...
This reverts commit 12e92e10ffbd9f86ebff11c2a1b22c5bafafb3d1.
2014-07-01 19:54:11 -06:00
Santhosh Edukulla
97d296bfbd
Fixed Coverity reported performance issues like inefficient string concatenations, wrong boxing or unboxing types, inefficent map element retrievals
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-07-01 22:06:25 +02:00
Mike Tutkowski
12e92e10ff
Fixing an issue introduced with Review Request 22717
2014-06-26 23:56:11 -06:00
Nitin Mehta
80ef915fd5
CLOUDSTACK-7000: ListSnapshotPolicy should list by policyid. Introduce updateSnapshotPolicy command
...
(cherry picked from commit fce21439facea267d958d8939059ba65afb3578a)
2014-06-26 11:38:41 -07:00
Hugo Trippaers
05b79a127a
Fix the license headers Nitin forgot.
2014-06-25 16:07:00 +02:00
Hugo Trippaers
ab0dca0385
Catch possible exceptions in finally so they won't shadow the original exception.
2014-06-25 15:51:29 +02:00
Hugo Trippaers
cd0ef09344
Fix typo and add the right exception to the error map.
2014-06-25 15:51:28 +02:00
Kelven Yang
f756d4aa33
Make job info universally available across management server and resource agents
2014-06-24 16:28:22 -07:00
Mike Tutkowski
3d9eaf0753
Fixed some spacing issues from 4d6c682f18d9bca50c145b55d8fa61ea1ab71755
2014-06-24 15:27:06 -06:00
Santhosh Edukulla
b2283d7a28
Fixed few resource leaks and added secstoragefirewallcfg command support to simulator
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-06-24 23:19:47 +02:00
punith-cloudbyte
4d6c682f18
supporting nfs protocol and resize feature for managed storage for xenserver
...
resize feature refactored
Signed-off-by: Mike Tutkowski <mike.tutkowski@solidfire.com>
2014-06-24 15:16:45 -06:00
Nitin Mehta
cb5e8c591f
CLOUDSTACK-6987: Add support for storing metadata for snapshot policy and controlling policy using display flag
...
(cherry picked from commit 5cf8edd7ec22095e70d72486a2380228fb3728af)
2014-06-24 14:07:39 -07:00
Mike Tutkowski
c344693e48
Inform the applicable storage plug-in's life cycle that capacity (bytes and/or IOPS) can be updated
2014-06-24 14:39:57 -06:00
Daan Hoogland
c79ab570b0
Revert "CLOUDSTACK-6967: Initial OVM3 drop"
...
This reverts commit 8a485b9b59e4108e862022baf7477f768380b325.
2014-06-24 10:24:01 +02:00
Funs
8a485b9b59
CLOUDSTACK-6967: Initial OVM3 drop
...
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
(cherry picked from commit ed47763e2525a21fa4578d199492462d0fb1c7ef)
Conflicts:
api/src/com/cloud/network/NetworkService.java
api/src/org/apache/cloudstack/api/ApiConstants.java
api/src/org/apache/cloudstack/api/command/admin/usage/AddTrafficTypeCmd.java
engine/storage/snapshot/src/org/apache/cloudstack/storage/snapshot/SnapshotObject.java
plugins/pom.xml
server/src/com/cloud/network/NetworkServiceImpl.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
server/test/com/cloud/vpc/MockNetworkManagerImpl.java
ui/scripts/docs.js
2014-06-23 12:39:10 +02:00
Anshul Gangwar
bbcffbbab0
CLOUDSTACK-6965: fixed the NullPointerException introduced by fix for cloudstack
...
6935 in AbstractStoragePoolAllocator#filter method for Zone Wide storage
2014-06-23 12:17:08 +05:30
Santhosh Edukulla
1c80185170
Fixed Resource Leaks, null dereferences, invalid value comparisons, invalid result set loop
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-06-21 12:38:46 +02:00
Anshul Gangwar
450d890942
CLOUDSTACK-6830: Fixed during VM migration, volumes on zone wide primary store
...
requires storage migration resulting in failure of VM migration. This also improves
the hostsformigration api. Firstly we were trying to list all hosts and then
finding suitable storage pools for all volumes and then we were checking whether
vm migration requires storage migration to that host. Now the process is updated.
We are checking for only those volumes which are not in zone wide primary store.
We are verifying by comparing volumes->poolid->clusterid to host clusterid. If it
uses local or clusterids are different then verifying whether host has suitable
storage pools for the volume of the vm to be migrated too.
2014-06-20 16:32:19 +05:30
ynojima
318e497e60
CLOUDSTACK-6935 refactor StoragePoolAllocator#filter logic
...
to support IOPS capacity control in a cluster wide storage pool and a
local storage pool
to enable hypervisor type check, storage type check for root volume and
avoid list check
Since original commit(31de58edab563eb1cb50c5c06437fdd3efc6a3d2) contained
a bug, it was reverted and this commit is a revised one.
2014-06-18 13:45:52 -06:00
Alena Prokharchyk
3312394154
CLOUDSTACK-6934: don't try to detach volume from host when volume was never allocated to a primary storage
2014-06-18 12:39:36 -07:00
ynojima
77e74841a0
Revert "CLOUDSTACK-6935 refactor StoragePoolAllocator#filter logic"
...
This reverts commit 31de58edab563eb1cb50c5c06437fdd3efc6a3d2.
2014-06-18 13:04:39 -06:00
ynojima
31de58edab
CLOUDSTACK-6935 refactor StoragePoolAllocator#filter logic
...
to support IOPS capacity control in a cluster wide storage pool and a
local storage pool
to enable hypervisor type check, storage type check for root volume and
avoid list check
2014-06-18 11:07:34 -06:00
Kelven Yang
f529823566
Add ReflectionUse annotation for marking up *un-used* methods
2014-06-17 17:31:29 -07:00
Daan Hoogland
520ff00083
removed closing of out of scope statement
2014-06-16 15:46:42 +02:00
Santhosh Edukulla
d86b6778ad
Fixed few resource leak issues
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
(cherry picked from commit 3c5f64c97ab071451aee7f232d8f2cec6d89044d)
2014-06-16 15:12:31 +02:00
Santhosh Edukulla
f89100ed72
CLOUDSTACK-6793 : Added fix
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-06-16 17:11:14 +05:30
Hugo Trippaers
0c28f36ff1
Fix a number of resource leaks reported by Coverity
2014-06-13 14:42:35 +02:00
Anshul Gangwar
aa21cdcd49
CLOUDSTACK-6897: when we try to attach the uploaded/allocated volume to a VM on zwps, then we were passing the podId of VM instead of storage pool to storage allocator. This resulting in use of Clusterscope storage allocator, allocating a storage pool for VM on zwps beacuse of pod id not null. This was resulting in scope conflict later
2014-06-13 14:47:00 +05:30
Anshul Gangwar
66d1eb92f0
CLOUDSTACK-6865 , CLOUDSTACK-6868: [hyperv] while attaching the volume we were changing the volume's Image format to hypervisor's default Image format, hence it was failing to find the volume with vhdx format. Now changed the behavior to set Image Format for volume only when it is not set
2014-06-13 13:26:02 +05:30
Rajani Karuturi
b666a1f3a5
Fixed issues reported by coverity NPEs, unwritten field access and self assignment
...
Signed-off-by: Koushik Das <koushik@apache.org>
2014-06-10 14:34:47 +05:30
Olivier Lemasle
a5902f1db4
CLOUDSTACK-6850: Return cpu cores, cpu speed and memory in listUsageRecords
...
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
2014-06-10 03:11:35 -04:00
Tim Mackey
a8212d9ef4
Cleanup of Xen and XenServer terms. Cloned xen plugin creating a xenserver plugin, then removed xen plugin
...
Signed-off-by: Tim Mackey <tmackey@gmail.com>
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
2014-06-07 04:50:23 -04:00
Prachi Damle
3b3f4577b0
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-06-06 16:15:31 -07:00
Daan Hoogland
39f775c381
try-with-resource to prevent resource leaks
2014-06-06 17:38:18 +02:00
Alena Prokharchyk
57e66ddaa6
CLOUDSTACK-6676: cleanup ip address details on ip disassoc
2014-06-05 17:36:32 -07:00
Alena Prokharchyk
2ed9b474d8
CLOUDSTACK-6853: Search for non-removed nics only when check if the running vm belongs to a certain network
2014-06-05 17:09:32 -07:00
Hugo Trippaers
d21a15beb2
Fix CID-1212194 Resource like dues to left-open statements and
...
resultsets
2014-06-03 16:52:58 +02:00