| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| |
| | |
Cleanup a few unused methods.
Change-Id: I149246366527adeb38765559d09907a80c141593
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This removes the infrastructure around automatically adding gate tags
to smoke tagged tests, and the tests associated with it.
Change-Id: I54903580ccb94d52ce7f8915e4820326f6395405
|
|\ \ \ \
| |/ / / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\ \ \ \
| |/ / / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\ \ \ \
| | |/ /
| |/| | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\ \ \ \
| |_|_|/
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
|\ \ \ \ \
| |/ / / / |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
|\ \ \ \ \
| |/ / / / |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
|\ \ \ \ \
| | |_|/ /
| |/| | /
| |_|_|/
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
|\ \ \ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
[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
|
|\ \ \ \ \ \ |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
[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
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
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
|
|\ \ \ \ \ \ \ |
|
| | |_|/ / / /
| |/| | | | |
| | | | | | |
| | | | | | | |
Change-Id: I733b251e197d8704625ccfe4ae61c71f18560fc9
|
|\ \ \ \ \ \ \ |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
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
|
|\ \ \ \ \ \ \ \ |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
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
|
|\ \ \ \ \ \ \ \ \
| | |_|_|_|_|_|/ /
| |/| | | | | | | |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
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
|
|\ \ \ \ \ \ \ \ \
| |/ / / / / / / / |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This commit adds another section to the tempest config guide outlining
how the service feature enabled sections should be configured.
Change-Id: Iaedf744068b3f91f72144efcaab5d9eaeb9adb0c
|
|\ \ \ \ \ \ \ \ \
| |/ / / / / / / / |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
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
|
|\ \ \ \ \ \ \ \ \
| |/ / / / / / / / |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
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
|
|\ \ \ \ \ \ \ \ \
| |_|_|_|_|_|_|/ /
|/| | | | | | | | |
|