Several docstrings have incorrect format, what prevents to generate
a documentation using sphinx-apidoc extension.
Change-Id: I66431c7030089173d7635c1e2a72765db21f9780
This commit adds servers schema for microversion 2.8 [0]:
Add ‘mks’ protocol and ‘webmks’ type for remote consoles.
The appropriate api_schema files are updated with the
2.8 microversion changes.
Note that no test is added to cover this new microversion
since it isn't possible to test mks protocol in Tempest
gates so as per REVIEWING documentation [1] we shouldn't
add such a test. So, we could only cover the vnc protocol
for 2.8 but this would also not be of much value since
the vnc value (instead of mks) would be returned by the
server.
[0] https://docs.openstack.org/nova/latest/reference/api-microversion-history.html#id7
[1] https://docs.openstack.org/tempest/latest/REVIEWING.html#ensuring-code-is-executed
partially-implements: blueprint full-schema-for-all-microversions
Change-Id: I5a6d2852db8e2a67013eee71a094e9b521a92524
The ‘uuid’ attribute of an aggregate is returned from calls
to the /os-aggregates endpoint from microversion 2.41, so
this is to add 'uuid' in schema of aggregate.
https://docs.openstack.org/nova/latest/reference/api-microversion-history.html#id37
Change-Id: I90e53056ceae5ad6b6ea2995f3f8c6eceea4739a
partially-implements: blueprint full-schema-for-all-microversions
There might be chance that few plugin name and url
does not fit into hard coded column width and give error.
This commit count the column width as per plugins name.
Also display the number of plugins in new SR column.
Change-Id: Ia5736d2581ee3b6f851b8d08f855c2a19c157c47
1. Some limits fields are removed from Microversion 2.35/2.38/2.56,
so we should check limits fields according to microversion.
2. In test_max_metadata_exceed_limit, maxImageMeta is deprecated from
Microversion 2.38, so maxServerMeta is used instead, btw, maxServerMeta
seems to be more suitable for this testcase.
Besides, test_max_metadata_exceed_limit is not used in interop, so we
can safely change its name.
ref: https://developer.openstack.org/api-ref/compute/#show-rate-and-absolute-limits
Implements blueprint: clear-deprecated-api
Change-Id: I53e2ee82c9c52afb0a56526c655eb9b3b6b8f483
This patchset fixes typos (capitalization mistakes,
grammar mistakes) found in the documentation pages.
Change-Id: If500aeab1af7dd8b56d63cbc481ee501216df161
This patch set adds information on test removal, relocation,
renaming to REVIEWING because it is important that such
actions do not break interop. Interop is closely tied to
Tempest because it directly references Tempest tests that
are not only expected to exist, but to also work.
The same is true of breaking blacklist/whitelist
references to Tempest tests, this is also included
in the new documentation section.
It is important that there be REVIEWING guidelines
in place to assist reviewers understand this importance.
Also references are included for defcore/interop to help
users find more information on these topics.
Currently interop is only mentioned in 1 place in Tempest [0]
and yet there is little information about it. This patchset
aims to make it easier to find more information about it
for reviewers and users alike.
[0] http://git.openstack.org/cgit/openstack/tempest/tree/doc/source/test_removal.rst
Change-Id: Ifbde674b42355077fcd8daa07be8be1248b77b0f
This patchset fixes typos (capitalization mistakes, grammar
mistakes) found in the test_removal.rst documentation page.
Change-Id: Ia9a6b9d7a2a151a460a620be9fa6875f2efda00f
This patchset adds update_service to compute module's services_client
library. This API is introduced in microversion 2.53 and supersedes
the following APIs:
* ``PUT /os-services/disable`` (``disable_service``)
* ``PUT /os-services/disable-log-reason`` (``disable_log_reason``)
* ``PUT /os-services/enable`` (``enable_service``)
* ``PUT /os-services/force-down`` (``update_forced_down``)
Negative tests were added for all the APIs above. The negative
tests only test the microversion >= 2.53 case: the new
udpate_service API is called (also with bad parameters).
The v2_11 schema was updated to reference all the unchanged
APIs from v2_1 for the compute services api_schema. Also,
the v2_53 schema was introduced for the new update_service
API and it also references all the unchanged APIs from v2_1.
Finally, unit tests and releasenotes are included.
Change-Id: I5e7b81496cbb87cda81413124b5f82bd5356e666
Compute microversion 2.61 adds 'extra_specs' in flavor APIs response
This commit fill the schema gap for that.
Change-Id: Id1f1e51fbae1cc3d0c9efdcd9009f384745915d6
This patchset fixes some incorrect compute microversion references.
2.54: should have id 49 (was 4)
2.55: should have id 50 (was 49)
2.57: should have id 52 (was 51)
Change-Id: I81d90637fe16e1d5de1e26f50a86f9ff83d355ca
Current doc explaining the stable branches support policy is under
coding guide. But support policy should be at higher level which
can be useful for user or maintainer of Tempest.
Change-Id: Id46e14080559062b4d89e5f7a9acbcd5df09691e
This microversion adds the trusted_image_certificates parameter to the
server rebuild, server create, server update, and servers details
responses.
Change-Id: I48f62d36a871a95601ebf277a2f39a41a873daa8
Implements blueprint: nova-validate-certificates
Compute microversion 2.57 adds 'user_data' in rebuild servers
APIs response.
This commit fill the schema gap for that.
Change-Id: I3472ea78f08b48a8c1bda23147275198a7cd3b0f
This tests nova microversion 2.49, tagged attach of network interfaces
and block devices.
Change-Id: I50b9aa168629457ce8270e456161727bd7b91a86
Implements: blueprint virt-device-tagged-attach-detach
Compute microversion 2.54 adds 'key_name' in rebuild servers
APIs response.
This commit fill the schema gap for that.
Change-Id: I6c46319a873a34d74e8ed1a32ffc0b32c4d04ab2
Microversion 2.47 has changed the response of update
list, and rebuild API also but we did not updated corresponding
response schema.
Also this commits add single test which covers the schema change
of microversions 2.9, 2.19, 2.26 and 2.47.
-https://docs.openstack.org/nova/latest/reference/api-microversion-history.html#id42
Change-Id: I64cc37c78bcded9d4dd85b7003319a17f3ac2137
Compute microversion 2.55 adds 'description' in
flavor APIs response and new API to update the same.
This commit fill the schema gap for that and also
add new updte flavor API in flavors_client lib.
Change-Id: I91c049c3aa9dab5a272369edd18f2c5890d1e5b0
This commit adds 'doc' tag for a bug link on the
openstackdocstheme config. This configuration is used for
documentation bug basically. So, this should be good in most cases.
Change-Id: I11b7a9caef7ef896b39c39ddc2d958b6f0891991
Curly quotes usually input from Chinese input method.
When read from english context, it makes some confusion.
Change-Id: I6209f92de2a5b136c2c16decfe5752f5c44096ff
This adds basic compute API tests for testing a multiattach volume in
Cinder being attached to multiple instances in Nova and then
detaching them.
This change depends on the nova series that adds the support to nova's
libvirt driver.
Devstack change I46b7eabf6a28f230666f6933a087f73cb4408348 is used to
enable this test when using the libvirt driver.
Depends-On: I02120ef8767c3f9c9497bff67101e57e204ed6f4
Depends-On: Iac67f112b0dc9353c6a66e6fbc81cc8324a2b37c
Part of nova blueprint multi-attach-volume
Change-Id: I80c20914c03d7371e798ca3567c37307a0d54aaa
Config option 'resources_prefix' was deprecated. It is
used by only manila plugin which fix has been commited.
This commit removes this config option and hardcode the
resource prefix as 'tempest'
Change-Id: Idce7af97fe6647e3095b2b626fbacb3446694fbc
Depends-On: I9c140b3a9efabeced7fc26cb1f169ebe6789d88b
InstanceActionsV221TestJSON tests v2.21 and
LiveMigrationRemoteConsolesV26Test tests v2.6, so
this is to add v2.21 and v2.6 in microversion_testing doc.
Change-Id: I3a8d76e484e10a10a2a53f5a9b084123eeb7b0d3
This is to fix a misspelled addClassResourceCleanp, which
should be addClassResourceCleanup, in tempest doc
Change-Id: Ie4cdc9680016feca5f75df193077b1f0edce7e4b
In "While there are no hard and fast rules for the structure a plugin"
a preposition is missing between "structure" and "a plugin", this is
to fix it.
Change-Id: Ib22f614dece35d2ed79fa660027e50840e77d7bb
According to api microversion history of Cinder[1], min microversion for
volume groups (create/delete/update/list/show) is 3.13, min microversion
for group snapshots(create/delete/list/show) and create group from group
or group snapshot is 3.14.
While in GroupsTest in Tempest, the min microversion for volume groups is
set to 3.14. This patch aims to refactor the original GroupsTest to correct
the min microversion for volume groups, and also spilt it into two parts,
one for groups tests and the other for group snapshot tests, which will make
the code more clear and readable.
[1] https://docs.openstack.org/cinder/latest/contributor/api_microversion_history.html
Change-Id: Ic98e8892c4a44850d7a7afac9be1aa59ab38bb8c
This commit fixes docs consistency about markups, mainly. Originally,
some of command options were written with strong emphasis. However,
double dashes are converted to a single dash with it. And this commit
also fixes some inconsistencies and weird indentations.
Change-Id: Iff1e8e320dcb1fa69ca0fce139c58727fca7b729
This commit fixes indentation in tempest docs. These indentations are
not necessary and it causes a weird html outputs.
Change-Id: I9c8714558a3327b7ad0b0ab0d3fdc7e770c3c75b
This commit adds an .htaccess file to the tempest docs to handle
redirecting old paths to the new location. Before the docs migration in
the past we had docs located at docs.openstack.org/developer/tempest and
now things are located in docs.openstack.org/tempest/latest. With this
file we should be properly redirecting old links to the new location.
Change-Id: Idec7b2f299ade9b7dcc678ea1daf8daa25f08c44
test.py and clients.py now only depend on stable
interfaces and can be marked stable for plugins.
Previous patches added unit tests and docstrings
for most methods.
Change-Id: I22cb1a7744d2310f9b70769e136803a607217ceb