Commit Graph

20239 Commits

Author SHA1 Message Date
Jessica aeb962ad13 CLOUDSTACK-4429. DOC. Fix broken link in header of API Reference TOC page. The link pointed to the Developer's Guide on the old doc site. Changed to point to the new doc site. Does not point to a specific doc version, so this text can be re-used without change for future software releases. 2013-08-21 16:14:18 -07:00
Alena Prokharchyk 3b37009ad1 CLOUDSTACK-4392: API volumeresponse - return primary storage information to ROOT and resource domain admin only. 2013-08-21 15:41:53 -07:00
frank 810b573afa CLOUDSTACK-4426
[VMware] [upgrade] system VM not coming up after upgrade from 3.0.4 to 4.2
2013-08-21 14:57:59 -07:00
Wido den Hollander d019388bf5 CLOUDSTACK-4249: Do not assume KVM snapshots are in QCOW2 format
RBD snapshots are in RAW format and are stored as such on Secondary Storage.

When creating a template from such a snapshot, honor the image format passed
down by the management server and act on that.

The old code simply assumed it always was QCOW2.
2013-08-21 17:33:07 +02:00
Gaurav Aradhye b3921e5248 CLOUDSTACK-4422: Corrected the wrong service paths
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-21 15:43:23 +05:30
Prasanna Santhanam 81b5146c8e CLOUDSTACK-4418: allow egress access to all networks for VMs on NAT
Tests doing operations within guests post VirtualMachine.create w. default
network offering fail since the egress policy with isolated networks and
sourcenat services is DENY.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-21 15:19:26 +05:30
Prasanna Santhanam f056af8cbd CLOUDSTACK-4225: Remove additional / in the nfs path
nfs://nfs-server://export/share ->
nfs://nfs-server:/export/share

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-21 15:19:25 +05:30
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
Jessica Wang 013f97461e CLOUDSTACK-3950: UI > remove global variable havingS3, havingSwift who are no longer in use. 2013-08-20 16:04:05 -07:00
Jessica 7c45ca2098 CLOUDSTACK-680. DOC. Add section about sending alerts to external SNMP managers/Syslog managers. 2013-08-20 15:58:14 -07:00
Jessica Wang 6114123951 CLOUDSTACK-3950: UI > set g_regionsecondaryenabled to true after adding region-wide secondary storage. 2013-08-20 15:35:19 -07:00
Edison Su dfa81da53a delete snapshot_store_ref if the snapshot is in error state 2013-08-20 15:33:24 -07:00
Kelven Yang d7c49e485a CLOUDSTACK-4376: fix cloud-early-config to workaround vSwitch stall in VPC mode. fix potential NPE in DirectAgentAttache in processing answers from resource 2013-08-20 14:58:52 -07:00
Min Chen e3d3a8cb7e CLOUDSTACK-4412: NPE while trying to force delete zone wide primary
storage when volumes are present.
2013-08-20 14:56:36 -07:00
Jessica a6d765141b CLOUDSTACK-871. DOC. Incorporate review comments in VM base image update. 2013-08-20 14:52:43 -07:00
Jessica Wang da08164875 CLOUDSTACK-3950: UI > template/ISO page > hide copyTemplate/copyISO action when secondary storage is region-wide. 2013-08-20 14:39:31 -07:00
Jessica Wang 6de00cb1f2 CLOUDSTACK-3950: UI > template/ISO page > registerTemplate/registerISO action > zone dropdown > include only one option "All Zones" when secondary storage is region-wide. 2013-08-20 14:24:34 -07:00
Jessica 3905381680 CLOUDSTACK-816. DOC. Incorporate review comments for documentation of health checks for load balanced instances. 2013-08-20 14:15:03 -07:00
Min Chen 1e32096584 CLOUDSTACK-3950: add "regionsecondaryenabled" in listCapabilitiesCmd
response.
2013-08-20 14:05:55 -07:00
Jessica d31e1f9c3f CLOUDSTACK-856. DOC. Incorporate review comments in CPU and RAM overcommit section of documentation. 2013-08-20 14:01:28 -07:00
Jessica a7f98854f4 CLOUDSTACK-4229. DOC. Add NetScaler version requirement for health checks on load balanced instances. 2013-08-20 14:01:28 -07:00
Min Chen 03011b8d7b CLOUDSTACK-3950:Set cross-zone flag in registerTemplate/registerIso in
case of region-wide secondary is enabled.
2013-08-20 13:33:01 -07:00
Vijayendra Bhamidipati f91c8578a5 Revert "CLOUDSTACK-4167: Put in upgrade paths in master for 4.1.2 and 4.2"
This reverts commit d47b4a9949.

Description:
    4.1.2 hasn't been released yet, so removing these paths from the 4.2
    branch.
2013-08-20 05:09:39 -07:00
Alena Prokharchyk ca1aa5a87e CLOUDSTACK-4410: Parallel vm execution - turn on and off based on the global configuration variable. Before the fix, was hard coded to on 2013-08-20 11:04:02 -07:00
Jessica Wang ddf0fb6d06 CLOUDSTACK-4102: UI > instances page, routers page, systemVM page > change service offering dialog > change description to "Please read the dynamic scaling section in the admin guide before scaling up". 2013-08-20 10:56:51 -07:00
Prasanna Santhanam 5b66677d74 CLOUDSTACK-4225: list the snapshot path on secondary store
list the snapshot on secondary store. avoid changing directories and
additional debug commands.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-20 19:38:59 +05:30
Prasanna Santhanam 8b922b850c CLOUDSTACK-4225: new_virtual_machine is not a attr of the test
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-20 19:33:42 +05:30
Sateesh Chodapuneedi a168a5fa2a CLOUDSTACK-3851 [VMWare] VM start fails with NPE while trying to retrieve cores per socket
If VMware host version is ESXi 4.1 and vCenter version is 5.0 or later, number of cores per socket of a VM running on ESXi 4.1 host would be undefined as it's not supported for versions prior to 5.0.
Hence expecting undefined/null value for that and handling it.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-20 13:28:14 +05:30
Jayapal 8c68660537 CLOUDSTACK-4199 Fixed redundant router fail over
When master router down, the back up router is entered into FAIL state
but it supposed to enter into master.
This issue is happening because the the enable_pubip.sh script triying to
ifdown and ifup the eth2 interface. Which is failed. So master.sh script got
failed. Fixed by doing ifdown force
2013-08-20 17:32:51 +05:30
Gaurav Aradhye 836f093610 CLOUDSTACK-4356: Added code for checking empty host, skip the test if no empty host found
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit ac77660864)
2013-08-20 17:31:53 +05:30
Prasanna Santhanam a82f66e0fa CLOUDSTACK-4257: Additional asserts for storage migration test
Test whether valid storage pools are listed and at least one pool is
available for migration.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-20 17:24:56 +05:30
Saksham Srivastava a9e45bf776 CLOUDSTACK-4257: [Automation] test_storage_motion test cases failed during with unexpected result in listStoragePool API call
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-20 17:24:56 +05:30
Sateesh Chodapuneedi 319a7bf05c CLOUDSTACK-4408 [Upgrade 3.0.7 to 4.2] Zone with clusters of multiple hypervisors including VMware should be processed for legacy zone.
Currently zones with multiple clusters from more than 1 hypervisor including VMware, are being ignored while processing them during upgrade.
If a zone has all non-VMware clusters then ignoring the zone is correct.
But if a zone has atleast 1 VMware cluster then make sure the zone processed further to mark it as legacy or associate the zone with appropriate VMware DC.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-20 10:31:35 +05:30
Jessica ba581efacb CLOUDSTACK-2402. DOC. Incorporate review comments on volume snapshot enhancements for VMware. 2013-08-20 02:47:36 -07:00
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