Likitha Shetty
fa2f18d2a2
CLOUDSTACK-4875. Vmware vCenter 5.5 - System VM deployment fails During VM deployment.
...
When base template is being cloned to create VM ROOT disk, get the disk path i.e. base file name
of the VM's ROOT disk from vCenter
2013-12-17 18:31:15 +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
Likitha Shetty
29c36b2ad2
CLOUDSTACK-5122. [VMware] During upgrade from 4.1 system vms don't come up with 'ROOT-x-y VMDK file not found' exception.
...
During VM start, if VM already exists and CS finds a matching disk in storage for each of the existing disk then the VM is reconfigured with VM's existing disk information. This existing disk information for a VM is got from vCenter.
CS checks if a matching disk exists in storage by checking if there is a disk in storage whose name atleast partially matches with the name of the existing disk.
Post 4.1, Volume path has been changed to ROOT-<instanceId> from ROOT-<instanceId>-<volumeId>. Hence in case of an upgraded setup (pre 4.1 to 4.2) during search for an existing disk in storage even though ROOT-<instanceId>-<volumeId> has been deleted, CS does a postive match of the old existing disk because of the partial match with the new disk ROOT-<instanceId> that exists in storage. And so when VM is being powered on by vCenter it looks for ROOT-<instanceId>-<volumeId> and fails to power on.
Solution - While looking for a VM's matching disk in storage, instead of checking if a disk with a partial match exists check if a disk with the exact name exists.
2013-11-25 15:52:24 +05:30
Jijun
4517b9277b
rhel 6.x os mapping for vmware
2013-11-22 17:54:39 +01:00
Alex Huang
433a631916
Reformat of source code to set a stable base for the future. I couldn't get checkstyle enabled. There's still about a thousand errors from checkstyle. Most of it from length errors from comments and strings. Will attempt to remove those tonight. This change is so large I just want to get it in before any merge nightmares. The changes are fairly minor though and I did a full compile and start a server with the reformat code.
2013-11-21 07:56:47 -08:00
Alex Huang
170f32f171
Broke up some long strings
2013-11-21 07:25:01 -08:00
Hugo Trippaers
cf715ff491
Bump 4.3.0 to 4.4.0 in master
2013-11-21 16:01:15 +01:00
Alex Huang
d620df2bdd
Reformatted all of the code.
2013-11-21 06:15:26 -08:00
Alex Huang
224f479974
Removed trailing spaces
2013-11-21 04:08:01 -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
Kelven Yang
fc9adec72e
CLOUDSTACK-669: Add host level side-by-side VM state report for graceful sync model migration
2013-11-12 18:32:51 -08:00
Sateesh Chodapuneedi
a70bbdb139
CLOUDSTACK-4993 [VMware] When issuing detach ISO to Vcenter, MS should prevent Vcenter from posting Virtual Machine question dialog waiting for user response
...
During ISO detach operation, answer question from vCenter by programmatically answering for VM question in detaching process.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-11-11 09:11:54 +05:30
Likitha Shetty
d5632189dc
CLOUDSTACK-5096. Corrupt template is left behind after the copy of a template from secondary to primary fails.
...
If HttpNfcLease initialization fails throw appropriate error
Catch throwable in addition to exceptions during file upload task while importing the OVA into vCenter
2013-11-10 13:15:37 +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 3a9150017339fa9447e7e30b854ccd3351695dcc.
Conflicts:
plugins/hypervisors/vmware/src/com/cloud/storage/resource/VmwareSecondaryStorageContextFactory.java
2013-11-06 19:07:33 +05:30
Min Chen
94f9b31c9a
CLOUDSTACK-5046:Vmware- System's StartCommand failed with
...
"NumberFormatException".
2013-11-05 16:36:05 -08:00
Harikrishna Patnala
a286dec098
CLOUDSTACK-4908: CPU socket count of host Adding cpu socket count of the host in hostresponse
...
Signed-off-by: Koushik Das <koushik@apache.org>
2013-11-05 16:12:36 +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
Mike Tutkowski
449b5daa70
VMware changes related to managed storage
2013-10-31 08:30:50 -06:00
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 2799ee3d4fb86f6db856985879a41e5dfc63ccc6.
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
Kelven Yang
7d89cecfff
CLOUDSTACK-4863: Count CPU hyper-threading as logical CPU core for allocation
2013-10-14 17:33:05 -07:00
Darren Shepherd
2799ee3d4f
Revert change to ManagedContextTimerTask to unblock DB upgrade
2013-10-09 20:51:05 -07:00
Kelven Yang
16b022b1b1
CLOUDSTACK-4802: Change VM start flow to better support VM snapshot on certian version of vSphere, (vSphere 5.0 Update 2). If we detect that VM has pending VM snapshot, we will fully honor VM disk info from vCenter, since in some version of vSphere (vSphere 5.0 U2) does not allow disk-editting when VM has pending snapshot.
2013-10-04 16:13:56 -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
1598571dfc
CLOUDSTACK-4659: Fix the regression caused by worker VM consolidation for GC purpose
2013-09-17 14:07:14 -07:00
Kelven Yang
5820b071b8
CLOUDSTACK-4659: Add the missing feature back for GC VMware worker VMs
2013-09-17 14:06:52 -07:00
Daan Hoogland
25c8cee01a
CLOUDSTACK-4346 uses of parseInt and parseLong secured
2013-09-09 22:19:59 +02:00
Daan Hoogland
947f49d869
Revert "uses of parseInt and parseLong secured"
...
This reverts commit f8fb422612f110512fd06ad392bf8896efb3d0b6.
2013-09-09 22:17:10 +02:00
Daan Hoogland
f8fb422612
uses of parseInt and parseLong secured
2013-09-09 22:15:07 +02: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
281b94d587
CLOUDSTACK-4458: Volume attach/detach command needs to sent to hypervisor resource even when target VM is in Stopped state
2013-09-04 14:49:46 -07:00
Kelven Yang
ea13e089b8
CLOUDSTACK-4519: reimplementdestroy-volume to take consideration of on-disk snapshot
2013-09-04 14:49:46 -07:00
Kelven Yang
a4762b0904
CLOUDSTACK-4464,CLOUDSTACK-4529: use property collector to collect all information in one round, we have a few other places that need to do it the same way
2013-09-04 14:49:46 -07:00
Kelven Yang
e2cd2164d7
CLOUDSTACK-4529: use property collector to collect all information in one round
2013-09-04 14:49:46 -07:00
Kelven Yang
bae2666549
CLOUDSTACK-3237: add disk chain sync logic to handle out-of-band chain changes that could happen in storage live migration and VM snapshot operations
2013-09-04 14:49:46 -07:00
Kelven Yang
e3a5b3fad9
CLOUDSTACK-3237: acknowledge the behind-back VMDK disk consolidation happend in vCenter after storage live migration
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