254 Commits

Author SHA1 Message Date
Masayuki Igawa
7e4ef4c823
Add PDF building
This commit add PDF building tox.ini environment and options for LaTeX
output. overview.rst is copied from README.rst. And, the original
README.rst file is shrunk because we don't need such a long information
in the README file. People can see the same contents in overview.rst
now.

Change-Id: Id654c814988e78704726d2ba8bea9a03ce8596f8
2019-09-11 16:42:28 +09:00
Matthew Treinish
4730b9dd45
Remove references to locking test accounts config doc
The name locking test accounts was an early name in the development of
the pre-provisioned credentials development. It described what it did
used tests accounts and lock files to ensure one test class only was
using an account at a time. However, that name hasn't been really used
in a long time and we've called the feature pre-provisioned credentials.
The configuration guide section for pre-provisioned credentials still
had some out dated references to locking test accounts which were never
updated when the feature was renamed. This commit corrects the oversight
and consistently names the feature in that section of the documentation.

Change-Id: I0f3a7b373c5ca2d84a8e82c1e2c3bcd6a2d833f9
2019-08-15 09:33:15 -04:00
Masayuki Igawa
ac8ae64d5b
Publish BLACKLIST on Tempest plugin registry page
This commit makes the BLACKLIST to be published on the Tempest plugin
registry page which we discussed at the PTG[0].

[0] https://etherpad.openstack.org/p/qa-train-ptg

Change-Id: I707aba930037e86f5f94dac73da957f5afacf935
2019-06-13 11:57:09 +09:00
Zuul
53d8b0b1cf Merge "Add compute API response schema validation for 2.71" 2019-05-28 14:36:25 +00:00
Zuul
21ce12ed9f Merge "Add support for compute API v2.70 - os-volume_attachments" 2019-05-28 13:59:39 +00:00
caoyuan
349ba75410 Replace git.openstack.org URLs with opendev.org URLs
Thorough replacement of git.openstack.org and review.openstack.org URLs
with their opendev.org counterparts.

Change-Id: I88e894db7b854d32593c770f5aa9b8a91fad7866
2019-05-23 10:19:31 +00:00
Matt Riedemann
0b14b1e0ff Add compute API response schema validation for 2.71
The 2.71 compute API includes the "server_groups" parameter
in the response to the following APIs:

- GET /servers/{server_id} (show)
- PUT /servers/{server_id} (update)
- POST /servers/{server_id}/action (rebuild)

This will be used in an upcoming change to test attaching
and detaching the root volume of a shelved offloaded instance.

Change-Id: I612a15c475404ded0af15b6241b9ac8ec9fb8e26
2019-05-21 12:34:51 +02:00
Matt Riedemann
b9b6e37a75 Add support for compute API v2.70 - os-volume_attachments
This adds the compute API response schema validation for the
2.70 microversion and the following APIs:

- GET /servers/{server_id}/os-volume_attachments (list)
- GET /servers/{server_id}/os-volume_attachments/{volume_id} (show)
- POST /servers/{server_id}/os-volume_attachments (attach)

This will be used in an upcoming change for testing root volume
attach/detach of a shelved offloaded server.

Since the response schema for these have not changed since 2.1 we
have to backfill all of the other servers API response schema
files going back to 2.1.

Change-Id: I2f36a51fa47b28df1afada5396dec3ce7dc43d78
2019-04-26 10:20:00 +02:00
ghanshyam
59a93d1bba Fix openstack-dev ML ref in test removal process.
Change-Id: I281ab52bc714e6b6dc1529f13b700d23caaf6f41
2019-03-07 17:25:29 +00:00
Matt Riedemann
f786405da0 doc: fix compute API microversion list format
Change-Id: I5737b2c906b9e85e7cac3a3abd0746db608bc79d
2019-03-02 12:50:52 -05:00
Sergey Vilgelm
eac094a8cf
docs: Fix incorrect docstrings in reStructuredText format
Several docstrings have incorrect format, what prevents to generate
a documentation using sphinx-apidoc extension.

Change-Id: I66431c7030089173d7635c1e2a72765db21f9780
2018-11-21 19:06:43 -06:00
sunqingliang6
8606c83b4b change http links to https links
Change-Id: I9875b8db497129baebadc8e74cf602ea1c063cbd
2018-11-09 14:26:19 +08:00
Zuul
f7fe7ff723 Merge "Add server schema for microversion 2.8" 2018-08-22 05:46:49 +00:00
Zuul
114214cab6 Merge "Change schema hypervisor.cpu_info from string to object in 2.28" 2018-08-20 15:19:27 +00:00
Felipe Monteiro
00b3bd55d9 Add server schema for microversion 2.8
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
2018-08-20 14:06:26 +00:00
zhufl
e142f54605 Change schema hypervisor.cpu_info from string to object in 2.28
This is to change schema hypervisor.cpu_info from string to object
in microversion 2.28.
https://docs.openstack.org/nova/latest/reference/api-microversion-history.html#id25

Change-Id: I36715c6b1751ceee304d18114b4473d60758a7ff
2018-08-17 10:44:53 +08:00
Zuul
8778ca1e15 Merge "Fill aggregate schema for microversion 2.41" 2018-08-13 17:02:52 +00:00
zhufl
4af2c82068 Fill aggregate schema for microversion 2.41
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
2018-08-09 13:57:42 +00:00
ghanshyam
df037310ba Dynamic width count for plugin registry table column
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
2018-07-31 17:09:37 +05:30
Zuul
365f701964 Merge "Modify limits fields according to microversion" 2018-07-30 16:44:02 +00:00
zhufl
8013413d8c Modify limits fields according to microversion
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
2018-07-30 11:01:26 +08:00
Zuul
b286ad402e Merge "trivial: Fix typos in the documentation page" 2018-07-18 23:22:56 +00:00
deepak_mourya
e495cd257d trivial: Fix typos in the documentation page
This patchset fixes typos (capitalization mistakes,
grammar mistakes) found in the documentation pages.

Change-Id: If500aeab1af7dd8b56d63cbc481ee501216df161
2018-07-18 08:39:27 +00:00
Felipe Monteiro
f89ab81c38 docs: Add information on test removal/interop to REVIEWING
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
2018-07-14 19:30:06 -04:00
Zuul
eab26ec501 Merge "trivial: Fix typos in the test_removal documentation page" 2018-07-14 15:32:47 +00:00
Felipe Monteiro
c384bc4ae0 trivial: Fix typos in the test_removal documentation page
This patchset fixes typos (capitalization mistakes, grammar
mistakes) found in the test_removal.rst documentation page.

Change-Id: Ia9a6b9d7a2a151a460a620be9fa6875f2efda00f
2018-07-10 20:14:04 -04:00
Felipe Monteiro
c0348ee84e Add update_service to compute services_client library
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
2018-07-10 18:56:24 +01:00
Zuul
1718a0393f Merge "trivial: fix some incorrect compute microversion references" 2018-07-09 19:51:51 +00:00
Zuul
96dedaca0b Merge "Add compute microversion 2.61 schema in flavors_client" 2018-07-09 12:39:53 +00:00
ghanshyam
d201cd3977 Add compute microversion 2.61 schema in flavors_client
Compute microversion 2.61 adds 'extra_specs' in flavor APIs response
This commit fill the schema gap for that.

Change-Id: Id1f1e51fbae1cc3d0c9efdcd9009f384745915d6
2018-07-09 08:55:10 +00:00
Felipe Monteiro
dd09bd9590 trivial: fix some incorrect compute microversion references
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
2018-07-07 16:26:29 -04:00
Zuul
1a0a6d685e Merge "Move Stable branch Policy Doc outside of coding guide" 2018-06-28 14:14:58 +00:00
ghanshyam
247841ecf6 Move Stable branch Policy Doc outside of coding guide
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
2018-06-20 04:53:16 +00:00
Zuul
d09caf65b8 Merge "Add new schema for Nova microversion 2.63" 2018-06-18 08:05:30 +00:00
Jackie Truong
1fa4464404 Add new schema for Nova microversion 2.63
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
2018-06-14 16:23:23 -04:00
Zuul
575dc80cd9 Merge "Add compute microversion 2.57 schema in servers_client" 2018-06-05 02:07:15 +00:00
Ghanshyam
d539465e1d Add compute microversion 2.57 schema in servers_client
Compute microversion 2.57 adds 'user_data' in rebuild servers
APIs response.

This commit fill the schema gap for that.
Change-Id: I3472ea78f08b48a8c1bda23147275198a7cd3b0f
2018-05-22 14:55:15 +00:00
Artom Lifshitz
b6b2bba8ce Integration tests for tagged attach
This tests nova microversion 2.49, tagged attach of network interfaces
and block devices.

Change-Id: I50b9aa168629457ce8270e456161727bd7b91a86
Implements: blueprint virt-device-tagged-attach-detach
2018-05-20 18:56:55 +00:00
ghanshyam
85a4b0a314 Add compute microversion 2.54 schema in servers_client
Compute microversion 2.54 adds 'key_name' in rebuild servers
APIs response.
This commit fill the schema gap for that.

Change-Id: I6c46319a873a34d74e8ed1a32ffc0b32c4d04ab2
2018-05-17 17:04:13 +00:00
Zuul
e4f4d8bee1 Merge "Add 2.55 schema & update flavor API in flavors_client" 2018-05-16 05:35:28 +00:00
ghanshyam
a8ace72287 Fill update, rebuild, list API response schema for 2.47
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
2018-05-01 11:34:13 -04:00
ghanshyam
52c5d28190 Add 2.55 schema & update flavor API in flavors_client
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
2018-04-24 06:53:10 +00:00
Zuul
9358cfb462 Merge "Add 'doc' tag for bug link on doc theme" 2018-02-07 20:57:51 +00:00
Masayuki Igawa
b69463e0b3 Add 'doc' tag for bug link on doc theme
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
2018-02-07 18:53:36 +00:00
Zuul
09ff7ab781 Merge "Add a few tests for cinder multiattach" 2018-02-02 03:40:27 +00:00
gaofei
6ec582f111 Replace curly quotes with straight quotes
Curly quotes usually input from Chinese input method.
When read from english context, it makes some confusion.

Change-Id: I6209f92de2a5b136c2c16decfe5752f5c44096ff
2018-01-26 05:56:28 +00:00
Matt Riedemann
81fa9b6aaa Add a few tests for cinder multiattach
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
2018-01-25 21:37:49 -05:00
ghanshyam
b20f7e62c6 Remove deprecated config options 'resources_prefix'
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
2018-01-21 07:29:55 +00:00
zhufl
e72760fe3b Add some missing implemented microversion in doc
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
2018-01-03 15:17:25 +08:00
Zuul
c536175d8d Merge "Refactor volume groups and group snapshots tests" 2017-12-11 17:43:05 +00:00