so that the java Set can properly determine if a ResourceTagResponse
is unique. This ensures we don't get duplicate resource tags showing
up any time a UserVmResponse is crafted (which can be quite often
due to the way the responses are crafted).
(cherry picked from commit 06ae23710d)
Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
Added fix for exception and listing. Mentioned details under bug.
Post the fix, simulator works fine.
Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
Signed-off-by: Koushik Das <koushik@apache.org>
(cherry picked from commit d31fa09c7e)
Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
Changed the VCPU max limit to 16 and provided a cluster level configuration parameter for this max limit named xen.vm.vcpu.max
(cherry picked from commit 95e41fdf0d)
Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
already there instead of randomly picking one in case there are multiple
cache stores in the scope.(cherry picked from commit e00241f41d)
Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
not correct for XS 6.2 or other specific version hypervisor.
(cherry picked from commit bba6b77177)
Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
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>
after network orchestrator refactor, only network elements providingg
services as defined by network offering, are invloved network design and
imlement phase. So OVS network element need to be enables as
'Connectivity' service provider to make GRE tunnels work. This fix
introduced 'Ovs' provider as Connectivity service provider.
(cherry picked from commit 2e004878b1)
Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
Replaced HttpClient#execute(HttpUriRequest) with
HttpClient#execute(HttpUriRequest,ResponseHandler<T>).
The former requires extra EntityUtils#consume(HttpEntity).
(cherry picked from commit 09e27fd7bf)
Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
"sync snapshot from cache to region wide store failed for image store
test".
(cherry picked from commit b11c13d4a1)
Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
If a VM instance is deployed with startVm=false, then calling restoreVm on the instance fails with NPE because CS tries to expunge a volume that has not been created in primary store.
(cherry picked from commit 92abb9439e)
Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
and entity com.cloud.event.EventVO$$EnhancerByCGLIB$$9e317420@5a0fd1ec belong to
different accounts" message while deleting multiple events .
(cherry picked from commit b811bc0945)
Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
Destroy, so that the cleanup thread will try again on next run.
(cherry picked from commit 1aa1b3e19c)
Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
Capped the max heap size of the JVM at 2600M for 32-bit system VMs. For 64-bit, existing logic works fine.
(cherry picked from commit 1ae02009b5)
Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
Normally a server will bind to 0.0.0.0, which is not an
address that a client can specify to connect to.
127.0.0.1 or ::1 will do.
(cherry picked from commit 1e9f066df2)
Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
To obtain network read/write statistics, multiply sample duration with the
average of the particular performance metric obtained over the sample period.
(cherry picked from commit 16c3f53793)
Signed-off-by: Animesh Chaturvedi <animesh@apache.org>