Edison Su
b3ac12e171
delete snapshot_store_ref if the snapshot is in error state
2013-09-25 15:51:55 -07:00
Wei Zhou
3dc4284a34
add missing jna-4.0.0.jar to cloudstack-agent library by changing scope from provided to default runtime
2013-09-25 11:08:57 +02:00
Wei Zhou
258118efa6
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
Signed-off-by: Wei Zhou <w.zhou@leaseweb.com>
2013-09-24 09:55:00 +02:00
Edison Su
e325fb66ab
CLOUDSTACK-4405: fix vm migration during the upgrade to 4.2
...
Signed-off-by: Wei Zhou <w.zhou@leaseweb.com>
2013-09-24 09:53:55 +02:00
Hugo Trippaers
399d17df62
Fix redundant groupId in pom.xml
2013-09-21 17:44:18 +08:00
Hugo Trippaers
15a97ec412
Cleanup pom.xml in various projects to properly use managed versions and other defaults
2013-09-21 17:21:06 +08:00
Laszlo Hornyak
3650f12e9b
Do not instantiate long just to generate String
...
Replaced toString call to the static toString method
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2013-09-19 17:17:54 +02:00
Daan Hoogland
2614b00c51
sdn hosted vpc gateways (using lswitch)
2013-09-18 16:56:56 +02:00
Kelven Yang
f10601ef8c
forgot to commit a modified file
2013-09-17 14:46:57 -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
Marcus Sorensen
2b4e994a4d
CLOUDSTACK-3565 - fix for new libvirt behavior when defining NFS
...
pools that are already mounted in KVM hypervisor
2013-09-17 10:53:35 -06:00
Wido den Hollander
a709f34ff9
kvm: During migrate change the VNC listen address
...
The migrate method from libvirt supports passing down a different XML for running
the instance of the target hypervisor.
This enables the VNC to bind to the private IP Address of the hypervisor and during
migration this will be changed to the private IP address of the target host.
This way VNC doesn't listen world wide and is much safer.
2013-09-16 11:57:16 +02:00
Anthony Xu
1f42153630
Revert "CLOUDSTACK-4649"
...
This reverts commit c82ef422b47fe2909ff79b7f91d2ba76bf007457.
2013-09-12 13:00:42 -07:00
Anthony Xu
1510139f15
CLOUDSTACK-4649
...
use the same virtual hardware platform in XS 6.2 as that in XS 6.0.2
2013-09-12 13:00:42 -07:00
Devdeep Singh
63f8b3f69b
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:34:55 +05:30
Anthony Xu
4adf13192f
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:52:09 -07:00
Min Chen
b11a8e12e8
CLOUDSTACK-4625:Snapshots and templates should be deleted from staging
...
storage after create template from snapshot on S3.
2013-09-06 17:48:40 -07:00
Alex Huang
8e5249df62
Moved NetworkManager to NetworkOrchestrationService
2013-09-06 15:40:31 -07:00
Wei Zhou
5c141a46fc
CLOUDSTACK-4610: fix incorrect value available_bytes of storage pool
2013-09-05 11:16:12 +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
e81e75c6b0
CLOUDSTACK-4362: always honor vCenter on-disk meta data to work with live migration better
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
d6bac1465a
CLOUDSTACK-4518: make folder sync resilience with possible runtime situation
2013-09-04 14:49:46 -07:00
Kelven Yang
e929b4ceb2
CLOUDSTACK-4522: check before we do dynamic casting
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
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
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
c6dfb33d9f
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-09-04 14:49:45 -07:00
Kelven Yang
dbe4e13e8e
CLOUDSTACK-3778: serialize configuration of port group at per-host level to prevent run-time race condition
2013-09-04 14:49:45 -07:00
Kelven Yang
75bb38394b
CLOUDSTACK-3869: fix merge conflicts
2013-09-04 14:49:45 -07:00
Kelven Yang
362ef67013
CLOUDSTACK-3869: make new folder structure to work with Create/Delete/Attach/Detach commands
2013-09-04 14:49:45 -07:00
Kelven Yang
9a2148ffc3
CLOUDSTACK-3886: check in for review request https://reviews.apache.org/r/13008/
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
Kelven Yang
249e2e8f59
Correct DAO usage in VmwareDatacenterVO, relax assertion conditions to work with stack calling frame that is not wrapped with @DB injection
2013-09-04 14:49:44 -07:00
Wei Zhou
f555e26c87
CLOUDSTACK-1192: fix silly mistake
2013-09-03 08:52:35 +02:00
Wei Zhou
87d73e227f
CLOUDSTACK-1192: GetVmDiskStatsCommand return null as disk I/O statistics does not support xen/vmware
...
(cherry picked from commit 3121133c03c4db30c9bc0a3a5546e19678b2ee76)
2013-09-02 16:04:59 +02:00
Daan Hoogland
d9c06e538b
CLOUDSTACK-4346 replace URI getHost() and create(String) calls with BroadcastDomainType methods
2013-09-01 22:53:23 +02:00
frank
2a0e371881
[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:32:13 -07:00
frank
e217c0f1c3
CloudStack CLOUDSTACK-4426
...
[VMware] [upgrade] system VM not coming up after upgrade from 3.0.4 to 4.2
2013-08-28 15:40:33 -07:00
frank
993a1f937f
CloudStack CLOUDSTACK-4426
...
[VMware] [upgrade] system VM not coming up after upgrade from 3.0.4 to 4.2
2013-08-28 15:40:28 -07:00
Mike Tutkowski
de531c0c0a
Trim IQN so that the format /iqn/lun becomes iqn.
2013-08-28 15:08:45 -06:00
Wido den Hollander
c3a275fc75
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:34:39 +02:00
Mike Tutkowski
bd2d875073
Make Mutual CHAP optional for VMware.
2013-08-26 16:08:37 -06:00
Min Chen
49dd7289c0
CLOUDSTACK-4468:template created from snapshot is destroyed once we
...
restart management server.
2013-08-26 11:58:53 -07:00
Toshiaki Hatano
914e7c4542
Revert "CLOUDSTACK-2328: Linux native VXLAN support on KVM hypervisor"
...
This reverts commit 34ae32e0c24777f9ac9cf265447688a3e21680c7.
2013-08-24 07:12:23 +00:00