summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Remove unused methods"4Jenkins2015-04-292-23/+0
|\
| * Remove unused methodsAndrea Frittoli (andreaf)2015-04-272-23/+0
| | | | | | | | | | | | Cleanup a few unused methods. Change-Id: I149246366527adeb38765559d09907a80c141593
* | Merge "Switch all uses of httplib to import from six"Jenkins2015-04-293-3/+3
|\ \
| * | Switch all uses of httplib to import from sixMatthew Treinish2015-04-233-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | As part of enabling python3 support in tempest we need to be able to handle httplib usage in both python2 and python3. Six provides a compat layer for doing this, so this commit moves all uses of httplib to get it through six. Change-Id: Ibf1d87908fe4004b37320439386abe5b1dc4bb51
* | | Merge "Initial class creds creation in test base class"Jenkins2015-04-2927-259/+132
|\ \ \ | | |/ | |/|
| * | Initial class creds creation in test base classAndrea Frittoli2015-04-2727-259/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Each test class may now define at class level which credentials are needed, and they will be allocated automatically by the base class. To start using this a test class that requires network resources must implement the setup_credentials method and define the required resources before super is invoked. In this patch this only affects the creation of credentials as defined in the various base classes. Other tests will be migrated as part of the resource-cleanup bp. Note that this changes baremetal, identity and orchestration tests to honour the tenant isolation settings. Partially-implements: bp resource-cleanup Change-Id: Id36a6ebddb618a78cee7025c9537cd1e2746190e
* | | Merge "Switch all uses of ConfigParser to import from six"Jenkins2015-04-281-1/+1
|\ \ \ | | |/ | |/|
| * | Switch all uses of ConfigParser to import from sixMatthew Treinish2015-04-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | As part of enabling python3 support in tempest we need to be able to handle ConfigParser usage in both python2 and python3. Six provies a compat layer for doing this, so this commit moves all uses of ConfigParser to get it through six. Change-Id: Ie4a788dc9b9151557e9f197fb48f3225c39de89f
* | | Merge "remove gate tag (part 3)"Jenkins2015-04-282-11/+3
|\ \ \
| * | | remove gate tag (part 3)Sean Dague2015-04-272-11/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes the infrastructure around automatically adding gate tags to smoke tagged tests, and the tests associated with it. Change-Id: I54903580ccb94d52ce7f8915e4820326f6395405
* | | | Merge "remove gate tag (part 2)"Jenkins2015-04-2849-351/+351
|\ \ \ \ | |/ / /
| * | | remove gate tag (part 2)Sean Dague2015-04-2749-351/+351
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes all the gate tags from negative tagged tests. The gate tag is obsolete, and it's existence in the code just makes for confusion. Change-Id: I2564d56fe1e0e21a88f3e1b19da8b644864d57cf
* | | | Merge "remove gate tag (part 1)"Jenkins2015-04-28109-461/+0
|\ \ \ \ | |/ / /
| * | | remove gate tag (part 1)Sean Dague2015-04-27109-461/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes all bare gate attribute tags from functions, the gate tag was a never fully implemented idea in the past, and it's existence in the code mostly just confuses people. Change-Id: I462ca7a8cadeb5013e2bce44ed1e69bcf8f9d968
* | | | Merge "Switch all uses of urlparse to import from six"Jenkins2015-04-2712-17/+16
|\ \ \ \ | | |/ / | |/| |
| * | | Switch all uses of urlparse to import from sixMatthew Treinish2015-04-2312-17/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As part of enabling python3 support in tempest we need to be able to handle urlparse usage in both python2 and python3. Six provies a compat layer for doing this, so this commit moves all uses of urllparse to get it through six. Change-Id: Ic9c15d90fd3b8413fec4d01a070cc167f7536e62
* | | | Merge "Adjust registration of ami image in boto tests"Jenkins2015-04-271-1/+10
|\ \ \ \ | |_|_|/ |/| | |
| * | | Adjust registration of ami image in boto testsFeodor Tersin2015-04-071-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adjust registration of ami image in boto tests to be compatible with stackforge ec2api. This change set kernel_id and ramdisk_id properties of an ami image. As a result the image could be used to run an instance without specifying of these additional images. Nova EC2 doesn't support set of these attributes in register image operation (LP #954335). So a run operation must specify both of them. Ec2api doesn't support specifying these in run operation (LP #1441138). So registration of ami image must set both of them. Now both requirements are satisfied, thus this testcase should work properly for both Nova EC2 and ec2api. Change-Id: I36ef88a561e60fb5dc3e687cb8bc02b27ec2e814
* | | | Merge "Cleanup some details about the accounts files"Jenkins2015-04-272-9/+15
|\ \ \ \
| * | | | Cleanup some details about the accounts filesMatthew Treinish2015-04-242-9/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit cleans up some details in the accounts.yaml sample file and the tempest configuration guide to provide missing details about how to create and use an accounts file. Specifically it adds more detailed comments to the sample file about each section, and in the config guide it removes obsolete sections and adds some missing details. Change-Id: Ic11335fe1215ab0625ea2308ccc75d22a284c432 Closes-Bug: #1447851
* | | | | Merge "Fix non-locking test accounts doc section"Jenkins2015-04-271-15/+14
|\ \ \ \ \ | |/ / / /
| * | | | Fix non-locking test accounts doc sectionMatthew Treinish2015-04-211-15/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit fixes several issues with the non-locking cred provider section in the tempest config guide. It was in a state stuck between refactors and didn't accurately describe how it should be used anymore. Change-Id: Ibc6ca1816f6673e2c8dbd6ae3451e03914f04137
* | | | | Merge "Add a paragraph on the use of tempest_roles option"Jenkins2015-04-271-0/+8
|\ \ \ \ \ | |/ / / /
| * | | | Add a paragraph on the use of tempest_roles optionMatthew Treinish2015-04-211-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds a paragraph to the tempest configuration guide on how to use the tempest_roles option. This was previously missing from the tenant isolation section. Change-Id: I1ef1649186edbeb51e1ced1bbb361b78eaef3721
* | | | | Merge "Switch all uses of StringIO to use it from six"Jenkins2015-04-2711-29/+27
|\ \ \ \ \ | | |_|/ / | |/| | / | |_|_|/ |/| | |
| * | | Switch all uses of StringIO to use it from sixMatthew Treinish2015-04-2311-29/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As part of enabling python3 support in tempest we need to be able to handle StringIO usage in both python2 and python3. Six provides a compat layer for doing this, so this commit moves all uses of StringIO and cStringIO to get it through six. Change-Id: Ie6ac86b3b5ed2c307dc2cc41386da9e5ba1ee23e
* | | | Merge "Merge server response schema into one file"Jenkins2015-04-274-369/+286
|\ \ \ \
| * | | | Merge server response schema into one fileghanshyam2015-04-224-369/+286
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 server response schema into one file and in more readable form. Partially implements blueprint rearrange-nova-response-schemas Change-Id: I028558d03c8633fd3b77e04f28a025f654bc7505
* | | | | Merge "Allow SSH instance with username and password in scenario cases"Jenkins2015-04-271-3/+11
|\ \ \ \ \
| * | | | | Allow SSH instance with username and password in scenario caseswantwatering2015-04-011-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Current scenario test cases only allow SSH with keypair. Here we change the entrance where call SSH client: scenario.manager.get_remote_client(). Check the ssh_auth_method to decide which way should be picked, pass a None private to paramiko if username/password has been chosen and vice versa. Since disable ssh_auth_method makes most of the scenario test cases meaningless, here the disable flag is not checked and the SSH method is either username/password or private key. TO test the modification for username/password authentication with cirros, set tempest.conf as below and run senario test cases: [compute] ... image_ssh_user = cirros image_ssh_password = cubswin:) ssh_auth_method = configured #default is keypair run_ssh = True #If want to test scenario.test_server_basic_opts ... [scenario] ... ssh_user = cirros ... TODO in the next: SSH username and password come from different config options. e.g. some of the scenario cases use compute.image_ssh_password and compute.image_ssh_user, some of them use scenario.ssh_user or input-scenario.ssh_user_regex. And the rest use all of them. It's hard for user to configure for all the cases since they need to modify many places for username, password etc. It's better to use the same place to configure them. Change-Id: I48e3689c4040b18e887284b8eec3a6537c6adb50 Closes-Bug: #1400638
* | | | | | Apply a naming rule of GET to compute clients(a-e)Ken'ichi Ohmichi2015-04-2614-28/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [GET /resources] methods should be "list_<resource name>s" or "show_<resource name>", so this patch applies the rule to compute clients which names are "[a-e].*". Partially implements blueprint consistent-service-method-names Change-Id: Iaa3a295b4d7b06f7d3a7344e427eee02d0c6b96b
* | | | | | Merge "Apply a naming rule of GET to telemetry client"Jenkins2015-04-252-7/+7
|\ \ \ \ \ \
| * | | | | | Apply a naming rule of GET to telemetry clientKen'ichi Ohmichi2015-04-242-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [GET /resources] methods should be "list_<resource name>s" or "show_<resource name>", so this patch applies the rule to telemetry client. Partially implements blueprint consistent-service-method-names Change-Id: I9b5cabf1507c3ba5ad9538b5cd2ee2be5aa29939
* | | | | | | Merge "Add logging of account allocation to accounts provider"Jenkins2015-04-241-0/+10
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Add logging of account allocation to accounts providerMatthew Treinish2015-04-201-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds a log message to the locking accounts cred provider to indicate when it has allocated a set of credentials successfully from the accounts file. Right now when reading the tempest log file during a run when using an accounts file there is no way to tell which accounts where returned by the cred provider. This adds a info log msg similar to what we log in isolated creds when it creates a new set of creds. This should make it easier to trace through when credentials are being allocated from the accounts file. Change-Id: I82af7a3cba1e62cada94a9f4220666f1733e0575
* | | | | | | Merge "Fixing spelling errors in messages when tests are skipped"Jenkins2015-04-241-3/+3
|\ \ \ \ \ \ \
| * | | | | | | Fixing spelling errors in messages when tests are skippedYaroslav Lobankov2015-04-221-3/+3
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | Change-Id: I733b251e197d8704625ccfe4ae61c71f18560fc9
* | | | | | | Merge "Add version and min_version to version API schema"Jenkins2015-04-241-1/+5
|\ \ \ \ \ \ \
| * | | | | | | Add version and min_version to version API schemaKen'ichi Ohmichi2015-04-151-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit-id Id464a07d624d0e228fe0aa66a04c8e51f292ba0c of Nova, version and min_version have been added to Nova's version API response. These parameters notice available API microversions to clients. This patch adds them to the response schema of version API. Change-Id: Ic349d549ea223369a07a37795eb6e0a14849a2ee Related-Bug: #1443375
* | | | | | | | Merge "Rename an internal method to _helper_list()"Jenkins2015-04-241-6/+6
|\ \ \ \ \ \ \ \
| * | | | | | | | Rename an internal method to _helper_list()Ken'ichi Ohmichi2015-04-131-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | helper_list() is just a helper method for "list_<resoruces>" of telemetry_client and it is used in telemetry_client only. telemetry_client will be migrated to tempest-lib and we need to clarify whether each method is external or internal. This patch renames the method for clarifying an internal method. Partially implements blueprint consistent-service-method-names Change-Id: I12922cf1ca968eb1d9d793879aa22921cc39a56b
* | | | | | | | | Merge "Add section to config guide for setting up services"Jenkins2015-04-231-0/+41
|\ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ / | |/| | | | | | |
| * | | | | | | | Add section to config guide for setting up servicesMatthew Treinish2015-04-211-0/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds a section to the config guide on how to configure the available services and the corresponding entries in the service catalog for those services. Change-Id: I70d7feb47b2df4b6caf9d38d8e79b59bb30fb894
* | | | | | | | | Merge "Add config guide section on service feature enabled sections"Jenkins2015-04-231-0/+35
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / /
| * | | | | | | | Add config guide section on service feature enabled sectionsMatthew Treinish2015-04-211-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds another section to the tempest config guide outlining how the service feature enabled sections should be configured. Change-Id: Iaedf744068b3f91f72144efcaab5d9eaeb9adb0c
* | | | | | | | | Merge "Add configuration guide sections for more required options"Jenkins2015-04-231-0/+84
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / /
| * | | | | | | | Add configuration guide sections for more required optionsMatthew Treinish2015-04-201-0/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds additional sections to the tempest configuration guide to elaborate on the details of several required options when configuring tempest. Specifically this covers how to set the keystone connection info, flavors to use for testing, and image setup. Change-Id: I5a72443a3b05e39eba2eac1c4c9a4d6eef26797d
* | | | | | | | | Merge "Start a tempest config guide networking section"Jenkins2015-04-231-0/+88
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / /
| * | | | | | | | Start a tempest config guide networking sectionMatthew Treinish2015-04-201-0/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds a networking section to the tempest configuration guide to start explaining the various facets of networking configuration. Right now it only contains a guide around how to configure tempest to provide a network on server creation. Additional subsections will be added later on. Change-Id: Ibdfd8becce18de0ef414027d5e7c580f852607a7
* | | | | | | | | Merge "Decouple Sahara templates test from vanilla plugin"Jenkins2015-04-233-63/+336
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / |/| | | | | | | |