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
Wei Zhou
175549f3ab
CLOUDSTACK-4405: additional patch for bridge name and firewall rules issues after KVM upgrade to 4.2
...
There still exist two issues after Edison's commits.
(1) Migration from new hosts to old hosts failed.
The bridge name on old host is set to cloudVirBr* if network.bridge.name.schema is set to 3.0 in /etc/cloudstack/agent/agent.properties, but the actual bridge name is breth*-* after running cloudstack-agent-upgrade.
(2) all ports of vms (Basic zone, or Advanced zone with security groups) on old hosts are open, because the iptables rules are binding to device (bridge) name which is changed by cloudstack-agent-upgrade.
After this, the KVM upgrade steps :
a. Install 4.2 cloudstack agent on each kvm host
b. Run "cloudstack-agent-upgrade". This script will upgrade all the existing bridge name to new bridge name, and update related firewall rules.
c. install a libvirt hook:
c1. mkdir /etc/libvirt/hooks
c2. cp /usr/share/cloudstack-agent/lib/libvirtqemuhook /etc/libvirt/hooks/qemu
c3. chmod +x /etc/libvirt/hooks/qemu
c4. service libvirtd restart
c5. service cloudstack-agent restart
2013-09-24 08:51:58 +02: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
Marcus Sorensen
39f7ddbb8f
CLOUDSTACK-3565 - fix for new libvirt behavior when defining NFS
...
pools that are already mounted in KVM hypervisor
2013-09-17 10:52:04 -06:00
frank
584bb9bc0c
CLOUDSTACK-4689
...
UI:API: associate Profile to Blade may take longer in some cases, which will result in timeout
2013-09-16 16:11:03 -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
frank
fe5468881a
Add disassocating profile to UCS
2013-09-14 09:17:30 -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
frank
d58044ccba
Add Baremetal agent package back to RPM spec file
2013-09-12 14:14:23 -07:00
Devdeep Singh
9d7f894d10
CLOUDSTACK-4617. Add host succeeds but host goes to alert state and comes back to UP state
...
after a short while. Fixed the link local network creation part.
2013-09-12 16:21:13 +05:30
Edison Su
c08254bc70
CLOUDSTACK-4641: fix create volume from snapshot timeout issue
2013-09-11 18:08:06 -07:00
Anthony Xu
5950d37e9f
CLOUDSTACK-4649
...
use the same virtual hardware platform in XS 6.2 as that in XS 6.0.2
2013-09-11 17:16:25 -07:00
Anthony Xu
47c06e8252
CLOUDSTACK-4643
...
put host maintenance mode will not change XS master,
when you delete a host, and this host is master, master will be designated by CS
2013-09-11 15:46:41 -07:00
Wei Zhou
13a0619732
CLOUDSTACK-4610: fix incorrect value available_bytes of storage pool
...
(cherry picked from commit 5c141a46fc )
2013-09-10 11:42:34 +02:00
Edison Su
f2c5b5fbfe
CLOUDSTACK-4618: fix CLVM
2013-09-06 17:55:29 -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
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
Edison Su
ffc53e81e0
kvm upgrade issue from 2.2.14: 1. the uuid passed by mgt server is malformat, libvirt can't start vm. 2. the template path on primary storage is incorrect, which contains absolute path
2013-08-30 18:06:27 -07:00
Chiradeep Vittal
a98eb12549
CLOUDSTACK-4575: Portable IP: disassociating a transferred public IP fails
...
The code is excessively complicated and convoluted.
DisassociateIP ->
Revoke Rule -> {FW, PF{incl SNAT}, LB, RA VPN} ->
-> Send IpAssoc (false) to VR
Send all config to VR again
-> Send IpAssoc(false) to VR again <---- fails here since it cannot find the VLAN for the IP since it is already gone
-> Mark Ip as released
The workaround fix would be to not throw an exception in CitrixResourceBase if it is disassociate and the VLAN does not exist on the XS host.
Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
2013-08-30 14:30:04 -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
Edison Su
3cca6502a1
CLOUDSTACK-4405: fix vm migration during the upgrade to 4.2
2013-08-29 16:45:26 -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
Edison Su
93bfe708d9
CLOUDSTACK-4459: fix silly bug, one more time
2013-08-29 14:24:53 -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
Edison Su
6b4aed2aca
CLOUDSTACK-3535: fix regression introduced in 5d9fa5d42e
2013-08-27 18:08:33 -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
8326dfb76f
CLOUDSTACK-4518: make folder sync resilience with possible runtime situation
2013-08-27 16:28:16 -07:00
Edison Su
cfe3a0fee3
CLOUDSTACK-4459: one more try, bypass libvirt to find volume if libvirt call failed
2013-08-27 14:16:23 -07:00
Kelven Yang
8099a6e200
CLOUDSTACK-4522: check before we do dynamic casting
2013-08-27 11:38:31 -07:00
Wido den Hollander
93b40b0ca6
CLOUDSTACK-4423: Do not always append .qcow2 to volume names when copying
...
Disk images are not always in the QCOW2 format, so don't assume that the
filename will always and in .qcow2
2013-08-27 18:35:23 +02: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
816772a001
CLOUDSTACK-4459:
...
Libvirt reports:
org.libvirt.LibvirtException: Storage volume not found: no storage vol
with matching name
in some cases, if the volume is created on one kvm host, while accessed
from other host.
It's possible due to concurrent access(read/write) storage.
The current fix is to try serveral times, and wait for 30 seconds for
each retry.
If the issue still there, then need to sync the storage pool access
2013-08-26 18:11:25 -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
Edison Su
38d8a84ebc
CLOUDSTACK-4436: in case of older kvm host, we'd better try serveral times to make sure we passed cmdline parameters to system vms
2013-08-26 14:00:24 -07: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
Edison Su
3c69710778
CLOUDSTACK-4459: need to sychronize create storage pool, otherwise, we can create the same pool with the same uuid in parallel
2013-08-26 11:15:30 -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