Commit Graph

364 Commits

Author SHA1 Message Date
Anthony Xu 9a27690093 CLOUDSTACK-4649:
xs 6.1/6.2 introduce the new virtual platform, so there are two virtual platforms, windows PV driver version must match virtual platforms,
this patch tracks PV driver versions in vm details and template details.

Anthony
2013-10-21 16:10:07 -07:00
Sheng Yang 3c8be550f0 CLOUDSTACK-2792: Call savepassword.sh inside VR for Xen
Also only set password when password service is running, thus avoid setting for
redundant router BACKUP router.
2013-10-17 18:46:08 -07:00
Kelven Yang 2976d9c793 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:03:01 -07:00
animesh 21043bfe84 Updating pom.xml version numbers for release 4.2.1-SNAPSHOT
Signed-off-by: animesh <animesh@apache.org>
2013-10-03 17:13:17 -07:00
animesh 86c93637f5 Merging 4.2-forward into 4.2 2013-10-02 23:05:34 -07:00
Kelven Yang 4533d2d88f CLOUDSTACK-4790: Skip reserved VMware scsi device number for SCSI disks 2013-10-02 17:52:39 -07:00
Kelven Yang 94c8e28f8d CLOUDSTACK-4734: Validate and Fail-over to another VmwareContext object when it is from the pool 2013-09-27 15:24:16 -07:00
Kelven Yang 8222eae21f Disable VMwareTools detection to avoid unreliable result caused by race-condition when VMwareTools is not ready in guest OS yet and the API is called. This is the corrected commit
(cherry picked from commit 16a2442c41)

Signed-off-by: animesh <animesh@apache.org>
2013-09-20 11:08:04 -07:00
Kelven Yang 92db2d1a44 CLOUDSTACK-4659: Vmware allows destroying VM that has pending tasks, worker VM GC actually relies on the assumption that Vmware is protected from that which is a false assumption. Recycle Worker VM only it is from previous session 2013-09-20 10:59:30 -07:00
Kelven Yang 16a2442c41 Disable VMwareTools detection to avoid unreliable result caused by race-condition when VMwareTools is not ready in guest OS yet and the API is called. This is the corrected commit 2013-09-19 23:18:26 -07:00
Kelven Yang ebc95375e2 Revert "Disable VMwareTools detection to avoid unreliable result caused by race-condition when VMwareTools is not ready in guest OS yet and the API is called"
This reverts commit 8e0faaa406.
2013-09-19 23:05:17 -07:00
Kelven Yang 8e0faaa406 Disable VMwareTools detection to avoid unreliable result caused by race-condition when VMwareTools is not ready in guest OS yet and the API is called 2013-09-19 22:19:22 -07:00
Kelven Yang 5e52a86a2a CLOUDSTACK-4659: Fix the regression caused by worker VM consolidation for GC purpose 2013-09-15 11:39:32 -07:00
Min Chen 4ab2a741f6 Fix unit test failure of VmwareDatacenterApiUnitTest. 2013-09-14 18:26:28 -07:00
Kelven Yang 670fc7e6ec CLOUDSTACK-4659: Add the missing feature back for GC VMware worker VMs 2013-09-13 16:26:55 -07:00
Min Chen 80aa0d3608 CLOUDSTACK-4625:Snapshots and templates should be deleted from staging
storage after create template from snapshot on S3.
2013-09-06 17:27:30 -07:00
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 8ccff04722 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-01 07:14:47 -07:00
Kelven Yang e362f51f37 CLOUDSTACK-4362: always honor vCenter on-disk meta data to work with live migration better 2013-08-30 11:11:20 -07:00
Kelven Yang 2848af8126 Fix the build cause by typo in a un-test check-in! 2013-08-29 16:18:36 -07:00
Wei Zhou 3121133c03 CLOUDSTACK-1192: GetVmDiskStatsCommand return null as disk I/O statistics does not support xen/vmware 2013-08-29 23:14:42 +02:00
frank db2d9703c1 [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
2013-08-29 10:29:17 -07:00
Sateesh Chodapuneedi eaea8f8c5f 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>
2013-08-29 14:52:20 +05:30
Kelven Yang 995e193be2 CLOUDSTACK-4458: Volume attach/detach command needs to sent to hypervisor resource even when target VM is in Stopped state 2013-08-28 18:38:12 -07:00
Kelven Yang a316ffa27f CLOUDSTACK-4519: reimplementdestroy-volume to take consideration of on-disk snapshot 2013-08-28 18:38:12 -07:00
frank f21c8fa998 CloudStack CLOUDSTACK-4426
[VMware] [upgrade] system VM not coming up after upgrade from 3.0.4 to 4.2
2013-08-28 14:15:19 -07:00
Mike Tutkowski cb9fc8bece Trim IQN so that the format /iqn/lun becomes iqn. 2013-08-28 15:00:03 -06:00
frank c5139d6bc9 CloudStack CLOUDSTACK-4426
[VMware] [upgrade] system VM not coming up after upgrade from 3.0.4 to 4.2
2013-08-28 11:09:46 -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 4c6ec5f3c6 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-08-27 17:37:53 -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 8326dfb76f CLOUDSTACK-4518: make folder sync resilience with possible runtime situation 2013-08-27 16:28:16 -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
Kelven Yang 8099a6e200 CLOUDSTACK-4522: check before we do dynamic casting 2013-08-27 11:38:31 -07:00
Bharat Kumar f701831713 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>
2013-08-27 19:42:07 +05:30
Kelven Yang 046a8a889a 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-26 18:11:22 -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