Commit Graph

1272 Commits

Author SHA1 Message Date
Will Stevens 237bd46d55 Merge pull request #1423 from syed/ipsec-start-bug
[CLOUDSTACK-9296] Start ipsec for client VPNThis fix starts the IPSEC daemon when enabling client side vpn

* pr/1423:
  [CLOUDSTACK-9296] Start ipsec for client VPN

Signed-off-by: Will Stevens <williamstevens@gmail.com>
2016-05-27 15:21:16 -04:00
Will Stevens 20f779298d merging 4.8 -> master 2016-05-27 15:19:33 -04:00
Will Stevens 744f9d5615 Merge release branch 4.7 to 4.8
* 4.7:
  CLOUDSTACK-9376: Restrict listTemplates API with filter=all for root admin
  CLOUDSTACK-9369: Restrict default login to ldap/native users
  Add lsb-release dependency to mgmt server and agent on Debian/Ubuntu.
  Emit template UUID and class type over event bus when deleting templates.
2016-05-27 15:03:42 -04:00
Rohit Yadav 0cb60a72fe CLOUDSTACK-9376: Restrict listTemplates API with filter=all for root admin
Restricts use of listemplates API with templatefilter=all for root admin only.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2016-05-27 15:01:15 -04:00
Syed 26227768a1 [CLOUDSTACK-9296] Start ipsec for client VPN 2016-05-26 11:25:09 -04:00
sanjeev e363fd2702 CLOUDSTACK-9388: Remove string conversion in assertion statement 2016-05-25 14:57:29 +05:30
Will Stevens cb55624af8 Merge pull request #1523 from nlivens/bug/CLOUDSTACK-9365
CLOUDSTACK-9365 : updateVirtualMachine with userdata should not error when a VM is attached to multiple networks from which one or more doesn't support userdata

* pr/1523:
  Marvin script for cloudstack-9365
  CLOUDSTACK-9365 : updateVirtualMachine with userdata should not error when a VM is attached to multiple networks from which one or more doesn't support userdata

Signed-off-by: Will Stevens <williamstevens@gmail.com>
2016-05-20 08:34:55 -04:00
Sudhansu 18a6aa89be CLOUDSTACK-9366: Capacity of one zone-wide primary storage ignored
introduced new capacityType parameter in updateCapacityState method and necessary changes to add capacity_type clause in sql
also fixed incorrect sql builder logic (unused code path for which it is never surfaced )
Added marvin test to  check host and storagepool capacity when host is disabled
Added conditions to ensure the capacity_type is added only when capacity_type length is greater than 0.
Added checks in marvin test to ensure the capacity exists for a host before disabling it.
Added  checks to avoid index out of range exception
2016-05-19 20:24:04 +05:30
Rohit Yadav acc781d086 test: fix cleanup sequence for test_acl_listvolume test
Changes the cleanup sequence as the cleanup code causes exceptions in
several Travis runs such as:
https://travis-ci.org/apache/cloudstack/jobs/129925224

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2016-05-13 14:16:06 +05:30
rahul singal 9df51faa8a Marvin script for cloudstack-9365 2016-05-11 07:59:38 +02:00
Abhinandan Prateek 3b89cbe733 CLOUDSTACK-9350: KVM-HA- Fix CheckOnHost for Local storage
- Also skip HA on VMs that are using local storage
2016-04-29 12:38:33 +05:30
Will Stevens 12d8e53dd5 Merge pull request #1454 from shapeblue/host-maint
CLOUDSTACK-9323: Fix cancel host maintenance canFix cancel host maintenance so that if maintenance is cancelled the host come back to normal state gracefully.

Added marvin tests for host maintennace.

* pr/1454:
  CLOUDSTACK-9323: Fix Cancel maintenance so that if maintenance is cancelled the host come back to normal state gracefully. Added marvin tests for host maintennace.

Signed-off-by: Will Stevens <williamstevens@gmail.com>
2016-04-28 16:05:10 -04:00
Will Stevens a5ee4432e7 Merge release branch 4.8 to master
* 4.8:
  Removed sleeps and used validateList as requested.
  Added required_hardware="false" attr above test_02_root_volume_attach_detach
  Modified test_volumes.py to include a hypervisor test for root attach/detach testing
  Let hypervisor type KVM and Simulator detach root volumes. Updated test_volumes.py to include a test for detaching and reattaching a root volume from a vm. I also had to update base.py to allow attach_volume to have the parameter deviceid to be passed as needed.
2016-04-28 16:04:20 -04:00
Will Stevens d11194abec Merge release branch 4.7 to 4.8
* 4.7:
  Removed sleeps and used validateList as requested.
  Added required_hardware="false" attr above test_02_root_volume_attach_detach
  Modified test_volumes.py to include a hypervisor test for root attach/detach testing
  Let hypervisor type KVM and Simulator detach root volumes. Updated test_volumes.py to include a test for detaching and reattaching a root volume from a vm. I also had to update base.py to allow attach_volume to have the parameter deviceid to be passed as needed.
2016-04-28 16:03:46 -04:00
David Mabry 73cd427555 Removed sleeps and used validateList as requested. 2016-04-27 10:31:50 -04:00
Will Stevens a2d46921a1 Merge pull request #713 from nitt10prashant/pool_maint
CLOUDSTACK-8745 : verify usage after root disk migrationput storage in maintenance mode and start ha vm and check usage ... === TestName: test_ha_with_storage_maintenance | Status : SUCCESS ===
ok

----------------------------------------------------------------------
Ran 1 test in 842.294s

OK

* pr/713:
  CLOUDSTACK-8745 : verify usage after root disk migration

Signed-off-by: Will Stevens <williamstevens@gmail.com>
2016-04-25 15:51:37 -04:00
Abhinandan Prateek 182ab648b5 CLOUDSTACK-9323: Fix Cancel maintenance so that if maintenance is cancelled the host come back to normal state gracefully.
Added marvin tests for host maintennace.
2016-04-25 15:28:32 +05:30
Will Stevens 5498170468 Merge pull request #1308 from sanju1010/vpncgw
Test to create vpn customer gateway with hostnameWhile adding vpn customer gateway for site to site vpn connection, cs should also accept host name apart from gateway ip address. It should not be restricted to just ip address.

* pr/1308:
  Added few validation steps after adding vpncustomer gateway with hostname Changes are as per review comments in PR#1308
  Test to verify CS-45057 Bug-Id: CS-45057 Reviewed-by: Self

Signed-off-by: Will Stevens <williamstevens@gmail.com>
2016-04-21 16:53:28 -04:00
Will Stevens bebaea323a Merge pull request #1326 from sanju1010/cs-9219
New test to validate starting vm after nic removal and attachPlease refer bug CLOUDSTACK-9219 for more details.

Test Results:
==========
Test to verify vm start after NIC removal and reattach ... === TestName: test_30_remove_nic_reattach | Status : SUCCESS ===
ok

----------------------------------------------------------------------
Ran 1 test in 277.478s

OK

* pr/1326:
  New test to validate starting vm after nic removal and attach Bug-Id: CLOUDSTACK-9219

Signed-off-by: Will Stevens <williamstevens@gmail.com>
2016-04-21 16:40:34 -04:00
Will Stevens cb8c9c76f3 Merge pull request #1323 from sanju1010/cs-9218
[CLOUDSTACK-9218]Test to verify restart network after master VR destroyedPlease refer CLOUDSTACK-9218 for more details

Test Results:
===========

Test restarting RvR network without cleanup after destroying master VR ... === TestName: test_restart_ntwk_MVR_destroyed | Status : SUCCESS ===
ok

----------------------------------------------------------------------
Ran 1 test in 581.194s

OK

* pr/1323:
  Added new test to verify restart network after destorying master VR Bug-Id: CLOUDSTACK-9218

Signed-off-by: Will Stevens <williamstevens@gmail.com>
2016-04-21 16:38:03 -04:00
nitt10prashant 456abb0b94 CLOUDSTACK-8745 : verify usage after root disk migration
modified to use maintenance method is base.py and added some more checks

CLOUDSTACK-8745: Fail test if list response in empty
2016-04-21 11:00:13 +05:30
David Mabry 760ad0e265 Added required_hardware="false" attr above test_02_root_volume_attach_detach 2016-04-20 08:32:42 -05:00
David Mabry ec7a86b2de Modified test_volumes.py to include a hypervisor test for root attach/detach testing 2016-04-19 09:28:57 -05:00
David Mabry 0b7cc087f8 Let hypervisor type KVM and Simulator detach root volumes.
Updated test_volumes.py to include a test for detaching and reattaching a root volume from a vm. I also had to update base.py to allow attach_volume to have the parameter deviceid to be passed as needed.
2016-04-18 15:40:36 -05:00
sanjeevn 16be8598b0 Added new test to verify restart network after destorying master VR
Bug-Id: CLOUDSTACK-9218

Made changes to test name as per the review comments from DaanHoogland
2016-04-07 11:15:21 +05:30
sanjeevn 34ec3c3197 New marvin test to validate CLOUDSTACK-9215 Bug-Id: CLOUDSTACK-9215
Adding few validations as per the review comments in PR#1316 Bug-Id: CLOUDSTACK-9215
2016-04-06 16:35:16 +05:30
sanjeevn 28b289d9c0 New test to validate starting vm after nic removal and attach Bug-Id: CLOUDSTACK-9219
Incorporated review comments from GabrielBrascher
2016-04-06 16:11:54 +05:30
Sowmya 2260263425 deleted: test_vpcnetwork_nuage.py
new file:   ../plugins/nuagevsp/__init__.py
2016-03-08 18:57:24 -08:00
Sowmya 3c8d3d0ee1 Add nuagevsp userdata testcase (Cloudstack-9095) & Refactor existing testcases 2016-03-08 18:13:24 -08:00
sanjeev 8df8094a01 Merge pull request #1218 from pritisarap12/CLOUDSTACK-9140-Testcase-to-verify-if-Dedicated-cluster-is-used-for-virtual-routers-that-belong-to-non-dedicated-account
CLOUDSTACK-9140: Testcase to verify if Dedicated cluster is used for virtual routers that belong to non dedicated account

* pr/1218:
  CLOUDSTACK-9140: Testcase to verify if Dedicated cluster is used for virtual routers that belong to non dedicated account 	--Adding verification steps to make sure that vm and VR are being 	deployed on dedicated cluster

Signed-off-by: sanjeev <sanjeev@apache.org>
2016-02-24 15:59:17 +05:30
Priti Sarap 764afb49fe CLOUDSTACK-9140: Testcase to verify if Dedicated cluster is used for virtual routers that belong to non dedicated account
--Adding verification steps to make sure that vm and VR are being
	deployed on dedicated cluster
2016-02-17 12:36:44 +05:30
Remi Bergsma 3d9919ecfb Revert "Merge pull request #1011 from shwetaag/coreos"
This reverts commit 56859c9904, reversing
changes made to cd71e05b1e.
2016-02-10 10:28:18 +01:00
sanjeev 56859c9904 Merge pull request #1011 from shwetaag/coreos
CLOUDSTACK-9012 :automation of cores feature test pathhttps://issues.apache.org/jira/browse/CLOUDSTACK-9012
Automated a full scenario of coreos guest OS support:
it includes registering coreos templates present at http://dl.openvm.eu/cloudstack/coreos/x86_64/
1. based on hypervisor types of zone
2. creating ssh key pair
3. creating a sample user data
4. creating a coreos virtual machine using this ssh keypair and userdata
5. verifying ssh access to coreo os machine using keypair and core username
6. verifying userdata is applied on virtual machine and the service asked in sample data is actually running
7. Verifying userdata in router vm as well

* pr/1011:
  added suggested changes to coreos automation
  automation of cores feature test path

Signed-off-by: sanjeev <sanjeev@apache.org>
2016-02-10 11:03:52 +05:30
shweta agarwal 94281f952d added suggested changes to coreos automation 2016-02-04 16:57:08 +05:30
Rohit Yadav 32fe308ed0 Merge pull request #1048 from cloudsadhu/sadhutest
CLOUDSTACK-8731-checking usage event for delete volume 	checking usage event for delete volume. I have incorporated all the suggested changes.

* pr/1048:
  CLOUDSTACK-8731-checking usage event for delete volume

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2016-01-27 16:13:53 +01:00
sanjeevn 4497c6064a Added few validation steps after adding vpncustomer gateway with hostname
Changes are as per review comments in PR#1308
2016-01-08 16:22:31 +05:30
sanjeevn 88327b99f7 Test to verify CS-45057
Bug-Id: CS-45057
Reviewed-by: Self
2016-01-08 16:22:00 +05:30
pavanb018 792e49366b Automation for CLOUDSTACK-9214 , detect wrong GW or NM 2016-01-07 10:47:28 +05:30
Wilder Rodrigues 632ee18ab7 CLOUDSTACK-9135 - Moves test into smoke directory
- Missed this test when moved the other 5 ones.
2015-12-10 13:27:53 +01:00
Wilder Rodrigues fb92de5262 CLOUDSTACK-9120 - Moves tests to the smoke directory
- Those tests are doing a lot more than component tests would do. They require hardware and a lot of resources from real hypervisors.
2015-12-08 20:28:07 +01:00
Remi Bergsma 738b78886e Merge release branch 4.6 to master
* 4.6:
  CLOUDSTACK-9118 - Adds integration test to cover routers state.
  CLOUDSTACK-9118 - Improves the existing checkrouter.sh script
2015-12-08 20:12:09 +01:00
Wilder Rodrigues 848ef78158 CLOUDSTACK-9118 - Adds integration test to cover routers state.
- Refactoring the existing tests
2015-12-08 11:06:35 +01:00
Remi Bergsma 7e902cd505 Merge release branch 4.6 to master
* 4.6:
  CLOUDSTACK-9075 - Uses the same vlan since it should have been already released
  CLOUDSTACK-9075 - Adds VPC static routes test
  CLOUDSTACK-9075 - Covers Private GW ACL with Redundant VPCs
  CLOUDSTACK-9075 - Add method to get list of Physical Networks per zone
  CLOUDSTACK-6276 Removing unused parameter in integration test for projects
  CLOUDSTACK-6276 Removing unused parameter in integration test
  CLOUDSTACK-6276 Fixing affinity groups for projects
2015-12-03 20:42:41 +01:00
Remi Bergsma 4ffad548a5 Merge pull request #1107 from karuturi/CLOUDSTACK-9080
CLOUDSTACK-9080: Resource limits for Primary arent respected during attachprimary store resource limit check is not performed while attaching a
volume to a vm. Added them same.
Also added a marvin test case to verify the same.

Testing:
BEFORE
No error is shown in UI when trying to attach a volume even after reaching the resource limits.

```
mysql> select * from resource_limit where type="primary_storage";
+----+-----------+------------+-----------------+-------------+
| id | domain_id | account_id | type            | max         |
+----+-----------+------------+-----------------+-------------+
| 10 |      NULL |          4 | primary_storage | 21474836480 |
+----+-----------+------------+-----------------+-------------+
1 row in set (0.00 sec)

mysql> select * from resource_count where account_id=4 and type='primary_storage';
+----+------------+-----------+-----------------+-------------+
| id | account_id | domain_id | type            | count       |
+----+------------+-----------+-----------------+-------------+
| 63 |          4 |      NULL | primary_storage | 48318382080 |
+----+------------+-----------+-----------------+-------------+
1 row in set (0.00 sec)
```

AFTER
Following error message is shown in UI and the volume is not attached
![screen shot 2015-11-19 at 5 34 08 pm](https://cloud.githubusercontent.com/assets/186833/11336645/046b5bcc-920d-11e5-97af-3d0da14c0e38.png)

The resource limits stays the same

```
mysql> select * from resource_limit where type="primary_storage";
+----+-----------+------------+-----------------+-------------+
| id | domain_id | account_id | type            | max         |
+----+-----------+------------+-----------------+-------------+
| 10 |      NULL |          4 | primary_storage | 21474836480 |
+----+-----------+------------+-----------------+-------------+
1 row in set (0.01 sec)

mysql> select * from resource_count where account_id=4 and type='primary_storage';
+----+------------+-----------+-----------------+-------------+
| id | account_id | domain_id | type            | count       |
+----+------------+-----------+-----------------+-------------+
| 63 |          4 |      NULL | primary_storage | 48318382080 |
+----+------------+-----------+-----------------+-------------+
1 row in set (0.00 sec)
```

Marvin test: nosetests --with-marvin --marvin-config=setup/dev/advanced.cfg --zone=xen-zone0 --hypervisor=xenserver test/integration/component/test_ps_resource_limits_volume.py

before the change

```
# do ... === TestName: test_attach_volume_exceeding_primary_limits | Status : FAILED ===
AssertionError: Resource count 23 should match with the expected resource count 22\n
```

After the change

```
# do ... === TestName: test_attach_volume_exceeding_primary_limits | Status : SUCCESS ===
ok

----------------------------------------------------------------------
Ran 1 test in 1178.354s

OK
```

* pr/1107:
  CLOUDSTACK-9080: Resource limits for Primary arent respected during attach.

Signed-off-by: Remi Bergsma <github@remi.nl>
2015-12-03 09:43:31 +01:00
sanjeev 24db5de900 Incorporated review comments from the PR 2015-12-02 16:06:26 +05:30
sanjeevn 41ce802c93 Add marvin test for bug CS-38356
Bug-Id: CS-38356
Reviewed-By: Self
2015-12-02 16:06:26 +05:30
Patrick Dube 091bb79669 CLOUDSTACK-6276 Removing unused parameter in integration test for projects 2015-11-28 20:46:24 -05:00
Patrick Dube a1db428e08 CLOUDSTACK-6276 Removing unused parameter in integration test 2015-11-28 20:44:56 -05:00
Patrick Dube c76d317150 CLOUDSTACK-6276 Fixing affinity groups for projects 2015-11-27 14:43:02 -05:00
Srikanteswararao Talluri ab385c814f Revert "Change references of people.apache.org to home.apache.org in the test code"
This reverts commit 001169f08f.
2015-11-26 12:07:49 +05:30
Srikanteswararao Talluri 45fa8ffb20 Revert "Change references of people.apache.org to home.apache.org in the test code"
This reverts commit af267cf0e5.
2015-11-26 12:05:42 +05:30
SrikanteswaraRao Talluri 001169f08f Change references of people.apache.org to home.apache.org in the test code
This closes #1123
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-11-26 11:41:11 +05:30
SrikanteswaraRao Talluri af267cf0e5 Change references of people.apache.org to home.apache.org in the test code
This closes #1123
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-11-26 11:38:07 +05:30
Rajani Karuturi 256263492f CLOUDSTACK-9080: Resource limits for Primary arent respected during attach.
primary store resource limit check is not performed while attaching a
volume to a vm. Added them same.
Also added a marvin test case to verify the same.
2015-11-24 11:59:31 +05:30
Remi Bergsma 76f430cfc3 Merge release branch 4.6 to master
* 4.6:
  CLOUDSTACK-9015 - Delete public IP in order to get both IP and NAT rule removed.
  CLOUDSTACK-9015 - Add test to cover the rVPC routers stop/start/reboot scenario
  CLOUDSTACK-9015 - Make sure the Backup router can talk to the Master router after a stop/start/reboot
2015-11-19 18:02:13 +01:00
Wilder Rodrigues 459499017f CLOUDSTACK-9015 - Delete public IP in order to get both IP and NAT rule removed.
- Set the IP and NAT to None to make sure they get reassigned.
2015-11-18 16:25:50 +01:00
Remi Bergsma 95ae7963d5 Merge pull request #801 from nlivens/updated-nuage-vsp-plugin
CLOUDSTACK-8832 : Update Nuage VSP plugin to work with Nuage VSP release 3.2

* pr/801:
  CLOUDSTACK-8832 : Update Nuage VSP plugin to work with Nuage VSP release 3.2

Signed-off-by: Remi Bergsma <github@remi.nl>
2015-11-18 12:09:09 +01:00
Wilder Rodrigues 952d9a84d2 CLOUDSTACK-9015 - Add test to cover the rVPC routers stop/start/reboot scenario
- Stop/reboot master router should make the backup router become master
   - Start the stopped router should make be the backup router
2015-11-12 18:32:53 +01:00
sadhu suresh 635f7c272e CLOUDSTACK-8731-checking usage event for delete volume 2015-11-09 16:19:14 +05:30
Remi Bergsma f948e96299 Merge pull request #1023 from ekholabs/fix/egress_state-CLOUDSTACK-8925
CLOUDSTACK-8925 - Default allow for Egress rules is not being configured properly in VR iptables rulesThis PR fixes the router default policy for egress. When the default is DENY, the router still allows outgoing connections.

The test component/test_routers_network_ops.py was improved to cover that case as well. The results were:

Test redundant router internals ... === TestName: test_01_isolate_network_FW_PF_default_routes_egress_true | Status : SUCCESS ===
ok
Test redundant router internals ... === TestName: test_02_isolate_network_FW_PF_default_routes_egress_false | Status : SUCCESS ===
ok
Test redundant router internals ... === TestName: test_01_RVR_Network_FW_PF_SSH_default_routes_egress_true | Status : SUCCESS ===
ok
Test redundant router internals ... === TestName: test_02_RVR_Network_FW_PF_SSH_default_routes_egress_false | Status : SUCCESS ===
ok

----------------------------------------------------------------------
Ran 4 tests in 3636.656s

OK
/tmp//MarvinLogs/test_routers_network_ops_QDL429/results.txt (END)

* pr/1023:
  CLOUDSTACK-8925 - Implement the default egress DENY/ALLOW properly
  CLOUDSTACK-8925 - Improve the default egress tests in order to cover newly entered rules
  CLOUDSTACK-8925 - Add egress dataset to test_data.py
  CLOUDSTACK-8925 - Drop the traffic when default egress is set to false

Signed-off-by: Remi Bergsma <github@remi.nl>
2015-11-04 14:59:02 +01:00
Wilder Rodrigues 79dabfdae4 CLOUDSTACK-8925 - Implement the default egress DENY/ALLOW properly
- Make tests work with right IP and rules
   - Add egress rule for port 53 protocol UDP when testing default egress DENY on RVR
2015-11-04 13:48:04 +01:00
Wilder Rodrigues ad4fbcd577 CLOUDSTACK-8925 - Improve the default egress tests in order to cover newly entered rules 2015-11-03 13:59:17 +01:00
sanjeev 7d1dc04a43 CLOUDSTACK-9016: Deploy vm with gateway ip address in VPC
Signed-off-by: sanjeev <sanjeev@apache.org>
2015-11-02 14:41:25 +05:30
shweta agarwal 9535596074 automation of cores feature test path
corrected some entires in test data
2015-10-30 17:38:43 +05:30
Remi Bergsma d8f9c235e9 Merge pull request #1002 from ekholabs/test/dhcphosts-CLOUDSTACK-9007
CLOUDSTACK-9007 - Write test to check that the /etc/dhcphosts.txt doesn't contain duplicate IPsThis PR contains a test that will cover the fix on PR #981

The tests does the following:

* Creates account, service offering, network offering, network
* Deploys two virtual machines
  - Each machine with a pre-assigned IP
* Creates two FW and PF rules
* Checks that SSH into the VMs works
* Checks default routes from both VMs
* Checks that the /etc/dhcphosts.txt contains 1 entry per VM IP
* Destroys/Expunges 1 VM
* Creates a new VM with the same IP as the destroyed one
* Checks that the /etc/dhcphosts.txt contains 1 entry per VM IP

* pr/1002:
  CLOUDSTACK-9007 - Add test check that /etc/dhcphosts.txt doesn't contain duplicate IPs

Signed-off-by: Remi Bergsma <github@remi.nl>
2015-10-29 19:55:24 +01:00
Wilder Rodrigues bf3c894fb9 CLOUDSTACK-9007 - Add test check that /etc/dhcphosts.txt doesn't contain duplicate IPs 2015-10-29 15:22:58 +01:00
Wilder Rodrigues 097ef34b85 CLOUDSTACK-8957 - Add integration test that cheks if the password file is present and not empty 2015-10-29 07:14:51 +01:00
Nick Livens 645f8758df CLOUDSTACK-8832 : Update Nuage VSP plugin to work with Nuage VSP release 3.2 2015-10-27 14:56:57 +01:00
Boris Schrijver a24cbafb15 CLOUDSTACK-8989 test_ps_limits.py tests can also be run on a basic setup. 2015-10-27 14:30:58 +01:00
Remi Bergsma 5cacd99570 Merge pull request #972 from miguelaferreira/test_isolate_network_FW_PF_default_routes
Fix error message in test_isolate_network_FW_PF_default_routesWhile running test_isolate_network_FW_PF_default_routes it is expected
that SSH'ing into a VM does not work immediately. However, when it fails
(as expected) witht he follwoing error

      ====Trying SSH Connection: Host:192.168.23.12 Uer:root
    Port:22 RetryCnt:1===
      Traceback (most recent call last):
        File "/home/jenkins/workspace/mccloud/mct-run-marvin-tests@2/venv/lib/python2.7/site-packages/marvin/sshClient.py", line 121, in createConnection timeout=self.timeout)
        File "/home/jenkins/workspace/mccloud/mct-run-marvin-tests@2/venv/lib/python2.7/site-packages/paramiko/client.py", line 251, in connect retry_on_signal(lambda: sock.connect(addr))
        File /home/jenkins/workspace/mccloud/mct-run-marvin-tests@2/venv/lib/python2.7/site-packages/paramiko/util.py", line 270, in retry_on_signal return function()
        File /home/jenkins/workspace/mccloud/mct-run-marvin-tests@2/venv/lib/python2.7/site-packages/paramiko/client.py", line 251, in <lambda> retry_on_signal(lambda: sock.connect(addr))
        File "/usr/lib64/python2.7/socket.py", line 224, in meth return getattr(self._sock,name)(*args)
      error: [Errno 113] No route to host

it would try to print a message that generates a actual error:

```
  DEBUG: ====Trying SSH Connection: Host:192.168.23.12 User:root
Port:22 RetryCnt:0===
  test_isolate_network_FW_PF_default_routes
(integration.component.test_routers_network_ops.TestIsolatedNetworks):
CRITICAL: EXCEPTION: test_isolate_network_FW_PF_default_routes:
    Traceback (most recent call last):,
      File "/usr/lib64/python2.7/unittest/case.py", line 369, in run
testMethod()',
      File "/home/jenkins/workspace/mccloud/mct-run-marvin-tests@2/test/integration/component/test_routers_network_ops.py", line 448, in test_isolate_network_FW_PF_default_routes self.fail("Failed to SSH into VM - %s" % (public_ip.ipaddress.ipaddress)),
      "AttributeError: 'unicode' object has no attribute 'ipaddress'"
```

* pr/972:
  Fix error message in test_isolate_network_FW_PF_default_routes

Signed-off-by: Remi Bergsma <github@remi.nl>
2015-10-24 09:49:53 +02:00
Miguel Ferreira c59de915c6 Fix error message in test_isolate_network_FW_PF_default_routes
While running test_isolate_network_FW_PF_default_routes it is expected
that SSH'ing into a VM does not work immediately. However, when it fails
(as expected) witht he follwoing error

      ====Trying SSH Connection: Host:192.168.23.12 Uer:root
    Port:22 RetryCnt:1===
      Traceback (most recent call last):
        File "/home/jenkins/workspace/mccloud/mct-run-marvin-tests@2/venv/lib/python2.7/site-packages/marvin/sshClient.py", line 121, in createConnection timeout=self.timeout)
        File "/home/jenkins/workspace/mccloud/mct-run-marvin-tests@2/venv/lib/python2.7/site-packages/paramiko/client.py", line 251, in connect retry_on_signal(lambda: sock.connect(addr))
        File /home/jenkins/workspace/mccloud/mct-run-marvin-tests@2/venv/lib/python2.7/site-packages/paramiko/util.py", line 270, in retry_on_signal return function()
        File /home/jenkins/workspace/mccloud/mct-run-marvin-tests@2/venv/lib/python2.7/site-packages/paramiko/client.py", line 251, in <lambda> retry_on_signal(lambda: sock.connect(addr))
        File "/usr/lib64/python2.7/socket.py", line 224, in meth return getattr(self._sock,name)(*args)
      error: [Errno 113] No route to host

it would try to print a message that generates a actual error:

  DEBUG: ====Trying SSH Connection: Host:192.168.23.12 User:root
Port:22 RetryCnt:0===
  test_isolate_network_FW_PF_default_routes
(integration.component.test_routers_network_ops.TestIsolatedNetworks):
CRITICAL: EXCEPTION: test_isolate_network_FW_PF_default_routes:
    Traceback (most recent call last):,
      File "/usr/lib64/python2.7/unittest/case.py", line 369, in run
testMethod()',
      File "/home/jenkins/workspace/mccloud/mct-run-marvin-tests@2/test/integration/component/test_routers_network_ops.py", line 448, in test_isolate_network_FW_PF_default_routes self.fail("Failed to SSH into VM - %s" % (public_ip.ipaddress.ipaddress)),
      "AttributeError: 'unicode' object has no attribute 'ipaddress'"
2015-10-23 17:01:07 +02:00
Wilder Rodrigues 3ead9d7229 CLOUDSTACK-8935 - Clean up network resources in the right order 2015-10-23 16:00:09 +02:00
Wilder Rodrigues 38d03576d6 CLOUDSTACK-8952 - Make the tests rely on the interface state other than the json file 2015-10-17 14:47:05 +02:00
Wilder Rodrigues 2a747ca735 CLOUDSTACK-8952 - Reduce retried from 20 to 5
- We do not need to retry that much
2015-10-17 12:20:42 +02:00
Wilder Rodrigues 41f4d8b58a CLOUDSTACK-8952 - Make the check for master more reliable
- Do not use the API call because it will read what is in the database, that might not have been updated yet
     * Check the status in the router directly instead
   - Remove all the sleeps
2015-10-17 12:20:41 +02:00
Wilder Rodrigues 1886c4a1b3 CLOUDSTACK-8952 - Make sure we restart dnsmasq if the configuration file changes
- It was working before because the Routers were restarting about 10 times for each operation
     e.g. adding a VM to a network ot acquiring a new IP.
   - Adding stat_rules of internal LB to iptables
     We needed one extra rule in the INPUT chain
2015-10-17 12:20:40 +02:00
Wilder Rodrigues b4920aa028 CLOUDSTACK-8952 - Do not restart conntrackd unless it's needed
- With the keepalived fixed they should not be needed anymore. So first reducing them drasticaly
   - I am now making a backup of the template file, write to the template file and compare it with the existing configuration
   - The template file is recovered afer the process
   - I also check if the process is running
   - I fixed a bug in the compare method
   - I am now updating the configuration variable once the file content is flushed to disk
2015-10-17 12:20:40 +02:00
Wilder Rodrigues cd8c3e97f5 CLOUDSTACK-8934 - Fix the AclIP class to make it configure the default FW policy 2015-10-11 14:57:33 +02:00
Wilder Rodrigues 5d1cdc6440 CLOUDSTACK-8934 - Adding tests to cover default routes on IsoNest and RVR nets 2015-10-11 14:57:31 +02:00
Wilder Rodrigues 45642b8382 CLOUDSTACK-8934 - Add default gateway when the public interface is up again 2015-10-11 14:57:12 +02:00
Wilder Rodrigues 7ed81a6990 CLOUDSTACK-8915 - Making sure cleanup resources passes
- Due to an issue with VPC routers (CLOUDSTACK-8935) we are not able to destroy networks before destroying the routers
   - Added a forcestop/destroy routers inside the tearDown to make sure it passes. The issue will be addressed in a separate PR
   - Make sure the routers list is cleaned after destroy_routers() is called
   - Populate routers list after the router is recreated
2015-10-07 11:14:23 +02:00
Wilder Rodrigues b1fb1539e9 CLOUDSTACK-8915 - Fix the assertion used for the default routes test 2015-10-06 16:41:15 +02:00
Wilder Rodrigues a0c93e7778 CLOUDSTACK-8915 - This test is still under construction
- It will help to increase coverage of VR use: PF; LB and FW
2015-10-06 16:41:14 +02:00
Wilder Rodrigues 5f79916eea CLOUDSTACK-8915 - Adding logging to tests 2015-10-06 16:41:14 +02:00
Wilder Rodrigues 7c7c0149b2 CLOUDSTACK-8915 - Improve routers tests
- Add egress tests in order to check if VMs can reach the outside world
   - Increase the wait when testing redundant routers: they fight to become master
   - Make sure the clean up is done properly
2015-10-06 16:41:14 +02:00
Wilder Rodrigues 260ff836b6 CLOUDSTACK-8915 - Reverting changes from commit id 1a02773b55
- That's not the place to fix the default routes for redundant VPC,
   - Adding tests to cover PF and FW in isolated networks
     * Will still add some tests for egress as well
2015-10-06 16:41:14 +02:00
Wilder Rodrigues 094d29d7cd CLOUDSTACK-8915 - VRRP needs a cidr in order to work properly
- The cidr was replaced by the single IP, which broke the feature.
   - Wait during transition from master to backup otherwise the test fails due to wronge state
2015-10-06 16:41:13 +02:00
sanjeev a601ae445d Merge pull request #683 from pavanb018/multivol
CLOUDSTACK-8726 : Automation for Quickly attaching multiple data disks to a new VMAttach multiple Volumes simultaneously to a Running VM ... === TestName: test_attach_multiple_volumes | Status : SUCCESS ===
ok

----------------------------------------------------------------------
Ran 1 test in 196.931s

OK

* pr/683:
  changed the testcase skip code into setup method
  Imparting changes mentioned by nitt10prashant
  Automation for multiple disk attachments to instance

Signed-off-by: sanjeev <sanjeev@apache.org>
2015-09-23 15:23:27 +05:30
sanjeev 75cf2bd248 Tagging tests appropriately to pick them for running on basic zone 2015-09-14 16:52:13 +05:30
Rajani Karuturi ff1ce07aef Merge pull request #728 from shwetaag/attach_iso
CLOUDSTACK-8756:Incorrect guest os mapping in CCP 4.2.1-6 for CentOS 5.9Check the bug 8756 for more details

* pr/728:
  CLOUDSTACK-8756:Incorrect guest os mapping in CCP 4.2.1-6 for CentOS 5.9

Signed-off-by: Rajani Karuturi <rajani.karuturi@citrix.com>
2015-09-11 21:20:03 +05:30
Rajani Karuturi adfa9c0ca6 Revert "CLOUDSTACK-8756:Incorrect guest os mapping in CCP 4.2.1-6 for CentOS 5.9"
This reverts commit ba59a43333.
Reverting as this is a direct commit to master. Will be followed by a
merge
2015-09-11 21:18:25 +05:30
shweta agarwal ba59a43333 CLOUDSTACK-8756:Incorrect guest os mapping in CCP 4.2.1-6 for CentOS 5.9
This closes #728
2015-09-11 17:56:24 +05:30
wilderrodrigues 237e0e4611 Merge pull request #765 from schubergphilis/fix/default_policies
CLOUDSTACK-8688 - default policies for INPUT and FORWARD should be set to DROP instead of ACCEPT

  - In order to be able to access the routers via the link local interface, we have to add a rules with NEW and ESTABLISHED state

* pr/765:
  CLOUDSTACK-8688 - Adding Marvin tests in order to cover the fixes applied
  CLOUDSTACK-8688 - default policies for INPUT and FORWARD should be set to DROP instead of ACCEPT

Signed-off-by: wilderrodrigues <wrodrigues@schubergphilis.com>
2015-09-08 13:45:19 +02:00
wilderrodrigues 1742b10f1b CLOUDSTACK-8688 - Adding Marvin tests in order to cover the fixes applied
- Changing refactored the utils.get_process_status() function
   - Adding 2 tests: test_01_single_VPC_iptables_policies and test_02_routervm_iptables_policies
2015-09-07 17:00:32 +02:00
wilderrodrigues 23d0f3feda CLOUDSTACK-8759 - Adding a marvin test in order to cover the fix
- The test will create a VPC, add 2 tier, 2 VMs, ACL, PF and SSH into the VM
   - Then it will stop the router, destroy the router, add another VM to 1 tier and check that we can reach all the VMs
2015-09-02 17:05:16 +02:00
Rohit Yadav 65e9ea9988 Merge pull request #729 from shwetaag/router
CLOUDSTACK-8757:FTP modules are not loaded in VRcheck bug 8757 for more details .

* pr/729:
  CLOUDSTACK-8757:FTP modules are not loaded in VR

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-08-26 14:47:19 +05:30
shweta agarwal cc308050b8 CLOUDSTACK-8757:FTP modules are not loaded in VR 2015-08-21 18:04:19 +05:30
shweta agarwal bbdb47854d CLOUDSTACK-8756:Incorrect guest os mapping in CCP 4.2.1-6 for CentOS 5.9 2015-08-21 17:47:01 +05:30
radu-stefanache c7a3ad4dc0 More typos 2015-08-20 13:04:29 +01:00
Sowmya Krishnan 8bd1ca14ce Fixed pep8 issues 2015-08-17 16:57:33 +05:30
shweta agarwal 792c27c9bd test case automated for list template pagination
additional verification added
This closes #646
2015-08-13 15:51:16 +05:30
pavan018 96b1a5ced1 changed the testcase skip code into setup method 2015-08-13 11:39:06 +05:30
pavan018 a4829f4d44 Imparting changes mentioned by nitt10prashant 2015-08-13 11:39:06 +05:30
pavan018 7bcf84803c Automation for multiple disk attachments to instance 2015-08-13 11:39:05 +05:30
sanjeev b1fa378612 CLOUDSTACK-8720: Handle corner case in remove nic from vm Please see the bug for more details
Incorporating comments from pavanb018

This closes #671
2015-08-11 12:33:46 +05:30
sanjeev 18fee95109 Removed medium dictionary from test_data and modified the tests dependent on it
Removed duplicate test data related to vm properties.Modified tests dependent on it

Removed duplicte service offerings from test data and modified tests dependent on it
Bug-Id: CLOUDSTACK-8617
This closes #644
2015-08-06 11:29:13 +05:30
Priti Sarap c5ebb68be4 CLOUDSTACK-8689: Verify effect of changing value of XenServer Max guest limitis on previously added hosts
CLOUDSTACK-8689-Verify-effect-of-changing-value-of-XenServer-Max-guest-limitis-on-previously-added-hosts -Addning check for empty list and increamenting maxguestlimit accordingly

CLOUDSTACK-8689: Verify effect of changing value of XenServer Maxguestlimits on previously added hosts -As testcase is changing maxguestlimits global setting it will affect on other testcases also hence moving it to component/maint folder

This closes #638
2015-08-03 14:48:50 +05:30
Koushik Das 5adfc1c786 Moved test for CLOUDSTACK-8651 to a new .py file
This closes #607
2015-07-29 13:41:31 +05:30
Koushik Das 3be278ed5e CLOUDSTACK-8651: [Browser Based Upload Template] Partially uploaded templates doesn't get cleaned up after the SSVM handling it is destroyed
Fixed template sync code to include templates in 'NotUploaded' and 'UploadInProgress' states along with 'Active'.
2015-07-29 13:40:43 +05:30
sanjeev 7f7026ace5 CLOUDSTACK-8634: Made changes to test_security_group.py test suite to support EIP
Signed-off-by: Pierre-Luc Dion <pdion891@apache.org>
2015-07-26 10:39:15 -04:00
Koushik Das ab7c9e4098 CLOUDSTACK-8655: [Browser Based Upload Volume] Partially uploaded volumes are not getting destroyed as part of storage GC
As part of volume sync, that runs during of SSVM start-up, the volume_store_ref entry was getting deleted. Volume GC relies on this entry to move volume to destroyed state.
Since the entry was getting deleted, GC thread never moved the volume from UploadError/UploadAbandoned to Destroyed. Fix is to not remove the volume_store_ref entry as part
of volume sync and let GC thread handle the clean up.

This closes #611
2015-07-22 19:05:47 +05:30
nitt10prashant b400608162 CLOUDSTACK-8639:fixing calculation mistakes in component/test_ss_domain_limits.py
This closes #595
2015-07-20 14:41:52 +05:30
Daan Hoogland a6f17b33e8 style: leading space removed
This closes #189
2015-07-17 13:35:37 +02:00
wilderrodrigues 20be22c698 CLOUDSTACK-8616 - Removing the Priority form KeepaliveD configuration
- We use no preempt mode with state set as EQUAL to both nodes, no need to have Priotities setup
   - Do not add IPs as comments to the configuration. If a new guest interface is added, the file will change anyway.
     - This was used in the past when keepalived would restart for each new interface added
   - Removed the long sleep form the tests: we now sleep 5 seconds per PF rule added

CLOUDSTACK-8616 - Fix keepalived.ts/2 files comparison

   - Add call to set_fault() in case of router transits to that state
   - Removing commented out code

CLOUDSTACK-8616 - Fixing check_heartbeat.sh.templ

CLOUDSTACK-8616 - Call set_fault from the check_heartbeat.sh script

Signed-off-by: wilderrodrigues <wrodrigues@schubergphilis.com>
2015-07-16 13:14:48 +02:00
pritisarap12 5eccf88508 CLOUDSTACK-8588 - Remove redundant skip test for LXC
Signed-off-by: wilderrodrigues <wrodrigues@schubergphilis.com>

This closes #526
2015-07-16 09:03:25 +02:00
Gaurav Aradhye d73f64a518 CLOUDSTACK-8582: Skipping unsuitable test cases for simulator
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes #532
2015-07-16 10:30:14 +05:30
pritisarap12 b73e486d02 CLOUDSTACK-8549-Update test_concurrent_snapshots_limits.py asesrt statement
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes #386
2015-07-16 10:26:26 +05:30
nitt10prashant 8e1f01d779 CLOUDSTACK-8626 :[Automation]fixing test/integration/component/test_ps_max_limits.py for lxc hypervisor
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

This closes #579
2015-07-16 10:21:28 +05:30
nitt10prashant 373b2c787e CLOUDSTACK-8631 :changing if condition in component/test_ss_max_limits.py
This closes #585
2015-07-15 13:44:06 +05:30
pavan018 03e8176bab Passing firewal service parameter for LB rule creation
Firewall service parameter addition typos
2015-07-14 15:57:56 +05:30
nitt10prashant 5a8648f958 CLOUDSTACK-8620 :skip test cases if rbd storage is not available in lxc setup
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com>

This closes #570
2015-07-10 15:15:50 +02:00
nitt10prashant efee194b91 CLOUDSTACK-8620 :skip test cases if rbd storage is not available in lxc setup
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com>
2015-07-10 15:15:50 +02:00
Jayapal 3df847dfbb CLOUDSTACK-8324: Added integration tests for dhcp dns offload feature
This closes #568
2015-07-10 09:49:32 +05:30
pavan018 97ed8c3af5 Handling Basic zone failures in startVM with false condition
This closes #569
2015-07-09 15:54:35 +05:30
pavan018 874445dae3 Changes for Regression failures 2015-07-09 15:54:23 +05:30
nitt10prashant 616b0117cf CLOUDSTACK-8583 : fixing issue related to script test/integration/component/test_stopped_vm.py
This closes #567
2015-07-08 16:08:14 +05:30
Ian Southam 820a406d0f Forgot to activate teardown
Signed-off-by: wilderrodrigues <wrodrigues@schubergphilis.com>

This closes #558
2015-07-08 11:19:13 +02:00
Ian Southam 1a93d700dd New test and fixes for vpcr code in 4.6
Signed-off-by: wilderrodrigues <wrodrigues@schubergphilis.com>
2015-07-08 11:19:12 +02:00
nitt10prashant 45781b95b9 CLOUDSTACK-8615 :skip all tests in test_ps_limits.py for lxc
CLOUDSTACK-8615 :skip all tests in test_ps_limits.py for lxc
This closes #565
2015-07-08 11:54:47 +05:30
Rajani Karuturi f1a64902cc Merge branch 'PR-REVIEW-335'
This closes #335
2015-07-06 11:48:38 +05:30
nitt10prashant 896f6b1e5e CLOUDSTACK-8439:Automation for feature CPU/Memory overcommit
CLOUDSTACK-8439:Automation for feature CPU/Memory overcommit
This closes #226
2015-07-06 09:45:26 +05:30
Sudhansu 510fc11319 BUG-ID: CLOUDSTACK-8484 - Hosts without tag are not listed while
listing the hosts for migration for instance with tag
Added marvin test for this issue.
Steps
         1. Create a Compute service offering with the tag.
         2. Create a Guest VM with the compute service offering
            created above.
         3. find hosts to migrate the vm crated above

Validations
         1. Ensure that the offering is created with the
            tag.The listServiceOffering API should list show tag
         2. findHostsForMigration cmd should list both suitable
            and not-suitable hosts
2015-07-03 17:36:54 +05:30
Gaurav Aradhye f18c8f8d9b CLOUDSTACK-8582: Modifying tag for test cases which should not be run on simulator
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #521
2015-06-24 16:52:24 +05:30
wilderrodrigues 4463881be4 Merge branch 'stop_vm' of https://github.com/nitt10prashant/cloudstack into test/pr518
This closes #518

Remark: I had to merge in the old-fashion way (not using the PR alias) due to a problem with the patch
2015-06-24 09:52:26 +02:00
pritisarap12 da72bb9aeb CLOUDSTACK-8574: Skip testcases for LXC if storagePool type is not RBD
Signed-off-by: wilderrodrigues <wrodrigues@schubergphilis.com>

This closes #488
2015-06-24 09:43:55 +02:00
pritisarap12 6f643fc486 CLOUDSTACK-8574: Skip testcases including data disk creation for LXC if storagePool type is not RBD
Signed-off-by: wilderrodrigues <wrodrigues@schubergphilis.com>
2015-06-24 09:43:55 +02:00
pritisarap12 7d70e4975e CLOUDSTACK-8576: Skip tests as snapshots and template are not supported on LXC
Signed-off-by: wilderrodrigues <wrodrigues@schubergphilis.com>

This closes #506
2015-06-24 09:40:08 +02:00
Gaurav Aradhye 230cf2eefa CLOUDSTACK-8582: Tagging test cases which should not be run on simulator accordingly
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #519
2015-06-24 12:50:27 +05:30
nitt10prashant 4577af7206 CLOUDSTACK-8583 :fixing issue related to script test_stopped_vm 2015-06-24 12:31:23 +05:30
nitt10prashant 77508c9d9a CLOUDSTACK-8577: fixing script testpath_disable_enable_zone 2015-06-24 10:50:20 +05:30
nitt10prashant 49451750a9 CLOUDSTACK-8577: fixing script testpath_disable_enable_zone 2015-06-24 10:50:19 +05:30
Sanjeev Neelarapu 66d51c91ea Made misc changes
Reviewed-By: Shweta
2015-06-23 17:47:19 +05:30
Gaurav Aradhye c841d6850e CLOUDSTACK-8579: Fix cleanup operation in few test cases
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #511
2015-06-23 17:36:44 +05:30
Sowmya Krishnan a764d2c09d Move tests to maint/ folder and added few error checking 2015-06-19 15:51:39 +05:30
Gaurav Aradhye 897ea3db76 CLOUDSTACK-8527: Skipping VPC tests on HyperV
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com>

This closes #458
2015-06-18 12:12:46 +02:00
pritisarap12 019f246b35 CLOUDSTACK-8555: Skip volume resize operation for HyperV as it's not
supported

Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #391
2015-06-15 12:49:12 +05:30
Ian Southam 7ba2f2274a Allow test to run on tiny linux templates using busybox
Signed-off-by: wilderrodrigues <wrodrigues@schubergphilis.com>

This closes #381
2015-06-10 22:00:54 +02:00
Gaurav Aradhye e3cfe89053 CLOUDSTACK-8546: Correcting skip test code in testpath_vMotion_vmware.py
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #377
2015-06-10 16:04:10 +05:30
pritisarap12 84bc2e6127 CLOUDSTACK-8549: Update assert statements in testpath_disable_enable_zone.py
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #382
2015-06-10 15:59:45 +05:30
Sanjeev Neelarapu 8f1e0510cd Skipping all unsupported tests on LXC
This closes #379
2015-06-10 13:47:28 +05:30
Gaurav Aradhye 6140db50b3 CLOUDSTACK-8542: Correcting test case in test_vpc_on_host_maintenance.py
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #360
2015-06-08 13:37:37 +05:30
pritisarap12 0326fb3b5c CLOUDSTACK-8308: Updating Disable/enable host testpath as admin user should not be able to deploy vm on disabled host
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #356
2015-06-05 14:08:56 +05:30
Gaurav Aradhye f92a50363c CLOUDSTACK-8515: Skipping snapshots tests on HyperV and LXC hypervisors
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #350
2015-06-04 10:56:28 +05:30
pritisarap12 9c2a1ea81e CLOUDSTACK-8532: Modification in setupClass to skip testcases rather than throwing an exception on "Exceeding connection limit to Netscaler device"
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #343
2015-06-03 15:19:04 +05:30
Gaurav Aradhye f2b1ec2c7d CLOUDSTACK:8515: Skipping snapshot test case for HyperV and LXC
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #347
2015-06-02 16:18:51 +05:30
pritisarap12 d6052a31a3 Modified test_lb_secondary_ip.py file: Local variable accessed as class variable
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com>

This closes #344
2015-06-02 12:33:06 +02:00
Gaurav Aradhye 06f9ee63bb CLOUDSTACK-8534: Fixed import and pep8 issues in test_redundant_router_upgrades.py
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #346
2015-06-02 15:52:11 +05:30
Gaurav Aradhye 8bf59b5393 CLOUDSTACK-8521: Improving logging in test case - test_egress_fw_rules.py
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #345
2015-06-02 13:31:29 +05:30
Abhinav Roy 108a74a6b8 CLOUDSTACK-8487 : Add vMotion related tests
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #268
2015-06-02 12:01:12 +05:30
Gaurav Aradhye 900b656d12 CLOUDSTACK-8527: Skipping VPC tests on HyperV
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #326
2015-05-29 15:15:52 +05:30
sanjeev fabbfe5f9a If storage pool of type RBD is not found then skip the tests for LXC
This closes #320
2015-05-27 18:48:29 +05:30
Gaurav Aradhye d406e5b83e CLOUDSTACK-8518: Fix issues in testpath_disable_enable_zone.py
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #319
2015-05-27 18:27:21 +05:30
Priti Sarap c961f2f14d CLOUDSTACK-8476: Disable enable zone pod cluster and host: --Test cases for testing the behavior of resources running on zone, cluster, pod, host and admin/non-admin user after disabling the zone, cluster, pod, host respectively 2015-05-27 14:25:11 +05:30
sanjeev 57e02f16ee Snapshot tests are not supported on Hyper-v so skipping the tests 2015-05-27 14:19:43 +05:30
sanjeev dce34ad747 Skip snapshot tests since it is not supported on LXC
This closes #314
2015-05-27 12:45:31 +05:30
sanjeev 90847df531 Skip vm migration code from the test since it is not supported on LXC 2015-05-27 11:50:00 +05:30
Gaurav Aradhye f2178af317 CLOUDSTACK-8515: Skip snapshot test cases for HyperV and LXC
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #311
2015-05-27 11:41:40 +05:30
Gaurav Aradhye 3a7ad46725 CLOUDSTACK-8514: test_haproxy.py - Verifying router state before validating network rules
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #309
2015-05-27 10:19:51 +05:30
Gaurav Aradhye 0552039a8a CLOUDSTACK-8445: Keep only dvs tag for test case which tests the VCenter port groups
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #300
2015-05-26 12:13:42 +05:30
Gaurav Aradhye b9a0b88078 CLOUDSTACK-8512: Fixed test script issues in test_escalations_hosts.py
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #299
2015-05-25 18:47:52 +05:30
Gaurav Aradhye c6b3fe2c57 CLOUDSTACK-8511: Moved file test_escalations_hosts.py to maint folder
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #298
2015-05-25 18:37:04 +05:30
sanjeev dfafb441b0 CLOUDSTACK-8509: Skip snapshot tests for LXC and Hyper-V
This closes #296
2015-05-25 18:03:14 +05:30
sanjeev e6de9abeb4 CLOUDSTACK-8508 Install wget package inside LXC vm
This closes #295
2015-05-25 17:04:34 +05:30
sanjeev 345db34583 CLOUDSTACK-8507: Added code to install httpd package inside vm if not found
This closes #287
2015-05-22 18:59:05 +05:30
Gaurav Aradhye 424b5bb8d0 CLOUDSTACK-8492: Fix string case issue
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #284
2015-05-22 15:41:13 +05:30
sanjeev 67ad418299 CLOUDSTACK-8504: Remove creating network with RVR by default
This closes #283
2015-05-22 12:30:16 +05:30
Koushik Das 1cd2e9bc44 Merge branch 'CLOUDSTACK-8301' of https://github.com/apache/cloudstack 2015-05-22 09:47:59 +05:30
Gaurav Aradhye 166df0f153 CLOUDSTACK-8394: Skipping recurring snapshot test cases for Hyperv and LXC
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #267
2015-05-20 11:36:15 +05:30
nitt10prashant b776cbc214 CLOUDSTACK-8471:Automation for feature Enable configuring local storage use for system VMs at zone level
Signed-off-by: Koushik Das <koushik@apache.org>

This closes #253
2015-05-19 21:32:14 +05:30
Gaurav Aradhye dacdf97427 CLOUDSTACK-8482: Enhacing recurring snapshots test cases
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #260
2015-05-19 16:57:37 +05:30
Gaurav Aradhye 19c436fd59 CLOUDSTACK-8481: Adding test cases for validating global limit on concurrent snapshots
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #252
2015-05-19 15:25:29 +05:30
pritisarap12 f6789532b0 CLOUDSTACK-8476: Disabling Zone, Pod, Cluster: --Test cases for testing the behaviour of resources running on zone and admin/non-admin user after disabling the Zone
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #242
2015-05-18 12:18:15 +05:30
Gaurav Aradhye b1f2e598e8 CLOUDSTACK-8468: Correct test case in test_bugs.py
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #251
2015-05-13 16:40:00 +05:30
Gaurav Aradhye fcd74d5fef CLOUDSTACK-8453: Fix DB result check in test_VirtualRouter_alerts.py
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #239
2015-05-08 19:44:51 +05:30
Daan Hoogland 1c408dec37 Merge branch '4.5' after 4.5.1 vote passes 2015-05-07 16:03:26 +02:00
Gaurav Aradhye 5ba904abc2 CLOUDSTACK-8450: Fix method calls in test_escalations_hosts.py
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #235
2015-05-07 14:12:59 +05:30
Gaurav Aradhye 6c3dc15fcb CLOUDSTACK-8394: Skip test cases through setUp() instead of setUpClass()
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #231
2015-05-06 16:25:32 +05:30
Abhinandan Prateek fb0bfd5d4f CLOUDSTACK-8429: disabling unit test for faster build 2015-05-01 12:35:03 +05:30
Gaurav Aradhye dc3c43e607 CLOUDSTACK-8394: Skipping snapshots test cases for HyperV and LXC
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #212
2015-04-30 07:49:14 +05:30
Rajani Karuturi 0b8355920e Merge branch 'volume-upload' into master
This closes #206
2015-04-29 11:12:53 +05:30
manasaVeloori 23f4c022c2 To Verify that list templates by domain admin is not listing the templates of other Domains.....Made changes as per comments 2015-04-24 15:10:24 +05:30
manasaVeloori 293b9852c5 To Verfiy that list templates by domain admin is not listing the templates of other domains 2015-04-24 15:10:22 +05:30
sanjeev 5b7527e2da Incorporated review comments provided in PR#183 2015-04-22 15:51:01 +05:30
sanjeev 0bae300fa2 Removed tag from the attr 2015-04-22 15:50:59 +05:30
sanjeev 2de64bcc91 Added additional verification steps to make sure that removing secondary ip from nic works fine 2015-04-22 15:50:58 +05:30
shweta agarwal 52b630fcbd incorporated review comments 2015-04-22 15:44:59 +05:30
shweta agarwal cf3a8c0d2b verifying template creation permission 2015-04-22 15:40:41 +05:30
sailajamada ed7be383de Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cloudstack 2015-04-20 15:24:12 +05:30
sailajamada d08d60b2f3 Interop API Additional scenarios 2015-04-20 15:22:31 +05:30
Gaurav Aradhye 46c35e2401 CLOUDSTACK-8390: Skipping VPC tests on Hyperv
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #179
2015-04-17 21:00:58 +05:30
sailajamada 6db212d413 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cloudstack 2015-04-17 17:24:37 +05:30
sailajamada 9d0cc12272 Interop API Validation 2015-04-17 17:23:52 +05:30
Gaurav Aradhye 48f3325820 CLOUDSTACK-8388: test_VirtualRouter_alerts.py - Fix wait time and pep8 issues
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #173
2015-04-16 09:42:43 +05:30
Gaurav Aradhye 8558adb508 CLOUDSTACK-8388: test_accounts.py - Fixing pep8 issues
Signed-off-by: Gaurav Aradhye <gaurav.aradhye@clogeny.com>
This closes #171
2015-04-15 17:31:51 +05:30
Gaurav Aradhye e81161def8 CLOUDSTACK-8374: Adding tests for guest traffic port group verification - VPC network 2015-04-14 18:17:17 +05:30
Gaurav Aradhye 9777e90504 CLOUDSTACK-8374: Adding tests for guest traffic port group verification - Shared and Isolated networks 2015-04-14 18:17:17 +05:30
KC Wang 01864ef77c CLOUDSTACK-6697: bigswitch networking plugin update
1. provide compatibility with the Big Cloud Fabric (BCF) controller
   L2 Connectivity Service in both VPC and non-VPC modes
2. virtual network terminology updates: VNS --> BCF_SEGMENT
3. uses HTTPS with trust-always certificate handling
4. topology sync support with BCF controller
5. support multiple (two) BCF controllers with HA
6. support VM migration
7. support Firewall, Static NAT, and Source NAT with NAT enabled option
8. add VifDriver for Indigo Virtual Switch (IVS)

This closes #151

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-04-09 13:02:02 +05:30
sanjeev 40943e85ca Hosts without tag are not listed while listing the hosts for migration for instance with tag 2015-04-09 10:53:59 +05:30
shweta agarwal 974c56423d Restore VM verification tests
This closes #148
Signed-off-by: SrikanteswaraRao Talluri<talluri@apache.org>
2015-04-08 12:39:16 +05:30
sailajamada 7c2c9b4e47 Additional automated test paths for browser based templates 2015-04-08 09:08:33 +05:30
sailajamada 55ee1ecd84 Additional automated test paths of browser based volume 2015-04-08 08:06:34 +05:30
shweta agarwal 433e6a2bd4 added two test case related to restore VM functionality 2015-04-07 11:16:20 +05:30
sailajamada 0d06dbd077 Browser bases Template additional scenarios 2015-04-06 23:57:39 +05:30
sailajamada 651f8c9339 Browser Based Volume additional test scenarios 2015-04-04 20:31:27 +05:30
sailajamada 736f7042f3 Automation script changes with additional cases 2015-04-02 09:31:34 +05:30
Gaurav Aradhye ed979b159f CLOUDSTACK-8330: Adding dvs tag to test cases which can be run on DVS configuration on vmware
This closes #136

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-03-31 12:37:39 +05:30
sadhu a05f1b2fdb cloudstack-8218
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-03-30 16:06:20 +05:30
sadhu 26123dd079 CLOUDSTACK-8218:added missing scenrio and additional checks for betterdebugging
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-03-30 16:06:19 +05:30
Rohit Yadav 0540ba1b30 systemvm: fix socat usage
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 888f67f0bd)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-30 13:50:39 +05:30
Rohit Yadav 888f67f0bd systemvm: fix socat usage
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-30 13:49:15 +05:30
Gaurav Aradhye 02d322189d CLOUDSTACK-8344: Fixed SSH failures in test_haproxy.py test suite
This closes #130
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-03-30 11:09:53 +05:30
prashant kumar mishra dede9d94fe CLOUDSTACK-8343:modifying update method in Configurations to take **kwargs 2015-03-30 10:55:31 +05:30
sailajamada 5e7baa5a55 Updated Test automation scripts 2015-03-30 09:50:30 +05:30
sailajamada 98306c356a Updated Browser Based Volume Automation Script changes 2015-03-26 10:12:15 +05:30
Abhinav Roy ead41f9215 changes made after second review
Signed-off-by: Sowmya Krishnan <sowmya.krishnan@citrix.com>
2015-03-24 17:46:22 +05:30
Gaurav Aradhye 191bcdd439 CLOUDSTACK-8251: Adding automation test cases for dedicated public IP ranges
This closes #128

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-24 16:56:33 +05:30
Gaurav Aradhye c09427401a CLOUDSTACK-8340: Adding test case for stop/start operation for VPC router
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
 This closes #122
2015-03-23 15:57:12 +05:30
sailajamada 5c06f2bbd4 Browser Based Template Automation Changes 2015-03-23 15:19:17 +05:30
sailajamada f22bd7a79e Browser Basesd Test Template changes 2015-03-23 09:58:02 +05:30
Gaurav Aradhye 8031b62b7f Adding more test case for shared network
This closes #120
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-03-20 17:32:25 +05:30
Gaurav Aradhye 02c7bc0201 CLOUDSTACK-8336: Adding test for shared network restart, with and without cleanup
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-03-20 17:32:14 +05:30
Gaurav Aradhye 62a733e8cf CLOUDSTACK-8330: Tagging test cases which should be run with vmware dvs configuration
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-03-20 17:20:55 +05:30
SrikanteswaraRao Talluri 5cea73d413 Revert "Merge branch '8330' of https://github.com/gauravaradhye/cloudstack"
This reverts commit f4498c48e3, reversing
changes made to 7a2e27c3b3.
2015-03-20 17:14:07 +05:30
Gaurav Aradhye 104ea2b5ef CLOUDSTACK-8330: Tagging test cases which should be run with vmware dvs configuration 2015-03-20 10:28:39 +05:30
Antonio Fornie 09bd847040 Vpc redundancy enabled. Including Vpc & Vpc Offering creation. Marvin tests and UI. 2015-03-16 11:38:05 +01:00
sailajamada aad9b8a51f Added global config validation test 2015-03-12 16:57:48 +05:30
Gaurav Aradhye d8bb1fad5e CLOUDSTACK-8286: Adding Basic validation test case to test deploying VM from ISO and correcting old regression test case to test HA VM from ISO
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-03-12 11:10:08 +05:30
sailajamada 8840d90ea8 Modified few lines 2015-03-12 09:02:46 +05:30
sailajamada db7964fb11 Test Automation Scripts for Browser Bases Upload volumes and templates with testdata config changes 2015-03-10 21:39:55 +05:30
Gaurav Aradhye 1fd401ff43 CLOUDSTACK-8299: Adding additional test case to test ingress rules with two security groups together
This closes #102

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-10 10:20:46 +05:30
Gaurav Aradhye 6da65eca88 CLOUDSTACK-8299: Adding test case to test security group ingress rules for a specific IP set
Signed-off-by: Pierre-Luc Dion <pdion891@apache.org>
2015-03-08 11:12:12 -04:00
sailajamada f22760a9ad Modified Browser Volume Test 2015-03-08 20:07:54 +05:30
sailajamada fa7ef95817 Automated Script To Validate Browser Based Volume LifeCycle Test Scenarios 2015-03-04 09:16:43 +05:30
Gaurav Aradhye f393199325 CLOUDSTACK-8277: Code improvement - test_shared_networks.py, test_multiple_ip_ranges.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-26 13:05:45 +05:30
Gaurav Aradhye 53bae00801 CLOUDSTACK-8269: Code changes in primary storage test cases as per recent change in product behavior
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-20 20:03:45 +05:30
Gaurav Aradhye ba08229ff9 CLOUDSTACK-8264: Code improvement - test_stopped_vm.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-20 19:59:37 +05:30
Gaurav Aradhye e768d702cb CLOUDSTACK-8261: test_haproxy.py - Remove the code checking AppCookle and LbCookie Stickiness policies
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2015-02-17 18:33:24 +05:30
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 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
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