Commit Graph

23572 Commits

Author SHA1 Message Date
SrikanteswaraRao Talluri ee9613b650 1. More fixes for smoke and component tests
2. Removed test_data.cfg file
3. Fixes to marvin libraries

(cherry picked from commit 9bba24812e)
2014-07-28 23:11:07 +02:00
SrikanteswaraRao Talluri 4a99cf8519 CLOUDSTACK-5674:Fixed pep8 errors in python files in marvin folder
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>

(cherry picked from commit 4f1f182cba)

Conflicts:
	tools/marvin/marvin/lib/base.py
2014-07-28 23:10:31 +02:00
Will Stevens f3be111365 Merge branch '4.4' into dev 2014-07-28 14:29:17 -04:00
Ashutosh K e33d4a5732 CLOUDSTACK-7022: Fixed typo
(cherry picked from commit 967b82f16b)
2014-07-28 17:43:43 +02:00
John Dilley 2fdf789a28 CLOUDSTACK-6909 - fix marvin's handling of SMB credentials for storage
Signed-off-by: Daan Hoogland <daan@onecht.net>
(cherry picked from commit 477a812a6f)
(cherry picked from commit 2498f65683)
2014-07-28 17:43:39 +02:00
Girish Shilamkar b848c02aa7 CLOUDSTACK-6943: Skip VM snapshot tests on KVM
(cherry picked from commit 9563db7a6d)
2014-07-28 17:43:36 +02:00
Gaurav Aradhye 8c37e46807 CLOUDSTACK-6887: Fixing account cleanup issue across multiple test cases
(cherry picked from commit b849b7ee3d)
2014-07-28 17:43:32 +02:00
Koushik Das 75d2a331ee CLOUDSTACK-6873: Tagged tests based on the limitation described in the bug
(cherry picked from commit 89a03c7099)
2014-07-28 17:43:30 +02:00
Bharat Kumar 7f44f4a782 CLOUDSTACK-6776: Removed hard coded vlan ids from BVT test_non_contiguous_vlan.py
(cherry picked from commit 81bf37f338)
2014-07-28 17:43:29 +02:00
Gaurav Aradhye 79eae73add CLOUDSTACK-5342: Fix for failure in adding network to VM
(cherry picked from commit 24ef79aef8)
2014-07-28 17:43:27 +02:00
Gaurav Aradhye 51442f355c CLOUDSTACK-6726: Fixing BVT test case test_network.py
(cherry picked from commit 3125ae5c6a)
2014-07-28 17:43:26 +02:00
SrikanteswaraRao Talluri 84ba19d0bc CLOUDSTACK-6760: skipping unsupported scale VM test on KVM
(cherry picked from commit 30bd9b8fe0)
2014-07-28 17:43:25 +02:00
Gaurav Aradhye e51a9f1320 Fixed issues in regression suite project cpu limits
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
(cherry picked from commit c3c8096476)
2014-07-28 17:43:25 +02:00
santhosh 26f39952f3 Fixed Regression issues mentioned under CLOUDSTACK-6708
Signed-off-by: santhosh <santhosh.edukulla@gmail.com>
(cherry picked from commit c7f5077ab1)
2014-07-28 17:43:23 +02:00
Gaurav Aradhye b0f446c729 Removing tests related to sparse and fat volume provisioning from 4.4-forward. This feature is not part of 4.4 release.
(cherry picked from commit f278c537d5)
2014-07-28 17:43:22 +02:00
Gaurav Aradhye 247377c4cf CLOUDSTACK-6612: Resolved issue with sshClient.py
(cherry picked from commit f2ebfe019e)
2014-07-28 17:43:21 +02:00
Gaurav Aradhye d560391c50 Fixed config issue related to Persistent Networks
(cherry picked from commit 149cd4b564)
2014-07-28 17:43:20 +02:00
santhosh 1b998602ec CLOUDSTACK-6627 catch exception instead of checking response
Signed-off-by: santhosh <santhosh.edukulla@gmail.com>
Signed-off-by: Daan Hoogland <daan@onecht.net>
(cherry picked from commit afd9d4e756)
2014-07-28 17:43:19 +02:00
Gaurav Aradhye 38ef939efd Fixing few issues in Multiple IPs test cases
(cherry picked from commit 4466ed1ce1)
2014-07-28 17:43:19 +02:00
santhosh acf70dad96 Fixed few issues for userapiclient and port issue
Signed-off-by: santhosh <santhosh.edukulla@gmail.com>
Signed-off-by: Koushik Das <koushik@apache.org>
(cherry picked from commit 7734ece8f1)
2014-07-28 17:43:18 +02:00
Gaurav Aradhye e8e8bed948 CLOUDSTACK-6580: Adding listall parameter while listing Account in createUserApiClient
(cherry picked from commit c013813426)
2014-07-28 17:43:18 +02:00
santhoshe b8824d09cb Fixed Few cases running on invalid zone,domain Fixed creating client on user passed port Fixed other misc issues
Signed-off-by: jayapal <jayapal@apache.org>
(cherry picked from commit 081ab78525)
2014-07-28 17:43:17 +02:00
Gaurav Aradhye 5e18332118 CLOUDSTACK-6257: Adding function to check the VM state
(cherry picked from commit 6598167bed)
2014-07-28 17:43:16 +02:00
SrikanteswaraRao Talluri 7a2f3f21a5 removed basic zone tag and added advanced zone tag
Conflicts:
	test/integration/smoke/test_nic.py

(cherry picked from commit 486ee69ef4)
2014-07-28 17:43:14 +02:00
Santhosh Edukulla a606277e20 Fix few issues seen in run.
Signed-off-by: Santhosh Edukulla <Santhosh.Edukulla@citrix.com>
(cherry picked from commit 80121f6be7)
2014-07-28 17:43:14 +02:00
SrikanteswaraRao Talluri 5efb635980 Fixes for BVT and Regression run failures against 4.4 CS
(cherry picked from commit db153062db)
2014-07-28 17:43:13 +02:00
SrikanteswaraRao Talluri 04cac3f9bd CLOUDSTACK-5674:Fixes for BVT and Regression test failures.
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>

(cherry picked from commit dcd3ce5ce0)
2014-07-28 17:43:13 +02:00
SrikanteswaraRao Talluri 798a6aa2e3 Marvin + test changes from master Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
(cherry picked from commit 404ac549bf)

Conflicts:
	test/integration/smoke/test_vm_iam.py
	tools/marvin/marvin/deployDataCenter.py
	tools/marvin/marvin/lib/base.py
2014-07-28 17:40:56 +02:00
Anshul Gangwar 8fb89cdc8e CLOUDSTACK-6504: removed warnings coming in building hyper-v agent code
(cherry picked from commit 66f8e0e1b5)

Conflicts:
	plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResourceController.cs
	plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/WmiCallsV2.cs
2014-07-28 17:31:03 +02:00
Anshul Gangwar 48f9453a74 CLOUDSTACK-6470: while stopping vm in hyper-v, now we are first trying to shutdown it gracefully before turning it off forcefully
(cherry picked from commit 4a85e22264)

Conflicts:
	plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/WmiCallsV2.cs
2014-07-28 17:24:53 +02:00
Gaurav Aradhye d5220a88a0 CLOUDSTACK-7127: Fix for addRegion failure, avoiding regionid 1 while creating new region through test case
(cherry picked from commit ca59f01602)
2014-07-28 16:02:56 +02:00
Gaurav Aradhye 724c8dc7c9 CLOUDSTACK-7125: Fixed test_blocker_bugs.py, added code to wait for snapshots to be in 'BackedU' state
(cherry picked from commit 4395308bd8)
2014-07-28 16:02:56 +02:00
Ashutosh K e9d658e16e CLOUDSTACK-7014: Resolving test script related to affinity groups tests
(cherry picked from commit 1cc6317b5e)
2014-07-28 16:02:53 +02:00
Ashutosh K 843e604757 CLOUDSTACK-7025: Resolving test script issue
(cherry picked from commit 33fdfbc834)
2014-07-28 16:02:53 +02:00
Koushik Das c72f55f9f3 Removed invalid assertions from code. Now the MS can be run with assertions enabled (using -ea flag)
(cherry picked from commit 610d6f0b99)
2014-07-28 16:02:52 +02:00
Koushik Das d14d0d7c92 Some minor fixes in simulator code
(cherry picked from commit a0486aedca)
2014-07-28 16:02:51 +02:00
Sanjay Tripathi 3d62fbc6e5 CLOUDSTACK-7029: listCapacity fails when podid argument is specified.
(cherry picked from commit ef2cf137a5)
2014-07-28 16:02:51 +02:00
Sheng Yang bb5ba26b60 Polish IPv6 input error information
(cherry picked from commit 09abcf354f)
2014-07-28 16:02:50 +02:00
Koushik Das ab85d00d7c Some fixes in the simulator
1. Fixed JSON response deserialization. While creating a mock a JSON can be passed which will be deserialized into a response object and returned from agent layer.
For e.g. for a mock corresponding to StopCommand, a response like "{"com.cloud.agent.api.StopAnswer":{"result":false,"wait":0}}" can be passed.
2. Ability to mock PingCommand (returned as part of getCurrentStatus() agent method). As a part of this a mocked VM state report can be returned.
For e.g. {"com.cloud.agent.api.PingRoutingWithNwGroupsCommand":{"newGroupStates":{},"newStates":{},"_hostVmStateReport":{"v-2-VM":{"state":"PowerOn","host":"SimulatedAgent.e6df7732-69b2-429b-9b6a-3e24dddfa2e0"},"i-2-5-VM":{"state":"PowerOff","host":"SimulatedAgent.e6df7732-69b2-429b-9b6a-3e24dddfa2e0"}},"_gatewayAccessible":true,"_vnetAccessible":true,"hostType":"Routing","hostId":3,"contextMap":{},"wait":0}}

(cherry picked from commit 285557fb5f)
2014-07-28 16:02:49 +02:00
Nitin Mehta fec9ccf446 CLOUDSTACK-4364: Restore VM - log a usage event for newly created volume
(cherry picked from commit 1e78354882)
2014-07-28 16:02:49 +02:00
Anthony Xu 794ef207b1 Cs tries to destroy vlan object on XS host when destroying VM, if the VLAN object is being used, CS expects the exception, lower the log level here
(cherry picked from commit 328df6f954)
2014-07-28 16:02:48 +02:00
Anthony Xu 7b1104aa15 Destroy unplugged VIFs before creating a VIF for a VM, and reuse the device id
(cherry picked from commit d0552a2ab2)
2014-07-28 16:02:48 +02:00
Gabor Apati-Nagy b0c6de63fd CLOUDSTACK-6732: Fix:[OVS][UI] Network Service Providers page displays two ovs providers
(cherry picked from commit 6d5d48f460)
2014-07-28 16:02:47 +02:00
Sheng Yang 446899d887 CLOUDSTACK-6989: Add 3 strikes rule for RvR freezing detection
Sometime in VR ntpd would move time backward to keep sync with NTP server, which
can result in false alarm of keepalived monitering process.

This patch adds 3 strikes for keepalived process dead detection to avoid falsely
shutdown keepalived process due to time adjustment for only once.

(cherry picked from commit a6381f5809)
2014-07-28 16:02:44 +02:00
Santhosh Edukulla c513d6f5f1 CLOUDSTACK-6976: Added the support for SecStorageFirewallCfgCommand
Signed-off-by: Daan Hoogland <daan@onecht.net>
(cherry picked from commit 76f72d3624)
2014-07-28 16:02:43 +02:00
Santhosh Edukulla 2eae404cf7 Fixed failing DatabaseAccessObject unit test cases
Signed-off-by: Daan Hoogland <daan@onecht.net>
(cherry picked from commit ff46258022)
2014-07-28 16:02:43 +02:00
Santhosh Edukulla eb16a4e9e3 Fixed Resource Leaks
Signed-off-by: Daan Hoogland <daan@onecht.net>
(cherry picked from commit c690320f0b)
2014-07-28 16:02:42 +02:00
Prachi Damle 20a457dd6e CLOUDSTACK-6941: Can't choose storage for the volume, when attaching uploaded data volume to VM
Changes:
- Only way to choose a certain storage pool is by using disk_offering_tags
- Added a parameter to take in a disk offering Id.
- Admin will have to create a custom sized disk offering and tag it as necessary for the user
- This custom offering Id should be passed during uploadVolume to associate the volume with this disk offering

(cherry picked from commit 13bd8beb91)
2014-07-28 16:02:41 +02:00
Min Chen 30b22ae275 CLOUDSTACK-6940:Templates cannot be downloaded from URLs without
matching file extensions.

(cherry picked from commit 008162a757)
2014-07-28 16:02:41 +02:00
Alena Prokharchyk 15ffec2632 CLOUDSTACK-6934: don't try to detach volume from host when volume was never allocated to a primary storage
(cherry picked from commit 92fea032da)
2014-07-28 16:02:40 +02:00