Daan Hoogland
1de0cb7094
restore barematel work after merge
2014-10-17 10:24:01 +02:00
amoghvk
71c9804165
Fixing possible formatting issue with license header, causing builds to fail. Works well locally
2014-10-14 14:37:38 -07:00
Sanjay Tripathi
176e0d47bb
CLOUDSTACK-6650: Reorder Cluster list in deployment planner to protect
...
GPU enabled hosts from non-GPU VM deployment.
Cluster reordering is based on the number of unique host tags in a cluster,
cluster with most number of unique host tags will put at the end of list.
Hosts with GPU capability will get tagged with implicit tags defined by
global config param 'implicit.host.tags' at the time os host discovery.
Also added FirstFitPlannerTest unit test file.
2014-10-14 17:55:37 +05:30
amoghvk
da73d735b2
Revert "CLOUDSTACK-6650: Reorder Cluster list in deployment planner to protect"
...
This reverts commit d910b4ff14 since it is causing encryption/decryption issues with RPM builds
(cherry picked from commit fbcab01ff0 )
2014-10-13 00:37:34 -04:00
Hugo Trippaers
5990ed4610
Move the PrepareKickstartPxeServerCommand to the core api so other
...
modules can use it.
(cherry picked from commit b6401b04f22b0a5b686c7c477da4c6e0fd18df84)
Conflicts:
plugins/hypervisors/baremetal/src/com/cloud/baremetal/networkservice/BaremetalKickStartServiceImpl.java
2014-10-13 00:22:50 -04:00
Sanjay Tripathi
47d2a578ee
CLOUDSTACK-6650: Reorder Cluster list in deployment planner to protect
...
GPU enabled hosts from non-GPU VM deployment.
Cluster reordering is based on the number of unique host tags in a cluster,
cluster with most number of unique host tags will put at the end of list.
Hosts with GPU capability will get tagged with implicit tags defined by
global config param 'implicit.host.tags' at the time os host discovery.
Also added FirstFitPlannerTest unit test file.
(cherry picked from commit 39fe766c2b )
2014-10-13 00:15:03 -04:00
Edison Su
9278a6378b
fix checkstyle
...
(cherry picked from commit 8db4f197ef )
2014-10-13 00:12:54 -04:00
Edison Su
ae0bf7db5f
speed up template download: don't sync io for each write
...
(cherry picked from commit 6de4dcb10a )
2014-10-13 00:12:36 -04:00
Hugo Trippaers
4ad2734576
CID-1114601 to 1114604 Recommended practice is to test the result of
...
skip and read for EOF
2014-09-19 14:29:01 +02:00
Hugo Trippaers
90df7cf881
CID-1116300 Prevent potential NPE
2014-09-19 11:55:17 +02:00
Anthony Xu
071004e3e1
removed start/stop VR from queue
2014-09-17 19:04:34 -07:00
Jayapal
86bf33bfab
CLOUDSTACK-7540: Fixed NPE in check s2svpn connection status
2014-09-15 14:54:13 +05:30
Devdeep Singh
f099732be7
CLOUDSTACK-7359. Make sure timeout value is set for the MigrateVolumeCommand. This will
...
make sure the agent waits for the resource to complete (success/failure) migration of
volume on the hypervisor.
2014-08-18 11:38:29 +05:30
Hugo Trippaers
d2aa1c4aa1
Fix concurrency issues CID-1230585 and CID-1230586
2014-08-13 08:39:40 +02:00
Min Chen
e3564658be
CLOUDSTACK-6940, CLOUDSTACK-7312, CLOUDSTACK-5512: Template/ISO/Volume
...
upload rejects some valid URL formats. Also consolidate URL format check
into one util routine.
2014-08-12 11:43:08 -07:00
Kishan Kavala
c09888fcb5
CLOUDSTACK-7237 : Added TAR image processor for templates with tar extension
2014-08-06 18:03:02 +05:30
Jayapal
912dc15bc1
CLOUDSTACK-7246: corrected script name of createipalias
2014-08-05 14:20:32 +05:30
Santhosh Edukulla
e4d6cd8e6a
Fixed coverity reported concurrency issues
...
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-08-05 12:16:08 +05:30
Anthony Xu
330c4ba578
completed the new vmsync TODOs in the code.
...
removed old vmsync logic
2014-07-28 12:51:37 -07:00
Hugo Trippaers
49f60ca744
Fix a coverity issue about unchecked returns and make the code flow a
...
litle bit more easy to follow.
2014-07-28 14:42:42 +02:00
Sheng Yang
f4757a198a
Revert "CLOUDSTACK-7124: Fix semicolon caused VPN programming issue"
...
This reverts commit 809b47e4eb .
Because the fix cause CLOUDSTACK-7163. Would fix it in another way.
Conflicts:
core/src/com/cloud/agent/resource/virtualnetwork/ConfigHelper.java
2014-07-25 14:10:35 -07:00
Hugo Trippaers
70e68be4f3
Fix string encoding problem reported by coverity
2014-07-22 13:12:47 +02:00
Hugo Trippaers
a963fd34b5
CLOUDSTACK-7111 Empty commandlist must return a succes
2014-07-18 09:28:42 +02:00
Hugo Trippaers
5651a13cfd
Remove duplicated code
2014-07-18 09:28:42 +02:00
Sheng Yang
809b47e4eb
CLOUDSTACK-7124: Fix semicolon caused VPN programming issue
...
Semicolon can cause trouble in bash, need to be escaped.
2014-07-17 18:40:14 -07:00
Hugo Trippaers
dbc7d80329
Aggregate command cleanup is not required for the virtual router as we
...
already cleanup in the finish.
And consequently dies if somebody tries to test with assertions enabled.
2014-07-16 16:24:54 +02:00
amoghvk
6831ed4026
CLOUDSTACK-6358: Missing patches in master branch
2014-07-14 15:17:58 -07:00
Hugo Trippaers
a49bb7e8e3
Cleanup licenses in core with com.mycila:license-maven-plugin:format
2014-07-14 16:28:29 +02:00
Hugo Trippaers
109d129096
Enforce licenses and license format in cloud-core
2014-07-14 16:28:29 +02:00
Hugo Trippaers
1ed554650c
One day i'll remember to put the licenses in right away.
2014-07-14 16:04:29 +02:00
Hugo Trippaers
c12767908d
Refactor VirtualRoutingResource, put the ConfigItems in separate classes and create a separate ConfigHelper
2014-07-14 15:32:31 +02: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
Damodar Reddy
5cbb182c6d
CLOUDSTACK-6636: [Windows] Can not create Template from ROOT snapshot on Windows management server with Xen/NFS storage type. This change is only for XenServer with NFS Storage Server. Will fix remaining when we touch them.
...
Signed-off-by: Koushik Das <koushik@apache.org>
2014-06-19 09:35:26 +05:30
Mike Tutkowski
42d00cae58
SolidFire (shared-access) Provider
2014-06-16 12:15:29 -06:00
Nitin Mehta
5393387bbd
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
2014-05-30 10:48:42 -07:00
Marcus Sorensen
15ac47e47b
CLOUDSTACK-6088: Check first bytes of template when downloading to verify format/type
2014-05-28 15:40:57 -06:00
Rajesh Battala
cc92f3bbe3
Fixed testSetupGuestNetwork unit test as the SetupGuestnetwork prepare command got changed
2014-05-05 13:45:12 +05:30
Rajesh Battala
f9cf2c241b
CLOUDSTACK-6518 [Hyper-V] Efficient way of finding the empty nic in VR/VpcVR to configure VPC entities
2014-05-05 12:56:42 +05:30
Rajesh Battala
6cbb9a5b72
CLOUDSTACK-6528 SetupGuestNetwork command is not deleting the guest network configured on the eth device
2014-05-05 12:56:42 +05:30
Anthony Xu
b3491bcbac
removed unused command ClusterSyncCommand
2014-05-01 11:45:19 -07:00
Mike Tutkowski
c0910cbdb9
CLOUDSTACK-6170 (VMware root-disk support for managed storage)
2014-04-19 10:41:42 -06:00
Sheng Yang
4620c27ebf
CLOUDSTACK-6047: Make aggregation command timeout configurable
...
In case some environments has different performance or we found some commands
would took too long to execute, one global configuration item is introduced to
specify "time out in seconds per one command in aggregation commands".
By default it's 3 seconds. If admin feel it's too long, it can be adjust to as
low as 1 seconds, which runs still well in my machine.
Conflicts:
setup/db/db/schema-430to440.sql
2014-04-18 23:36:19 -07:00
Koushik Das
5e90b75c98
CLOUDSTACK-6402: Fix StopCommand so that VMs are not removed accidentally as part of vmsync
...
Added a new flag 'checkBeforeCleanup' to StopCommand based on which check is done to see if VM is running in HV host.
If VM is running then in this case it is not stopped and the operation bails out.
Also modified the MS code to call the StopCommand with appropriate value for the flag based on the context.
Currently it is only set to 'true' when called from the new vmsync logic based on powerstate of VM. For rest it
is set to 'false' meaning no change in behaviour.
2014-04-14 16:52:37 +05:30
Marcus Sorensen
11f5bdd78d
CLOUDSTACK-6191 Add support for specifying volume provisioning
...
type (thin, sparse, fat) in disk/compute offerings.
Submitted-by: Yoshikazu Nojima <mail@ynojima.net>
Reviewed-by: Marcus Sorensen, Mike Tutowski
2014-04-10 09:23:04 -06:00
Sanjay Tripathi
a195205d11
CLOUDSTACK-6366: add vgpuTypes details in vgpu_types table.
2014-04-09 18:23:50 +05:30
Harikrishna Patnala
ecc71518a9
CLOUDSTACK-6253: Optimizing VR alerts getting algorithm In addition to this a new configuration parameter is added router.alerts.check.interval defaulted to 30minutes to check for alerts in Virtual Router
2014-04-09 18:12:20 +05:30
Sheng Yang
b2ffd86570
CLOUDSTACK-6309: Fix timeout in KVM when execute VR commands
...
Timeout is in seconds rather than milliseconds.
2014-03-31 11:30:06 -07:00
Mike Tutkowski
1577e75a3d
CLOUDSTACK-6170 (VMware root-disk support for managed storage)
2014-03-31 00:13:30 -06:00
Edison Su
504a6cdee2
CLOUDSTACK-5432:sync vm and storage commands on mgt server for kvm
...
Conflicts:
engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java
server/src/com/cloud/hypervisor/KVMGuru.java
2014-03-28 16:24:07 -07:00
Anthony Xu
6de28bb1a4
in XenServer, host eject may fail due to diffent reasons, it's hard for CS to handle all failure.
...
in CS, removing a host means CS will not manage the host, admin needs to eject the host from XS pool outside of CS
2014-03-26 14:22:49 -07:00