218 Commits

Author SHA1 Message Date
Zuul
245577abba Merge "Updated from global requirements" 2018-02-18 18:58:20 +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
OpenStack Proposal Bot
270055c71a Updated from global requirements
Change-Id: I8b54ea50f36eca2a180d394878685e5866971cfc
2018-01-24 01:38:35 +00:00
Zuul
4acc05b56b Merge "Updated from global requirements" 2018-01-21 13:23:38 +00: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
Zuul
cfa0041a41 Merge "Add some missing implemented microversion in doc" 2018-01-18 06:46:05 +00:00
OpenStack Proposal Bot
832f885aa5 Updated from global requirements
Change-Id: I74b703e9bd232b6c1c83eda3e10c7e9facead4af
2018-01-18 03:37:12 +00:00
junboli
173b11cb50 Follow the new PTI for document build
For compliance with the Project Testing Interface as
described in [1]:
[1] https://governance.openstack.org/tc/reference/project-testing-interface.html
For more detials information, please refer to [2]:
[2] http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: I648a78396a2e27f1d7197e89cddba73f8aa858aa
2018-01-15 11:25:35 +08: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
Zuul
7451a29f68 Merge "Fix a misspelled addClassResourceCleanp in tempest doc" 2017-12-11 08:49:29 +00:00
zhufl
8d1c71e7cc Fix a misspelled addClassResourceCleanp in tempest doc
This is to fix a misspelled addClassResourceCleanp, which
should be addClassResourceCleanup, in tempest doc

Change-Id: Ie4cdc9680016feca5f75df193077b1f0edce7e4b
2017-12-08 17:11:43 +08:00
zhufl
e9241b5d89 Fix a missing preposition in plugin doc
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
2017-12-06 15:41:08 +08:00
jeremy.zhang
2abe00a486 Refactor volume groups and group snapshots tests
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
2017-11-29 14:37:29 +00:00
Masayuki Igawa
bbbaad68c3
Fix docs markup consistency
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
2017-11-21 19:02:54 +09:00
Masayuki Igawa
b78b923e5a Fix indentation in docs
This commit fixes indentation in tempest docs. These indentations are
not necessary and it causes a weird html outputs.

Change-Id: I9c8714558a3327b7ad0b0ab0d3fdc7e770c3c75b
2017-11-20 07:39:09 +00:00
Matthew Treinish
cd2fef95ca Add a .htaccess for redirecting old paths
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
2017-11-08 01:23:17 +00:00
Andrea Frittoli
bf142fc3d8 Make test.py and clients.py as stable for plugins
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
2017-10-23 17:51:32 +02:00
ghanshyam
dc6e2a889e Fill microversion doc for implemented volume tests
We have lot of volume microversion tests implemented
but microversion doc is out of date ti list all.

Adding below microversion in doc:
- 3.9 - I41d0c3f459c139a0e5e415c030cddbb1fe8beb46
- 3.11 - Ic409db6f1258befc6f1772ea19e7e634170269f8
- 3.12 - I9904bc53896e7d58a22aef11f6a3128147c0a373
- 3.14 - Id1779fe5dce50b062ca0ff841a7ede72cac9dd73
- 3.19 - I14f5b8fd0f386ea5f84cc3a2decede430a7e7893
- 3.20 - I41d0c3f459c139a0e5e415c030cddbb1fe8beb46

Change-Id: Ifbd4d00e5b75a0c099cac1d1f393490ee326a17f
2017-09-28 07:29:33 +00:00
Jenkins
7df4477fd9 Merge "Move data directory under doc/source" 2017-09-15 15:49:24 +00:00
Jenkins
7dcb98f503 Merge "Make validation_resources a stable interface" 2017-09-14 19:07:08 +00:00
Jenkins
43afce6b8c Merge "Make resource_cleanup stable" 2017-09-13 17:54:24 +00:00
Andrea Frittoli
0477accd32 Make validation_resources a stable interface
Move the module to tempest.lib, add unit tests, release notes and
update imports.

Change-Id: I76b3b8e9a83bd83a6b5742b6d2ceb84642f653ad
2017-09-12 15:02:15 -06:00
Andrea Frittoli
3be574898c Make resource_cleanup stable
Add docstrings, unit tests and an helper for class resource
cleanup. Check super's resource_cleanup is invoked when
overriden to ensure the cleanup stack is processed.

Change-Id: I9c89ba4efd715634dde6b1182c2025ddf9c2f7d2
2017-09-12 12:37:30 -06:00
Masayuki Igawa
a1c3af3350
[DOC] Fix "Title level inconsistent" warning
This commit fixes the warning "Title level inconsistent". And the module
API docs should be shown up.

Change-Id: Ie9a3656b0a58300d611352d054868440f0ffd387
2017-09-07 11:53:49 +09:00
Masayuki Igawa
6d5a48cbe7
Move data directory under doc/source
This commit moves the data directory under doc/source directory. The
data directory have only tempest-plugins-registry.header which is only
used for documentation. So, this change makes it clearer for the meaning
of the directory.

Change-Id: I73059707cb45bb241128662fbd7a48747332ea7f
2017-09-06 18:31:57 +09:00
Jenkins
5415c8ee83 Merge "[Doc] Remove html_use_smartypants config in doc" 2017-09-03 12:26:56 +00:00
ghanshyam
c9f271d5c0 Fix volume microversion link in doc
Current link is of ocata, we should have latest doc
link for better maintenance.

Change-Id: Ic8194bb1e4263324267852fccd4f9f9a029ce86a
2017-08-30 10:14:23 +03:00
Jenkins
ecdb0609f5 Merge "Update and replace http with https for doc links in tempest" 2017-08-21 05:07:31 +00:00
shangxiaobj
20e512b553 Update and replace http with https for doc links in tempest
1) Update doc links according to OpenStack document migration
2) Use https instead of http for docs links

Change-Id: I56ee6a1aa8fd63c336849affb8d6aff5c9e66e9e
2017-08-14 00:12:40 -07:00
shangxiaobj
284d311267 [Trivialfix]Fix typos in tempest
Fix all the typos found in tempest.

Change-Id: I9417ff7e0ab8a552c6d6acdeb968a9fe993b270a
2017-08-13 23:38:43 -07:00
Jenkins
ff682c8bc3 Merge "Mark credentials_factory stable for plugins" 2017-08-10 10:47:11 +00:00
Andrea Frittoli
17347f0eff Mark credentials_factory stable for plugins
Add unit tests for credentials_factory and mark it stable for
plugins. This is part of the work to make tempest/test.py stable
for plugins.

Change-Id: I99414cb2704ce5469fcb66406b6905e2d1871dba
2017-08-08 22:26:07 +01:00
Jenkins
b2ff0787a3 Merge "Fix microversion doc for implemented microversion tests" 2017-08-08 02:48:27 +00:00
ghanshyam
850f14dbf9 Fix microversion doc for implemented microversion tests
compute microversion 2.52, and 2.53 are not implemented
in Tempest and should not be added in doc also.

Those were added in Icc43342e4b64f415593700cb5ab19156a5d2bc19

Change-Id: I8bdd32adcb2bb775099db3a8b8af3832a4025d96
2017-08-07 18:45:17 +00:00
yfzhao
6176f1bbf9 TrivialFix: Remove the unused import code
Remove the unused import code in doc/source/conf.py

Change-Id: Idd3de97e2752eb6a04b2040ea1dd88da5bb91b04
2017-08-03 20:16:13 +08:00
Jenkins
248082e228 Merge "Fixed the broken links for api microversion" 2017-08-01 06:30:15 +00:00
junboli
15b3842665 TrivialFix: Remove the unused import code
In the file doc/source/conf.py, some unused import code left, this change is to
clean them up.

Change-Id: I22ad2c3f6f37e0ca80c2a0d0943492572899929e
2017-07-31 15:32:19 +08:00
Chandan Kumar
7664afec2d Fixed the broken links for api microversion
Change-Id: Icc43342e4b64f415593700cb5ab19156a5d2bc19
2017-07-28 19:00:02 +05:30
Jenkins
ae90da5796 Merge "Add better docs on credential providers" 2017-07-24 19:53:19 +00:00
Jenkins
e70e0feb63 Merge "Migrate the preprov creds module to tempest lib" 2017-07-24 10:30:29 +00:00
Jenkins
30bbd2deeb Merge "Migrate the dynamic creds module to tempest lib" 2017-07-24 10:08:02 +00:00
Jenkins
c7a403debd Merge "Doc: fix markups, capitalization and add 2 REVIEWING advices" 2017-07-22 01:47:46 +00:00
Matthew Treinish
841b75e6b6
Add better docs on credential providers
This commit adds some better documentation with an example explaining
how to use the credential providers now in tempest/lib.

Change-Id: I9f6856645094d483f7a3f0f76a40568c28c4e9b1
2017-07-21 16:16:48 -04:00
Matthew Treinish
b19c55df4b
Migrate the preprov creds module to tempest lib
This commit migrates the preprovisioned credentials provider from
tempest/common into tempest/lib. As part of this 2 dependencies are
also migrated to lib: the InvalidTestResource exception class and the
tempest.common.fixed_network module.

Change-Id: Ib9e909aaaf81f7cb57e2382cec44598e918747b8
2017-07-21 16:14:41 -04:00
Matthew Treinish
c51b712dec
Migrate the dynamic creds module to tempest lib
This commit migrates the dynamic credentials provider from
tempest/common into tempest/lib.

Change-Id: Id8d60e4d7c22bc72c3e48bc768509ff0cc0c89d5
2017-07-21 16:14:40 -04:00