summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | Decouple Sahara templates test from vanilla pluginLuigi Toscano2015-03-113-63/+336
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The change introduces a list of template data for node templates and clusters for each plugin. The first known plugin and its first known version are used. At least one default template is added for each plugin, so that all the real deployment can be covered. The tests are skipped if the plugins key in tempest configuration is empty; they fail if no known plugin or no known version for known plugins are found (which probably means that the test configuration should be updated). The list must be maintained; on the other way, after some discussions, the alternative solution - expose all the node group and cluster templates parameters in tempest configuration - would have made the testing more random and too dependent on the cloud operator in charge of running tempest. The list of plugins is not probably going to change massively for each release, so it seems feasible. Change-Id: I397616f7923e696082fe67da3ff9841f89e9a505
* | | | | | | | | Merge "remove swift cli tests"Jenkins2015-04-233-111/+0
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | remove swift cli testsSean Dague2015-04-223-111/+0
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are covered by swiftclient functional testing, no need to have them also in Tempest. These are functionally covered by: http://git.openstack.org/cgit/openstack/python-swiftclient/tree/tests/unit/test_shell.py and http://git.openstack.org/cgit/openstack/python-swiftclient/tree/tests/functional/test_swiftclient.py Change-Id: Iffb75d10ad07d1516660549fc8eb60204aac4904
* | | | | | | | | Direct ssh bash output to /dev/nullItzik Brown2015-04-221-1/+1
| |_|_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using Fedora image the ssh command that executes netcat doesn't return because stdout remanins open. Closes-Bug: 1439065 Change-Id: I41a75a5a262ce184cbbb57c39863af3d8f21ad61
* | | | | | | | Merge "Apply a naming rule of GET to messaging client"Jenkins2015-04-204-16/+16
|\ \ \ \ \ \ \ \ | | |_|/ / / / / | |/| | | | | |
| * | | | | | | Apply a naming rule of GET to messaging clientKen'ichi Ohmichi2015-04-134-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [GET /resources] methods should be "list_<resource name>s" or "show_<resource name>", so this patch applies the rule to messaging client. Partially implements blueprint consistent-service-method-names Change-Id: Ibae5f78b3dee12dbab5095872b8d868fbfec7f5d
* | | | | | | | Merge "Adding port_admin_state_change option to config"Jenkins2015-04-203-0/+11
|\ \ \ \ \ \ \ \
| * | | | | | | | Adding port_admin_state_change option to configItzik Brown2015-04-123-0/+11
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding the ability to skip test_update_instance_port_admin_state when this operation is not supported by the test environment. Closes-Bug: 1436839 Change-Id: Icda251c46e2fefcc80b0c712d6f42d76a7d247b7
* | | | | | | | Merge "Fix test accounts unit test race with networks"Jenkins2015-04-201-8/+11
|\ \ \ \ \ \ \ \
| * | | | | | | | Fix test accounts unit test race with networksMatthew Treinish2015-04-201-8/+11
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the unit tests for the accounts providers were assuming that all tests would be run in order. This was causing an occasional failure when 1 of 2 accounts with a network in the fake accounts list were used for a test not mocking the network clients. This commit addresses this issue by changing the fake test list in setUp to not use accounts with networks. Then the test which does test accounts with networks will do a cleanup on the mock from setup and use it's own accounts list. Closes-Bug: #1446309 Change-Id: Id7eedc4f9063f33287c945ed72edd59f52d80952
* | | | | | | | Merge "Revert "Test creation of server attached to created port""Jenkins2015-04-201-19/+0
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | Revert "Test creation of server attached to created port"Matt Riedemann2015-04-191-19/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 2b34ec3ff444e6e6ec7b3e52832ecd6e8ca20552 This breaks gate-grenade-dsvm-ironic-sideways on stable/juno because the requested port's mac address is not in the list of available mac addresses from the ironic driver. It's also unclear how useful this is given we already have the test_preserve_preexisting_port test which is essentially testing the same scenario, except it's not run on stable/icehouse or stable/juno since preserving pre-existing ports in nova wasn't fixed until Kilo. Change-Id: I24403c1ae734b2137ddee5c3bf5a1594cf5375d8 Closes-Bug: #1445917
* | | | | | | | Merge "Test creation of server attached to created port"Jenkins2015-04-171-0/+19
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | Test creation of server attached to created portabhishek600147262015-04-091-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add test to creation of server attachec to user created port - Create security group - Create network, subnet, router - Create port with security group - Call a function to create a server with port id - Check public network connectivity Change-Id: I7aad651c5b1899d21f3c4b1c11d67b523ae6e727
* | | | | | | | Merge "Add network support to the accounts providers"Jenkins2015-04-165-71/+137
|\ \ \ \ \ \ \ \ | | |_|_|_|/ / / | |/| | | | | |
| * | | | | | | Add network support to the accounts providersMatthew Treinish2015-04-145-71/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commits adds support for specifying the network to use with a user/tenant into the accounts.yaml file. You can only specify a single network which will be the network used for all that requires a pre-existing network. This also means regardless of which cred provider is configured the fixed_network can assume a TestResource object will be returned from a get_creds call. As part of this change a common method to return the full network dict from a just a network name is abstracted out into tempest.common.fixed_network module since this same method is needed to have the accounts file provide a network by name. Partially-implements: bp test-accounts-continued Change-Id: I6f5ac1239d18f2935847b385a08de608f40fdda5
* | | | | | | | Merge "Improve logging in fixed_networks"Jenkins2015-04-161-6/+32
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | Improve logging in fixed_networksMatthew Treinish2015-04-141-6/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit makes some logging improvements to the common methods in fixed_networks.py. Previously it was very difficult to trace through any issues around network selection since it only would log the final result and on failures. It also didn't attribute any messages to the tests making the call. This fixes both issues by first leveraging find_test_caller() from tempest-lib to get the test caller name and secondly add more logging to help trace through the logic if something fails. Additionally as part of this it was necessary to add additional checks to the logic to ensure the logging was accurate and things were in a known state. Change-Id: Ifef67ed4578f48d7701635e7d81c144dc28b6120
* | | | | | | | Merge "Merge flavor response schema into one file"Jenkins2015-04-163-125/+78
|\ \ \ \ \ \ \ \
| * | | | | | | | Merge flavor response schema into one fileYuiko Takada2015-03-313-125/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After removing v3 schemas, we have only 1 set of schemas for v2 (/v2.1) APIs but those end up in scattered structure. Schema files needs to be re arranged into a clean structure. Any resource schema should be defined in single file for better readability. This patch merge the flavor response schema into one file. Partially implements blueprint rearrange-nova-response-schemas Change-Id: I2f660ce072fe199b4ed4d51ac2267b871d82ef83
* | | | | | | | | Merge "Rearrange keypairs response schema into one file"Jenkins2015-04-163-67/+49
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Rearrange keypairs response schema into one fileghanshyam2015-03-203-67/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After removing v3 schemas, we have only 1 set of schemas for v2 (/v2.1) APIs but those end up in scattered structure. Schema files needs to be re arranged into a clean structure. Any resource schema should be defined in single file for better readability. This patch rearrange the keypairs response schema into one file. Partially implements blueprint rearrange-nova-response-schemas Change-Id: I76ed40fbe4999c3ee84c4377a6f14fc3a2a11061
* | | | | | | | | | Merge "Arrange quotas response schema into one file"Jenkins2015-04-164-85/+55
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Arrange quotas response schema into one fileghanshyam2015-03-204-85/+55
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After removing v3 schemas, we have only 1 set of schemas for v2 (/v2.1) APIs but those end up in scattered structure. Schema files needs to be re arranged into a clean structure. Any resource schema should be defined in single file for better readability. This patch merge quotas response schema into one file. Also rename schema names according to their API. Partially implements blueprint rearrange-nova-response-schemas Change-Id: I2378e019353f551a3ac49666edd5ecb561b5b6ed
* | | | | | | | | | Merge "Merge hosts response schema into one file"Jenkins2015-04-163-95/+76
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Merge hosts response schema into one fileHaiwei Xu2015-03-233-95/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge hosts response schema of v2 into v2_1 directory. Partially implements blueprint rearrange-nova-response-schemas Change-Id: I5c71afb8f647b5ea6d033a353808e963e3136a18
* | | | | | | | | | | Merge "FIx Accounts with identity v3 and v2 data in yaml"Jenkins2015-04-162-2/+11
|\ \ \ \ \ \ \ \ \ \ \ | | |_|_|/ / / / / / / | |/| | | | | | | | |
| * | | | | | | | | | FIx Accounts with identity v3 and v2 data in yamlAndrea Frittoli (andreaf)2015-04-132-2/+11
| | |_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When tempest uses identity v3 - either because it's forced by a test, or because it's configured as default, accounts can still work with v2 accounts configured in accounts.yaml, under the assumption that those accounts belong to CONF.identity.admin_domain_name. The domain name is added on the fly to newly created credentials by cred_provider, however this is not accounted for in the get_hash function - fixing that. Change-Id: Id0e72b9a8b85fdc682b9e14c39ecc1d8495ef35c
* | | | | | | | | | Update linux client to support basic MTU testingRichard Winters2015-04-154-7/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BP MTU selection and adervertisement requires sending pkts of known sizes to verify MTU. This patch allows basic MTU testing via the linux_client Change-Id: Ia98ad49bad9ebbf783de599689b4684d31fadca6
* | | | | | | | | | Merge "Add new multi ssh configuration options"Jenkins2015-04-152-35/+97
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Add new multi ssh configuration optionsJoseph Lanoux2015-04-132-35/+97
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch add new configuration options for the multiple strategies for ssh access to VMs. Partially implements: blueprint ssh-auth-strategy Change-Id: I16cdbe0982aa35b752828054b6be2cae6c51c6ef
* | | | | | | | | | Merge "Deprecates 'format' in Javelin image description"Jenkins2015-04-151-3/+14
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / / |/| | | | | | | | |
| * | | | | | | | | Deprecates 'format' in Javelin image descriptionJoe H. Rahme2015-03-131-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Javelin uses the same field to describe disk format and container format. This only works for ami images. This patch replaces the field 'format' in the resource file with 2 new fields: 'disk_format' and 'container_format'. For backwards compatibility 'format' is still supported, but marked as deprecated in the comments of Javelin. Closes-bug: #1429909 Change-Id: Ic199956d11f8be974374b0f3c2cd7bdfedc90c8d
* | | | | | | | | | Merge "Make this script work with keystone v2 and v3"Jenkins2015-04-141-2/+8
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Make this script work with keystone v2 and v3David Kranz2015-04-081-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ic3871eeadd77945ff70f925892e25d36435075fd
* | | | | | | | | | | Merge "Fix external connectivity check for dualstack"Jenkins2015-04-142-7/+16
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / |/| | | | | | | | | |
| * | | | | | | | | | Fix external connectivity check for dualstackAndrew Boik2015-04-102-7/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch modifies the _check_network_external_connectivity() method in test_network_basic_ops such that it asserts there exists one IPv4 subnet (instead of one subnet of any address family) and such that it tests external connectivity to only the IPv4 subnet (in the case of a dualstack external network). The external connectivity test currently relies on SSH'ing to an instance through its floating IP and pinging the external gateway IP. To test IPv6 external connectivity, this test would have to be modified to SSH to an instance's IPv6 GUA address and use the ping6 utility to ping the external IPv6 gateway address. That enhancement is outside the scope of this patch and can be implemented in the future. Change-Id: I0f9ea98cb84aa72cb1505fb9ff8ac61561cc1376 Closes-Bug: #1440226 Partially-implements: blueprint multiple-ipv6-prefixes
* | | | | | | | | | | Merge "Apply a naming rule of GET to orchestration client"Jenkins2015-04-108-32/+37
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Apply a naming rule of GET to orchestration clientKen'ichi Ohmichi2015-04-078-32/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [GET /resources] methods should be "list_<resource name>s" or "show_<resource name>", so this patch applies the rule to orchestration client. Partially implements blueprint consistent-service-method-names Change-Id: I5a0d046d3811d48d3e4bddae8b0f022762c621c8
* | | | | | | | | | | | Merge "Apply a naming rule of GET to volume client"Jenkins2015-04-1033-140/+126
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / /
| * | | | | | | | | | | Apply a naming rule of GET to volume clientKen'ichi Ohmichi2015-04-0733-140/+126
| | |_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [GET /resources] methods should be "list_<resource name>s" or "show_<resource name>", so this patch applies the rule to volume client. Partially implements blueprint consistent-service-method-names Change-Id: I843dd43293f40bf673a033b1dbf24e035bc8f0c3
* | | | | | | | | | | Merge "Remove EC2 test case that incompatible with Amazon"Jenkins2015-04-101-44/+0
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Remove EC2 test case that incompatible with AmazonAndrey Pavlov2015-04-071-44/+0
| |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This test tries to allocate address and disassociate it without association. Amazon allows to do it for EC2-classic and does not throw error. But EC2 implementation in Nova throws error. We have the same test in our own test suite against stackforge/ec2-api (but it's not merged yet) and I checked it against Amazon - https://review.openstack.org/#/c/171050/ I suggest to remove this test from tempest as incompatible with Amazon. Also because of EC2 is deprecated in nova and can't be fixed. Change-Id: I711314408ec7c4ea75f93348a7335843713e9a2b
* | | | | | | | | | | Merge "Prevent failures when running as non-admin"Jenkins2015-04-094-10/+26
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ / / |/| | | | | | | | | |
| * | | | | | | | | | Prevent failures when running as non-adminDavid Kranz2015-04-074-10/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In some cases a skip method was needed to check for non-admin. In other cases there was already a try/except to handle on-admin but it needed to be changed to use is_admin_available. NegativeAutoTest was changed to push creation of an admin client to the point where the need has been established. Also fixed some skip_checks methods to call super first. Change-Id: Ie58135285a4c95c2eed9c0462c4e76af3ad5d97e
* | | | | | | | | | | Merge "Rearrange hypervisors response schemas into one file"Jenkins2015-04-083-242/+162
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Rearrange hypervisors response schemas into one fileghanshyam2015-04-083-242/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After removing v3 schemas, we have only 1 set of schemas for v2 (/v2.1) APIs but those end up in scattered structure. Schema files needs to be re arranged into a clean structure. Any resource schema should be defined in single file for better readability. This patch rearrange hypervisors response schema into one file and merge some of common schema definition. Partially implements blueprint rearrange-nova-response-schemas Change-Id: I21b90b8410ea62a94f8f41ecf714e2158015c6d2
* | | | | | | | | | | | Merge "Allows selection of floating IP pool in Javelin"Jenkins2015-04-081-1/+4
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Allows selection of floating IP pool in JavelinJoe H. Rahme2015-03-291-1/+4
| | |_|_|/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | javelin2 doesn't allow selection of a floating-ip pool which are a necessity to use Javelin on multi-host environments. This patch allows to add this from the resource definition yaml file. Change-Id: Ifdb84dc1e8a220dec18fc043e4175d3855b0677f
* | | | | | | | | | | | Merge "Skip test_volume_boot_pattern until bug 1439371 is fixed"Jenkins2015-04-081-0/+2
|\ \ \ \ \ \ \ \ \ \ \ \