Daan Hoogland
e2b6237464
CLOUDSTACK-8656: debug messages on interupted exceptions
2015-07-30 16:03:10 +02:00
Daan Hoogland
85e002b230
CLOUDSTACK-8656: filling empty catch block with info messages
...
using regexp "catch\s*\(\s*(Exception|Throwable)\s*\w*\)\s*\{\s*\}"
2015-07-30 15:51:52 +02:00
Rafael da Fonseca
aa56faec51
Fix findbugs warning in VmwareHelper.java Disk descriptors should be written in UTF-8 for Vmware
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This closes #407
2015-06-15 12:05:38 +03:00
Rafael da Fonseca
dc64c7e843
Fix findbugs encoding warning ESX responses should be encoded in UTF-8
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This closes #406
2015-06-15 12:05:30 +03:00
Rafael da Fonseca
f03411ca04
Fix 2 findbugs encoding warnings in VmwareContext.java StreamReaders should use encoding specified in the connection object
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This closes #405
2015-06-15 12:05:16 +03:00
Rohit Yadav
c8901a7990
utils: use a better extended implementation of SSLSocketFactory
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit b4a5a32a74 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-13 17:32:07 +05:30
Rohit Yadav
664186f483
CLOUDSTACK-8160: use preferable protocols
...
(cherry picked from commit debfcdef78 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-21 18:04:45 +05:30
Likitha Shetty
ac491c9607
CLOUDSTACK-8121. Data disk properties are not updated upon Creation/Deletion of VM snapshots.
...
Update the path and size of data volumes after snapshot creation/deletion by correctly trimming only the snapshot postfix of a disk.
2014-12-24 13:04:12 +05:30
Likitha Shetty
f420dd55fb
CLOUDSTACK-8119. [VMware] Cannot attach more than 8 volumes to a VM.
...
While attaching a new disk to an instance, the unit number on the controller key should be the lowest unit number
that is not in use. And in case the controller type is SCSI it shouln't be the reserved SCSI unit number.
2014-12-24 10:48:03 +05:30
Likitha Shetty
0f224c858f
CLOUDSTACK-8108. vCenter admin name is logged in clear text.
...
Revert back to TRACE logging while retrieving and recycling VMware context from the context pool.
2014-12-23 10:35:06 +05:30
Laszlo Hornyak
3577423da9
removed executable flags from java classes
...
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2014-11-23 19:49:01 +01:00
Santhosh Edukulla
0a9742f914
Fixed few coverity issues
...
Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
2014-10-14 17:16:50 +05:30
Min Chen
9866c648eb
CLOUDSTACK-7260: Management server not responding after some time for
...
Vmware due to Oom (cannot create native thread).
2014-08-05 17:36:53 -07:00
Min Chen
05c6b455ae
CLOUDSTACK-5922:Incorrect handling RHEL guests for 5.5 to 5.9
2014-03-26 16:42:44 -07:00
Min Chen
b484b48201
Provide separate option for Windows Server 2012 R2 as
...
an OS type when registering template.
2014-02-25 16:09:29 -08:00
Min Chen
206c35c620
Vmware is broken due to commit b20add810e.
2014-01-22 17:44:21 -08:00
Hugo Trippaers
b20add810e
Get rid of compiler warnings in vmware-base
2014-01-22 09:37:34 +01:00
Min Chen
747462b6ac
CLOUDSTACK-5922:Incorrect handling RHEL guests.
2014-01-21 16:34:26 -08:00
Likitha Shetty
a957d52a3c
CLOUDSTACK-5707. Hitting multiple 'User unauthenticated' exceptions when vCenter is upgraded to 5.5 from 5.1.
...
We hit these excptions whenever a management server held session that was with the old 5.1 vCenter server
is used to make resource calls to the new 5.5 vCenter.
Validate a vCenter session context before it is being used to make a resource call.
And if the context is invalid then discard the context and retrieve a new one.
During the invalidation of an old context handle the context disconnect better
by catching the appropriate exception and returning a newly created context.
Conflicts:
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareContextFactory.java
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
plugins/hypervisors/vmware/src/com/cloud/storage/resource/VmwareSecondaryStorageResourceHandler.java
vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareContext.java
2014-01-14 09:38:50 +05:30
Likitha Shetty
025335a3ab
Fixing compile error found by checkstyle
2013-12-17 14:40:48 +05:30
Likitha Shetty
5594ea990f
CLOUDSTACK-5519. [VMWARE] Cancel vCenter tasks if the task invoked by CloudStack failes with timeout error
...
Conflicts:
vmware-base/src/com/cloud/hypervisor/vmware/util/VmwareClient.java
2013-12-17 12:06:19 +05:30
Alex Huang
be5e5cc641
All Checkstyle problems corrected
2013-12-12 12:26:07 -08:00
Min Chen
425723e164
CLOUDSTACK-5336:[Automation] During regression automation management
...
server hang with "out of memory error".
2013-12-05 18:45:07 -08:00
Jijun
4517b9277b
rhel 6.x os mapping for vmware
2013-11-22 17:54:39 +01:00
Alex Huang
170f32f171
Broke up some long strings
2013-11-21 07:25:01 -08:00
Alex Huang
d620df2bdd
Reformatted all of the code.
2013-11-21 06:15:26 -08:00
Alex Huang
e4b22d0fca
Replace all tabs, particularly the ones in the comments
2013-11-21 03:39:58 -08:00
Alex Huang
8d62744681
Reformat all source code. Added checkstyle to check the source code
2013-11-20 07:26:53 -08:00
Likitha Shetty
90fb76a72c
CLOUDSTACK-5069. Added global config 'vmware.vcenter.session.timeout' to make the vCenter session timeout value configurable.
2013-11-20 16:12:22 +05:30
Likitha Shetty
d05891afa1
CLOUDSTACK-4994. Cannot attach VMwareInstallerISO to VMs that are of guest operating system CentOS 6.1 CentOS 6.2 CentOS 6.3 CentOS 6.4.
...
Cause - This issue can occur in VMware setups if the guest operating system is not specified when we install the virtual machine. In which case, since we map the OS to 'Other OS', VMwareInstallerISO attachment fails.
Added the necessary guest OS mapping for VMware.
2013-11-08 17:55:36 +05:30
Likitha Shetty
01b29a0caf
CLOUDSTACK-3715. Increasing VMware vCenter session timeout value to 20 minutes from 10 minutes.
2013-11-07 11:20:31 +05:30
Likitha Shetty
f03dcdab19
[CLOUDSTACK-5051] Revert "CLOUDSTACK-3715. Socket timeout error is observed in VMware setup if a VMware task (RelocateVM_Task, CloneVM_Task etc.) takes more than 10 minutes. Making this value configurable to allow admins to modify the timeout if required. It defaults to the current value i.e. 10 minutes."
...
This reverts commit 3a91500173 .
Conflicts:
plugins/hypervisors/vmware/src/com/cloud/storage/resource/VmwareSecondaryStorageContextFactory.java
2013-11-06 19:07:33 +05:30
Likitha Shetty
3a91500173
CLOUDSTACK-3715. Socket timeout error is observed in VMware setup if a VMware task (RelocateVM_Task, CloneVM_Task etc.) takes more than 10 minutes. Making this value configurable to allow admins to modify the timeout if required. It defaults to the current value i.e. 10 minutes.
2013-11-05 15:59:03 +05:30
Kelven Yang
ed0fbcc81c
CLOUDSTACK-4950: fix the problem to support sessions to multiple vCenter instance
2013-10-24 11:42:41 -07:00
Darren Shepherd
c25b58356b
Revert "Revert change to ManagedContextTimerTask to unblock DB upgrade"
...
This reverts commit 2799ee3d4f .
2013-10-23 23:41:00 -07:00
Min Chen
b05f19eb9e
CLOUDSTACK-4872:VM provisioned using a registered Windows Server 2012
...
template will show as other os in VCenter.
2013-10-15 13:56:13 -07:00
Darren Shepherd
2799ee3d4f
Revert change to ManagedContextTimerTask to unblock DB upgrade
2013-10-09 20:51:05 -07:00
Kelven Yang
a3babdd61c
CLOUDSTACK-4790: Skip reserved VMware scsi device number for SCSI disks
2013-10-02 17:53:56 -07:00
Darren Shepherd
aed5e9dc2a
Add Manage Context framework
...
The managed context framework provides a simple way to add logic
to ACS at the various entry points of the system. As threads are
launched and ran listeners can be registered for onEntry or onLeave
of the managed context. This framework will be used specifically
to handle DB transaction checking and setting up the CallContext.
This framework is need to transition away from ACS custom AOP to
Spring AOP.
2013-10-02 13:09:52 -07:00
Kelven Yang
f3c917db05
CLOUDSTACK-4734: Validate and Fail-over to another VmwareContext object when it is from the pool
2013-09-27 15:57:56 -07:00
Kelven Yang
ae231444bc
CLOUDSTACK-4585: make run-time datastore folder migration, VM snapshot, bug in root disk controller type carried from previous version work under upgrade situation
2013-09-04 14:49:46 -07:00
Kelven Yang
c528e71fec
CLOUDSTACK-4390, CLOUDSTACK-4358: Enable full-clone deployment by default for VMware. Apply keep-alive kick for all outstanding vCenter sessions
2013-09-04 14:49:45 -07:00
Kelven Yang
b4a7d20319
CLOUDSTACK-4357: don't cache ServiceContent and rootFolder in memory, the cache semantics break session keep-alive mechanism
2013-09-04 14:49:45 -07:00
Kelven Yang
899f92b725
CLOUDSTACK-4288: Fix the way that VmwareClient is using vSphere 5.1 SDK which caused huge memory footprint
2013-09-04 14:49:45 -07:00
Kelven Yang
d361cb5282
CLOUDSTACK-3568: finalize logging in the refactored code on new vCenter API management facility
2013-09-04 14:49:45 -07:00
Kelven Yang
0becde90bb
CLOUDSTACK-3568: Refactore CloudStack/vCenter API session management facility to avoid the situation that multiple API requests are sharing with the same vCenter API session
2013-09-04 14:49:45 -07:00
Kelven Yang
40869a5a2b
CLOUDSTACK-3869: Move VMware datastore folder structure policy management to central place
2013-09-04 14:49:45 -07:00
Sateesh Chodapuneedi
5f395e41ab
CLOUDSTACK-2592 [Automation]: Scale up VM on VMWARE without license doesn't throw appropriate error
...
Now ESXi server license would be fetched to see if HOTPLUG feature is license or not.
Throw Exception if the feature is not licensed.
Also added FeatureKeyConstants enum type to maintain list of various features to be checked whether licensed or not.
2013-07-08 12:49:39 +05:30
Sateesh Chodapuneedi
3c88dd4f80
CLOUDSTACK-3151 [VMware] CloudStack does case sensitive processing of names of VMware objects.
...
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-06-24 11:06:16 +05:30
Nitin Mehta
c11dbad9c9
merge master
2013-05-11 15:28:43 +05:30