Commit Graph

332 Commits

Author SHA1 Message Date
frank 6756df0c29 CloudStack CLOUDSTACK-4426
[VMware] [upgrade] system VM not coming up after upgrade from 3.0.4 to 4.2
(cherry picked from commit f21c8fa998)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 17:05:20 -07:00
frank 225fce17f1 CloudStack CLOUDSTACK-4426
[VMware] [upgrade] system VM not coming up after upgrade from 3.0.4 to 4.2
(cherry picked from commit c5139d6bc9)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 17:04:50 -07:00
Kelven Yang e9cb0d6f4c CLOUDSTACK-4585: make run-time datastore folder migration, VM snapshot, bug in root disk controller type carried from previous version work under upgrade situation
(cherry picked from commit 8ccff04722)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 16:32:03 -07:00
Kelven Yang 92f2360f61 CLOUDSTACK-4362: always honor vCenter on-disk meta data to work with live migration better
(cherry picked from commit e362f51f37)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 16:25:02 -07:00
Kelven Yang 679aae78f3 Fix the build cause by typo in a un-test check-in!
(cherry picked from commit 2848af8126)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 16:16:56 -07:00
Wei Zhou e3eefdf5a8 CLOUDSTACK-1192: GetVmDiskStatsCommand return null as disk I/O statistics does not support xen/vmware
(cherry picked from commit 3121133c03)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 16:12:46 -07:00
frank dced9723ff [Upgrade from 3.0.6 to 4.2][vmware] After upgrade the system vms fail to come up because "Secondary storage mount point" is pointing to a wrong location
when secondary storage is mounted as read-only, changing permission of files on it will fail. But we should still stick to current mount point instread of
returning a wrong mount point /mnt/sec
(cherry picked from commit db2d9703c1)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 16:12:03 -07:00
Sateesh Chodapuneedi f09afea067 CLOUDSTACK-4435 [VMWARE]System VM's are failed to start with Nexus enabled Zone
Since introducing pool of session contexts we no more have a dedicated context for each VMware hypervisor host.
Hence vsm credentials stored in session context cannot be retrieved always correctly. Fix is to register the vsm credentials after fetching context and the context gets recycled after use.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
(cherry picked from commit eaea8f8c5f)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 16:02:42 -07:00
Kelven Yang 34ee6f90bb CLOUDSTACK-4458: Volume attach/detach command needs to sent to hypervisor resource even when target VM is in Stopped state
(cherry picked from commit 995e193be2)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 15:59:25 -07:00
Kelven Yang 2b12088eab CLOUDSTACK-4519: reimplementdestroy-volume to take consideration of on-disk snapshot
(cherry picked from commit a316ffa27f)

Signed-off-by: animesh <animesh@apache.org>
2013-09-03 15:59:04 -07:00
Mike Tutkowski 3c58f9bb97 Trim IQN so that the format /iqn/lun becomes iqn.(cherry picked from commit cb9fc8bece)
Signed-off-by: animesh <animesh@apache.org>
2013-09-03 15:50:52 -07:00
Kelven Yang 85507c2366 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
(cherry picked from commit 4c6ec5f3c6)

Signed-off-by: animesh <animesh@apache.org>
2013-08-27 21:56:46 -07:00
Kelven Yang f2c8469c59 CLOUDSTACK-4518: make folder sync resilience with possible runtime situation
(cherry picked from commit 8326dfb76f)

Signed-off-by: animesh <animesh@apache.org>
2013-08-27 16:57:24 -07:00
Kelven Yang 4b4315ff71 CLOUDSTACK-4522: check before we do dynamic casting
(cherry picked from commit 8099a6e200)

Signed-off-by: animesh <animesh@apache.org>
2013-08-27 12:56:25 -07:00
Bharat Kumar fa6da31e15 CLOUDSTACK-4498 we should not reserve memory and cpu for vmware VMs if the vmware.reserve.cpu and vmware.reserve.mem are set to false.
Conflicts:
	plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java

Signed-off-by: Jayapal <jayapal@apache.org>
(cherry picked from commit f701831713)

Signed-off-by: animesh <animesh@apache.org>
2013-08-27 12:55:14 -07:00
Kelven Yang 21f631f13d 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-08-27 12:53:20 -07:00
Edison Su a23322bf20 Merge branch '4.2-forward' into 4.2 2013-08-26 16:18:12 -07:00
Mike Tutkowski 13a415fe8a Not everyone wants to use Mutual CHAP with VMware - make it optional. 2013-08-26 15:33:39 -06:00
Min Chen f0000814bd CLOUDSTACK-4468:template created from snapshot is destroyed once we
restart management server.
2013-08-26 11:54:05 -07:00
Kelven Yang 834fdc8859 CLOUDSTACK-3237: acknowledge the behind-back VMDK disk consolidation happend in vCenter after storage live migration 2013-08-23 17:38:34 -07:00
Min Chen c6928f2f53 CLOUDSTACK-4480: Handle DestroyCommand in VmwareResource to evict
unused template from primary storage pool.
2013-08-23 14:36:11 -07:00
Animesh Chaturvedi 06f28722b6 Updating pom.xml version numbers for release 4.2.0
Signed-off-by: Animesh Chaturvedi <animesh@Animesh-LinuxDev.citrite.net>
2013-08-22 17:15:42 -07:00
Min Chen 71bd669cb0 CLOUDSTACK-4433:[VMware]Registration of template using the downloaded
template URL is failing.
(cherry picked from commit 885a161b62)

Signed-off-by: animesh <animesh@apache.org>
2013-08-22 00:15:57 -07:00
Min Chen 885a161b62 CLOUDSTACK-4433:[VMware]Registration of template using the downloaded
template URL is failing.
2013-08-21 17:34:03 -07:00
Sateesh Chodapuneedi 9d49fe8c0f CLOUDSTACK-4414
Fixing detection of failure in cluster discovery before cleanup vsm device.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-21 07:58:13 +05:30
Nitin Mehta 836ee4b139 CLOUDSTACK-4386
KVM - Create template from volume
Vmware - Create template from volume / Create template from snapshot
send the physical size in the copycommand which accordingly will populate template store ref and the usage_event tables with the right physical size
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-08-19 17:16:38 +05:30
Mice Xia 8b6eeedaae fix CLOUDSTACK-3234 modify the logics of retrieving Vmsnapshot volume path 2013-08-19 15:29:09 +08:00
Kelven Yang b73c449914 CLOUDSTACK-4390, CLOUDSTACK-4358: Enable full-clone deployment by default for VMware. Apply keep-alive kick for all outstanding vCenter sessions 2013-08-18 23:13:00 -07:00
Sateesh Chodapuneedi dd5ea8f2aa CLOUDSTACK-4385 : [ZWPS]Across the cluster live migration of VM on zone wide primary storage pool fails
If all the VM's volumes are on zone wide primary storage pool then live migration of the VM would not involve storage migration. Hence MigrateVM API would be called against MigrateVMWithVolume. So far PrepareForMigrationCommand handled scenarios of VM moving across hosts within a cluster, but with zone wide primary storage in picture this command need to handle scenarios of VM moving across clusters. Try to find the VM in datacenter if not found within cluster.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-19 05:52:13 +05:30
Likitha Shetty 2e0ad8e573 CLOUDSTACK-4352. In VMWare, to resize an offline volume we create a worker vm. When a volume is being shrinked or when it is resized to the same size delete the vm before returning. 2013-08-16 14:36:32 +05:30
Kelven Yang 950672ef8c CLOUDSTACK-4288: Fix the way that VmwareClient is using vSphere 5.1 SDK which caused huge memory footprint 2013-08-14 15:00:07 -07:00
Edison Su 6abc3da828 CLOUDSTACK-4318: clean up snapshot stored in staging area, after backup snapshot to object store 2013-08-14 14:58:01 -07:00
Sateesh Chodapuneedi 507f742213 CLOUDSTACK-4326 Adding VMware DC to legacy zone should not be allowed by API
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-14 12:51:01 +05:30
Vijayendra Bhamidipati c850f0a0e3 CLOUDSTACK-4139: [VMWARE][ZWPS] Failed to resize the volumes which are created from snapshot
Description:

    Support offline volume resize on ESX by creating a worker VM
    to attach the unattached volume to and then resize it.
2013-08-13 12:46:35 -07:00
Mike Tutkowski b04a2b561b CLOUDSTACK-4264 2013-08-12 21:57:55 -06:00
Kelven Yang edaa1c8927 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-08-12 16:24:57 -07:00
Sateesh Chodapuneedi 2c9f073249 CLOUDSTACK-3905 [VMWARE]Can not add Standard/DVSwitch when Nexus global config is set to true
Make VSM specific input paramters optional while adding VMware cluster where no traffic chosen to use Nexus 1000v dvSwitch when cloud level vSwitch is Nexus 1000v.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-12 22:41:38 +05:30
Edison Su 73c57bf0b2 CLOUDSTACK-4253: add more logs for vmware storage related operations 2013-08-12 11:29:29 -07:00
Edison Su 8e5406f5ba CLOUDSTACK-4253: change the log message if copy template from secondary storage to primary storage failed 2013-08-12 11:01:56 -07:00
Sateesh Chodapuneedi 32fd0c94a2 CLOUDSTACK-4246 VM deployment fails with global configuration parameter "vmware.nested.virtualization" enabled.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-12 09:51:41 +05:30
Sateesh Chodapuneedi e4f9c2ac44 CLOUDSTACK-4155 [VMWARE] Failed to deploy VM with NPE when vmware.nested.virtualization is enabled to true
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-12 07:45:15 +05:30
Kelven Yang 17715d7e77 CLOUDSTACK-3237: pass disk file name instead of full datastore path when setting up storage relocation specin order to safely locate the disk device 2013-08-09 17:28:35 -07:00
Kelven Yang 4e7b1de45a CLOUDSTACK-3778: serialize configuration of port group at per-host level to prevent run-time race condition 2013-08-08 17:41:45 -07:00
Min Chen 605376dc4d CLOUDSTACK-4190:[Object_store_refactor] volume should be deleted from
staging storage after successfule volume migration .
2013-08-08 16:08:50 -07:00
Edison Su 784a9d45d0 CLOUDSTACK-4106: fix volume related operations on vmware&s3 2013-08-08 12:34:54 -07:00
Sateesh Chodapuneedi caa9d27822 CLOUDSTACK-2558 Nexus configuration cleanup is not done when there is a failure while adding the Nexus enabled VMWARE cluster which is causing for NPE while readding the cluster with same configuration details
If cluster addition fails then cleaning up the Nexus VSM related to the cluster.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-08 13:46:59 +05:30
Edison Su f6b66b94f0 CLOUDSTACK-4108: fix create template from snapshot for vmware& s3 2013-08-07 19:11:28 -07:00
Edison Su 26a5b76ee6 CLOUDSTACK-4109: fix upload volume to s3 for vmware 2013-08-07 18:25:59 -07:00
Kelven Yang ec5f2c1512 CLOUDSTACK-3869: fix merge conflicts 2013-08-07 17:44:40 -07:00
Kelven Yang 1d939930de CLOUDSTACK-3869: make new folder structure to work with Create/Delete/Attach/Detach commands 2013-08-07 17:44:40 -07:00