Commit Graph

20355 Commits

Author SHA1 Message Date
Brian Federle b7b0fcbd8c CLOUDSTACK-4460: VPC list UI: Truncate long values to prevent overflow. 2013-08-22 14:56:01 -07:00
Marcus Sorensen e9c99fc0d4 CLOUDSTACK-4661: fix vpcid field in response of creating vpn gateway 2013-08-22 15:19:38 -06:00
Murali Reddy 255c8473db CLOUDSTACK-4442: Source NAT not applied when network starts up
fixing the buid break introduced with prev commit for this bug
2013-08-22 21:07:52 +05:30
Prasanna Santhanam 69f6f49ae1 CLOUDSTACK-4453: fetch host credentials from marvin config
Tests would fetch the credentials for the host to hop into router to
check for essential services. Each test would require to put in the host
information into the test data. Instead fetch the credential information
from the marvin configuration file.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-22 20:20:35 +05:30
Kishan Kavala bbe8a6d266 CLOUDSTACK-4115 : Encrypt password in cluster_details table. This fix is to handle upgrades from versions earlier than 3.0.5 and 4.0. Upgrade was not handled when the cluster_details password encryption was introduced. 2013-08-22 19:00:24 +05:30
Murali Reddy a0f23d0f94 CLOUDSTACK-4442: Source NAT not applied when network starts up
ensure on network implement/restart/shutdown an ip assoc is sent so that
source nat ip is associated with source nat service provider.
2013-08-22 18:45:33 +05:30
SrikanteswaraRao Talluri 64460df554 CLOUDSTACK-4437: Fix iso usage event count to match the number of image stores
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-22 12:38:59 +05:30
Prasanna Santhanam e2122b7230 CLOUDSTACK-4442: Include a test for creating networks with sourcenat only
The test attempts to create a network with offering serving only
dhcp,dns and sourcenat. However the source NAT functionality itself
isn't tested as reported in the bug. So the test will pass.

TODO: come up with a way to test source nat without enabling additional
services for pf/staticnat

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-22 12:38:50 +05:30
Koushik Das 5528ba4b20 CLOUDSTACK-3441: [Load Test] High delays between VM being allocated to Pod and network implementation causing delays in VM deployment
The locking code in implement/shutdown network code was not efficient. Even in order to check the current state of the network lock was getting acquired which is not required. This resulted in delays in deploy VM as can be seen from attached logs where the code waited on the lock just to check if network is implemented.
As part of the fix moved out code that is checking if the network is already implemented or shutdowned outside the lock.
2013-08-22 11:06:54 +05:30
Koushik Das c86e8fcae5 CLOUDSTACK-2131: [Performance][Enhancement] Avoid checking for providers that are not enabled while creating network.
For some scenarios like prepare nic, all network service providers are checked which is not efficient and also introduces unnecessary dependencies.
The check to use only the required providers is already there for implement, shutdown operation on network. Put the same check for all missing cases.
2013-08-22 11:06:16 +05:30
Sowmya Krishnan 1c31ee22d4 CLOUDSTACK-3927, CLOUDSTACK-3928: Fix NS scripts to add/remove NS device in setupClass/tearDown
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-22 10:06:51 +05:30
Min Chen 885a161b62 CLOUDSTACK-4433:[VMware]Registration of template using the downloaded
template URL is failing.
2013-08-21 17:34:03 -07:00
Edison Su 9cfd434640 CLOUDSTACK-2729: another try to solve libvirt storage pool missing issue: if the storage pool is missing, then recreate it 2013-08-21 17:17:06 -07:00
Jessica 2f491963b8 CLOUDSTACK-867. DOC. Fix how-to steps for updating an existing VM to have dynamic scaling capability. 2013-08-21 16:48:28 -07:00
Jessica Wang 57070b1dc2 CLOUDSTACK-4428: UI > volume > when hypervisor is KVM and kvm.snapshot.enabled configuration is false, still show Take Snapshot option if VM State is Stopped. 2013-08-21 16:41:07 -07:00
Alena Prokharchyk 97cb0093c8 CLOUDSTACK-4428: "kvm.snapshot.enabled" flag shouldn't affect detached volumes, or volumes attached to the vm in Stopped/Destroyed state 2013-08-21 16:21:35 -07:00
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