Commit Graph

20355 Commits

Author SHA1 Message Date
Jessica 2796f01eae CLOUDSTACK-867. DOC. Incorporate reviewer comments on dynamic CPU and RAM scaling for running VMs. 2013-08-20 02:21:12 -07:00
Jessica 683228cdc7 CLOUDSTACK-1559. DOC. Mention new Windows 8 and Windows Server guest VM support in 4.2 Release Notes. 2013-08-20 00:38:16 -07:00
Sateesh Chodapuneedi 893d524d57 CLOUDSTACK-4375 VM Migration is failing from one cluster to another cluster.
Updating the fix to cover one more scenario when user directly calls API migrateVirtualMachineWithVolume.
If currentPool is accessible to destination host, skip calling allocators and move on to next volume to process.
This means if user calls migrateVirtualMachineWithVolume API where all volumes of VM are accessible on specified target host,
then API fails as there is no storage migration involved. Instead user should call migrateVirtualMachine API.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-20 04:25:46 +05:30
Edison Su bdfddc3e3d CLOUDSTACK-4398: get physical size of template if the template is stored in S3 2013-08-19 17:51:23 -07:00
Min Chen ae7ec647d5 CLOUDSTACK-4395:[Object_store_refactor] Default template is not
available for use to deploy vm in case of multi zone environment.
2013-08-19 17:32:44 -07:00
Edison Su e7ac5d376f CLOUDSTACK-4324: delete snapshot_store_ref, if create snapshot failed on primary storage 2013-08-19 15:23:19 -07:00
rayeesn 12f36b8dbb CLOUDSTACK-4370 - Upgrade failing due to depenency with cloudstack-agent, changed remove dependency from cloud-agent to cloud-common 2013-08-19 15:12:41 -07:00
Min Chen 6f7fdac3ee CLOUDSTACK-4400:[object_store_refactor] Three entries for one template
in template_store_ref when MS was restarting during template download.
2013-08-19 15:00:50 -07:00
Sateesh Chodapuneedi bdb8107c61 CLOUDSTACK-4375 VM Migration is failing from one cluster to another cluster.
listHostsForMigrationOfVM is being called when user attempts to move a VM to other host. This is trying to find list of suitable storage pools that are attached to each of the suitable hosts for the VM.
Currently the selection of target storage pools for each volume of the VM is left to storage pool allocators.
But user might want to leave his volume unmoved/intact If it is on a zone wide storage pool.
This would be more efficient while migrating VM as storage live migration is not required and VM continues to use volumes on same storage pool as before.
Hence idea is to set same storage pool as target pool for each of the volume if the volume is already on zone wide storage pool.
A comparison of source pool of volume against target pool of volume yields the information if storage migration is required for the VM to move to target host or not.
Based on that information apropriate API migrateVM or migrateVmWithVolume could be decided.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-19 21:03:46 +05:30
Jessica Wang dabc071a16 CLOUDSTACK-3464: UI > VPC > Router > Public IP Addresses > detailView - fix associated network name. 2013-08-19 11:36:57 -07:00
Chip Childers f7eeb194c4 Removing apache RAT plugin version spec, so that we can use version 0.10 2013-08-19 14:33:33 -04:00
Sheng Yang 690bd57ed0 Automation: Disable TestVMLifeCycleSharedNwVPC test suite
Rather than TestVMLifeCycleVPC.

Shared network's setup is wrong.
2013-08-19 11:24:11 -07:00
Min Chen 956b170126 CLOUDSTACK-4399:[Templates] template entries are deleted from
template_store_ref when downloadTemplate times out.
2013-08-19 11:21:43 -07:00
Anthony Xu e2710f8bc5 CLOUDSTACK-4176
hot unplug NIC in VR when there is no ips on this NIC
Author:  Jayapal Reddy Uradi <jayapalreddy.uradi@citrix.com>

Reviewed-by: Anthony
2013-08-19 11:09:46 -07:00
Edison Su a2951b57b1 fix unit test 2013-08-19 10:29:21 -07:00
Alena Prokharchyk 7202683476 CLOUDSTACK-4403: vmInstanceDao - initialize the SearchBuilder in init() method instead of the search dao method which wasn't thread safe, and could cause NPEs during search builder initializing. 2013-08-19 10:18:16 -07:00
Sateesh Chodapuneedi f8899f2d12 CLOUDSTACK-4294 After upgrade of CloudStack to 4.2, support old vswitch type in existing clusters if user changes the vswitch backend to another type of vSwitch
While upgrading to 4.2, the type of vswitch being used by each cluster is persisted to cluster_details table. This helps if user want to change the type of vswitch used in a zone or entire cloud later on but leave existing cluster continue to use old vswitches. Hence even after modifying the type of vswitch at cloud level (by modifying global configuration parameters) or modifying the type vswitch at zone level (by modifying the traffic label) would not disturb operation of existing clusters.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-19 15:53:57 +05:30
Rajesh Battala 6c593b0b16 fix for kvm test failure 2013-08-19 17:46:09 +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
Nitin Mehta a22d92f1bb CLOUDSTACK-4386
XS Creating templates from volume - 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 16:03:03 +05:30
Prasanna Santhanam da0bb63005 CLOUDSTACK-4340: Add more debug logging
VM (id) moves from host (id) to host (id)

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-19 15:42:12 +05:30
Prasanna Santhanam 8576b1ddc9 CLOUDSTACK-4396: Invalid case comparison leaves egress rule unprogrammed
Thereby failing the wget for the cloud-setup-guest-password script which
in turn fails the test.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-19 15:17:30 +05:30
Prasanna Santhanam 7768613edc CLOUDSTACK-4225: Fix template references in setUpClass
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-19 14:59:34 +05:30
Prasanna Santhanam 52f6317f79 CLOUDSTACK-4394: remove cleanups for offerings
offerings do not need to be cleaned up

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-19 14:40:34 +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 e280d24d18 Merge branch '4.2' of https://git-wip-us.apache.org/repos/asf/cloudstack into 4.2 2013-08-19 05:54:01 +05:30
Bharat Kumar 8babd390d6 CLOUDSTACK-4132 current dnsmasq config does not allow guest virtual machines(clients) to update its hostnames with a DNS server
Introducing the option dhcp-client-update fails if the dnsmasq version is less than 2.6 (like in older templates).
Added a check for the version in cloud-early-config. will add dhcp-client-update option in the config file only
if the dnsmasq version is 2.6 and above.

Signed-off-by: Jayapal <jayapal@apache.org>
2013-08-19 11:13:17 +05:30
radhikap 76d3cae248 CLOUDSTACK-1316 location of cloud-set-guest-password updated 2013-08-19 11:00:13 +05:30
Prasanna Santhanam 3d39716c8f CLOUDSTACK-4384: Switch back to CLOUD_DB after simulator processing
Simulator should revert back to CLOUD_DB after its operations on
SIMULATOR_DB or the cloudstack connections go to the simulator instead
of cloud.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-19 10:39:54 +05:30
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
Edison Su 3c40e8bb3f CLOUDSTACK-4338: fix NPE if create volume failed 2013-08-18 16:26:08 -07:00
Kelven Yang e6d7cdf70f CLOUDSTACK-4357: don't cache ServiceContent and rootFolder in memory, the cache semantics break session keep-alive mechanism 2013-08-17 23:06:42 -07:00
Edison Su e3a6657c93 CLOUDSTACK-4363: fix possible NPE, if copy volume failed. 2013-08-17 17:33:17 -07:00
Jessica bc584062fe CLOUDSTACK-1682. DOC. Fix parameter name in overview doc for reset volume on VM reboot. Add cross-reference to the detailed how-to section. 2013-08-17 14:57:34 -07:00
Edison Su 4277bcf8f4 CLOUDSTACK-3229: if delete snapshots on staging area failed, still treat backup snapshot as succeed. And modify snapshot delete logic on devcloud 2013-08-17 13:20:58 -07:00
Edison Su b359152679 CLOUDSTACK-4325: add more test cases for zone wide storage pool allocator 2013-08-17 12:37:49 -07:00
Rajesh Battala a03c5f5b1b CLOUDSTACK-4237 [Autoscale] Account deletion doesn't delete all autoscaled LB rules created by the account 2013-08-17 14:26:58 +05:30
Edison Su ca678a8742 CLOUDSTACK-4300: possible fix: cputune feature is only available after 0.9.0, so start vm can fail on rhel 6.1 2013-08-17 00:19:03 -07:00
Marcus Sorensen ca7f22062b CLOUDSTACK-4379: Reset VM states when host is removed from cluster
If you shut down the agent while VMs are running, the management
server assumes that the VMs are continuing to run. You can then
delete the host while it is in 'disconnected' state, and those VMs
will be unusable, forever in running state. They can't change state
because the host no longer exists. This patch checks for any VMs
that may have been tied to the removed host and resets their state
so that cloudstack can continue to manage them.
2013-08-17 00:24:33 -06:00
Mike Tutkowski ef4becfadc CLOUDSTACK-3291: Document changes in CloudStack primary storage and document SolidFire plug-in 2013-08-16 22:43:38 -06:00
Abhinandan Prateek af71fb2ab3 Revert "CLOUDSTACK-4132 Added the dnsmasq setting update-dhcp-clent to enable clients to update DNS records"
This reverts commit 76990612f5.
2013-08-17 08:34:18 +05:30
Jessica Wang 64ab85069d CLOUDSTACK-3950: UI > template/ISO page > hide CopyTemplate/CopyISO action when it's region-wide (i.e. zoneid is null) 2013-08-16 19:50:16 -07:00
Prachi Damle c0d2e3253b CLOUDSTACK-4369 [UPGRADE]Upgrade failed from 307 to 4.2
Changes:
- Do not consider removed zones
- Create affinity group per domain
2013-08-16 13:30:49 -07:00
Min Chen 016faeaf28 CLOUDSTACK-3274: guard a null string case in case of string match. 2013-08-16 10:51:25 -07:00
Min Chen 71b36e8ff7 CLOUDSTACK-3274: Remove duplicate cleanString calls in logging api for
performance improvement.
2013-08-16 10:46:36 -07:00
Jessica Wang 4f8fe9c062 CLOUDSTACK-4355: UI > Infrastructure > clusters > add cluster dialog > show Public Traffic vSwitch Type/Name when Override Public Traffic is checked; show Guest Traffic vSwitch Type/Name when Override Guest Traffic is checked. 2013-08-16 10:43:17 -07:00
Anthony Xu 524e73c63e allow overlapped subnet in shared network 2013-08-16 10:02:45 -07:00
Sateesh Chodapuneedi a21ec81db9 Fix build issue. 2013-08-16 15:58:14 +05:30
Sateesh Chodapuneedi e8d00451b9 CLOUDSTACK-4265 [VMWARE] clustered Management server Unable to perform VM live migration among vmware clusters
This is due to a VM on zone wide primary storage not requiring storage migration while migrating across clster.
Detecting the storage pool type before allowing normal migration (without storage live migration) of VM across cluster.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-16 13:59:28 +05:30