Gaurav Aradhye
8bfda973c2
CLOUDSTACK-8259: Code improvement - test_routers.py
...
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-17 18:23:34 +05:30
Gaurav Aradhye
9734582197
CLOUDSTACK-8258: test_iso.py - Removed assertion on Iso name when random characters are appended to test data before creating Iso
...
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-17 18:19:52 +05:30
Gaurav Aradhye
a95ce8138a
CLOUDSTACK-8257: test_escalations_volume.py - Removing asserts on volumes names as they don't hold true when random characters are appended to the volume name before creation
...
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-17 18:19:29 +05:30
Gaurav Aradhye
95f17d61f8
CLOUDSTACK-8219: Marvin: Correct code related to getting free vlan in the setup
...
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-17 18:18:13 +05:30
Rohit Yadav
2580edbcfb
CLOUDSTACK-7908: UserVmResponse returns userid/username information of the creator
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-16 16:12:22 +05:30
Rohit Yadav
2b7073c73f
CLOUDSTACK-7085, CLOUDSTACK-7084: disallow empty passwords
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit e5cd75790a )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-16 15:34:06 +05:30
Rohit Yadav
1a6df6f978
CLOUDSTACK-7908: Add user_id column to vm_instance table
...
Design Document:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Allow+VM+listing+by+User+ID
- Adds column to VMInstance DAO
- Adds column in vm_instance table
- Adds column in the UserVMJoinVO
- Adds default admin user which has UID = 2
- Adds migration path that sets user_id to first user of the accountId that
owns the vm in vm_instance table
- Add arg on list VMs API to query by userId, add support in query layer
- Refactor VMInstanceVO and child classes to accept userId
- Add code to let service layer pass userId if loggedIn user belongs to same
account as the owner executing an API call or use first user from owner account
- In case of CPVM and SSVM use system user ID
- Fix unit tests and spring injections
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-16 15:02:38 +05:30
sanjeev
67268d9db3
Iterate one more time before failing iso download
...
Signed-off-by: sanjeev <sanjeev@apache.org>
2015-02-16 12:16:21 +05:30
SrikanteswaraRao Talluri
a7b8e987d3
As this is not tested and causing other failures, reverting for now and let the author resubmit a fresh patch
...
Revert "Automation of CCP Objects Verification after external changes made to the original setup Purpose of this code:"
This reverts commit 7461297f3e .
2015-02-14 21:20:25 +05:30
Gaurav Aradhye
e66ceaa254
CLOUDSTACK-8255: Adding secondary IP to correct ethernet interface present on the VM
...
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-13 18:08:17 +05:30
SrikanteswaraRao Talluri
d552eb42b5
added missing comma in test_data.py
2015-02-13 17:58:45 +05:30
Ashutosh K
ada8cdce70
CLOUDSTACK-7911: Adding test cases for usage test path
...
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-13 16:02:56 +05:30
SrikanteswaraRao Talluri
a68de9acb6
CLOUDSTACK-8161: disable template create and dynamic scaling tests for LXC
2015-02-13 15:47:19 +05:30
Gaurav Aradhye
500baea9b6
CLOUDSTACK-8235: Fixed test case in test_bugs.py to read variable data from configurableData section of test_data.py and also fixed wrong parameter name
...
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-13 13:06:08 +05:30
Gaurav Aradhye
015aed9bef
CLOUDSTACK-8217: Fixed marvin base library method for passing 'lbdevicecapacity' parameter while adding netscaler device
...
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-13 12:53:54 +05:30
Gaurav Aradhye
eab63a6dd9
CLOUDSTACK-8149: Fixed test_Virtualrouter_alerts.py for VMware
...
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-13 12:40:09 +05:30
Gaurav Aradhye
d849a66b47
CLOUDSTACK-8253: Code correction and improvement: test_haproxy.py
...
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-13 12:36:28 +05:30
Gaurav Aradhye
dc4578dd44
CLOUDSTACK-8254: Choosing high end service offering for HyperV in case it tries to SSH to VM because Hyperv needs more resources because it is GUI based VM
...
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-13 12:30:47 +05:30
Chandan Purushothama
7461297f3e
Automation of CCP Objects Verification after external changes made to the original setup Purpose of this code:
...
Generate CCP Objects (VMs, Volumes, Snapshots, VPC, etc..) and CCP Use Cases (Networking, Data Content,etc) before an external action on the CCP Setup and verify the integrity of the CCP Objects and the Use Cases after the external action on the CCP Setup. The integrity of the CCP Objects is verified by performing operations that test the Usability of the objects. This validates the intactness of the setup after an external action. The submitted patch covers only few major use cases. It proves that similar code can be added in future to address similar goals in verifying the integrity of CCP objects belonging to different components of the product.
The code format can be followed to verify validity of real time business use cases while any code changes (CCP,hypervisor,external devices code, etc…) happen over a period of time.
The following are the scenarios that the code format can be used for:
1.Upgrade Validity Verification
a. CCP Upgrade
b. Hypervisors Upgrade
c. External Devices Upgrade
d. System VM Template Changes.
2.Patch Validity Verification
Code can be used as one of the primary Components to validity Upgrades. It will facilitate the automation of Upgrade Test Verification completely.
How to use the code:
*Kindly make the corresponding substitutions in the commands listed below.
Execute:
nosetests --with-marvin --marvin-config=$CONFIG $BASEDIR/integration/component/ test_minimal_ug_check.py --load -a tags=preupgrade
After Upgrade or any Changes done to the Setup, Verify that the existing CCP objects are not affected due to the external changes.
Execute:
nosetests --with-marvin --marvin-config=$CONFIG $BASEDIR/integration/component/ test_minimal_ug_check.py --load -a tags=postupgrade
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-13 12:06:46 +05:30
Daan Hoogland
7e75f339bc
license and format
2015-02-12 14:47:12 +00:00
ramamurtis
d363b2afce
CLOUDSTACK-8246: Add Cluster - Guest traffic label displayed Incorrectly
2015-02-12 13:35:58 +05:30
ramamurtis
2e5c1614ed
CLOUDSTACK-8245: Scrolling down the network service providers list from the UI never ends
2015-02-12 13:28:16 +05:30
Gaurav Aradhye
ec1c3894f0
CLOUDSTACK-8240: Skipping test case in test_vmware_drs.py because the scenario is not testable through automation
...
Signed-off-by: Srikanteswararao Talluri <talluri@apache.org>
2015-02-11 17:02:25 +05:30
Gaurav Aradhye
af09388eda
CLOUDSTACK-8241: Moved upload volume dict data to configurableData section of the test_data.py file so that data can be changed according to the setup, also made relevant changes in the test cases
...
Signed-off-by: Srikanteswararao <talluri@apache.org>
2015-02-11 16:53:08 +05:30
Daan Hoogland
a9c384fd17
CLOUDSTACK-8238 mocked test to make sure xapi code is called in test for
...
pingtask
2015-02-10 16:15:24 +01:00
SrikanteswaraRao Talluri
0aa2b90516
removed unnecessary pdb break point.
2015-02-09 11:56:33 +05:30
Mike Tutkowski
5e142f59ef
CLOUDSTACK-8233 kvmtimer fix
2015-02-08 17:48:06 -07:00
SrikanteswaraRao Talluri
55801f7e26
CLOUDSTACK-8229: add zone wide primary storage support in deployDataCenter
2015-02-08 11:40:27 +05:30
SrikanteswaraRao Talluri
2567ef2452
CLOUDSTACK-8161: changed apiclient to api_client in some of the tests
2015-02-08 11:17:17 +05:30
Pierre-Luc Dion
485fd6e9e5
apidocs: license date, acs version
2015-02-07 18:30:17 -05:00
SrikanteswaraRao Talluri
cf82af9567
CLOUDSTACK-8161: disabled vm migrate related test cases for LXC.
2015-02-08 00:52:05 +05:30
SrikanteswaraRao Talluri
b3cebdbbf4
CLOUDSTACK-8161: fixed few more wrong references in the tests while
...
disabling LXC unsupported tests.
2015-02-08 00:36:01 +05:30
Rohit Yadav
b9f705f238
debian: remove old cache after upgrade
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit d4ead2c72a )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-07 01:39:43 +05:30
Rohit Yadav
5fb5937cdb
appliance: do a apt-get clean before upgrade to free up space
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-06 17:02:44 +05:30
Rohit Yadav
083a4950a9
Fix typos
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit af278fe1ab )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-06 15:54:01 +05:30
Jayapal
8414223a96
CLOUDSTACK-5494: Fixed dns is open to public in VR
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 81994cf443 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-06 15:31:13 +05:30
Rohit Yadav
06437dadf5
CLOUDSTACK-8220: Let's have a separate XenServer 6.5 resource
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-06 14:44:10 +05:30
Rohit Yadav
1c616392db
DeployVmCmd: Fix NPE case
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit d2bf21065e )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-06 14:21:29 +05:30
SrikanteswaraRao Talluri
6e3009a299
CLOUDSTACK-8161: fixed few more wrong references
...
in the tests
2015-02-05 18:48:32 +05:30
Rohit Yadav
a8f9233377
CLOUDSTACK-8146: close search builder using done()
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit a4d24adfb8 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-05 18:06:15 +05:30
Gaurav Aradhye
a4e9b4e8a4
CLOUDSTACK-8211: Correcting expected secondary storage count value by rounding off to floor value and including the physicalsize of snapshot
...
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-05 17:32:35 +05:30
Erik Weber
c31e8e7409
CLOUDSTACK-8215: Change Date calculation to Joda DateTime
...
(cherry picked from commit 03e07c41b5 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-05 17:22:31 +05:30
Erik Weber
fdf4bd2ea2
SAML changing date calculation
...
Signed-off-by: Erik Weber <terbolous@gmail.com>
(cherry picked from commit b84c8889a3 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-05 17:22:20 +05:30
Rohit Yadav
fae4fdae53
ApiResponseHelper: fix NPE when parent of snapshot is null
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-05 17:02:30 +05:30
Rohit Yadav
7c41a1184c
agent: don't investigate if host is null, send alert instead
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-05 16:42:13 +05:30
Rohit Yadav
a2547ed827
orchestration: allow storage migration
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-05 16:38:53 +05:30
Rohit Yadav
61dfb2d625
AgentAttache: allow checkonhost command in maintenance, cancel if only allowed
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-05 16:29:03 +05:30
Rohit Yadav
0afec010b8
jobs: fix corner cases, add NPE checks
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-05 16:20:08 +05:30
Rohit Yadav
d5538fbe3b
Publish secstorage failure, removed by a12ab8a2b3
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-05 15:55:13 +05:30
Gaurav Aradhye
82b6c1377b
CLOUDSTACK-8213: Fixed typo in test_lb_secondary_ip.py
...
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-05 15:50:51 +05:30