16 Commits

Author SHA1 Message Date
Sergey Nikitin
0cb4f2255c Tests for Nova instance diagnostics (microversion v2.48)
Existing instance diagnostics tests were moved to the new files
to test diagnostics for different microversions (2.1 and 2.48).

Depends-On: If0b1493cc5c1c7f0d9896dd68342ad4dea4f7da2

Change-Id: I7757c5beeea3d3b0bc15a51cafc5ea2ada65e76c
2017-06-23 14:14:38 +00:00
Sergey Nikitin
8654e5b0d6 Added tests for Nova microversion v2.47
This microversion changes flavor property in server response.
New test case was added to do not overload some other testcase
by running all tests for two microversions (v2.1 and v2.47)

Also method create_test_server was modified. Now it adds field
'network' into request if microversion >= v2.37 because since
this microversion this field is required.

Change-Id: If7420d0c6153fe63c049c0f6dc9a748968d40315
2017-06-20 04:43:04 +00:00
ghanshyam
933d982f35 Improvement in API Microversion testing doc
During ATL PTG, we discussed about the testing
of API microversions in Tempest and what all
tests can be implemented on Tempest side.

This patch adds those consensus in doc to clarify
about microversion testing scope.

Change-Id: Ifbaa66dba932a7472010bddf11545d66b95ba42e
2017-04-19 06:19:08 +00:00
ghanshyam
58fbcd0071 Add Cinder microversion test info in doc
Below patch implemented Cinder microversion 3.3 test case.
- I3d9b3fe288333721bf3b2c6c988949f2f253bfcc

Thsi commit adds the information about tested microversion
in doc.

Change-Id: I17e66b3732657a5606e300b504bbf474abc073fa
2017-03-13 04:37:17 +00:00
Sergey Nikitin
103d591860 Fixed wrong link in microversion_testing.rst
Change-Id: Id457dce3cbe59a2d675fc199dc4c015b1248ba01
2017-02-08 15:02:34 +04:00
Matt Riedemann
07845fa2ed Add test for compute API microversion 2.42
This just runs the 2.32 test against the 2.42 microversion.
The content is the same. The issue with tags is due to a bug
where block device tags only work for the 2.32 microversion
specifically, and network tags only worked for 2.32->2.36
microversions. Network tags were broken in the 2.37 microversion.
The 2.42 microversion re-introduces block device and network
tags when creating a server.

Depends-On: Ia0869dc6f7f5bd347ccbd0930d1d668d37695a22
Related-Bug: #1658571
Part of blueprint fix-tag-attribute-disappearing

Change-Id: Ide579744f4b2c768f622f1f3d928e9e2b02f1051
2017-01-30 20:24:20 -05:00
Artom Lifshitz
fc8f8e6a82 Integration tests for device role tagging
This adds an API test that tests device role tagging. It boots an
instance with tagged network interfaces and block devices and makes
sure that the tags appear correctly in the metadata, both via the API
and in the configdrive.

Change-Id: Ica92b771fc04891ad231967470f8b0ade7d2dead
Implements blueprint virt-device-role-tagging
2016-11-23 16:46:30 -05:00
Yushiro FURUKAWA
836361de95 Add 'code-block' and revise tab
This commit inserts '.. code-block::' and revises tab to 4 spaces.

Change-Id: Ic36444f101cc8a560c1cfa67dffdf64956c2bb99
2016-09-30 23:35:31 +09:00
Matt Riedemann
3e4a46aa69 Add compute API tests for 'get-me-a-network'
This adds the tests for the 2.37 microversion in nova
that handles automatic allocation of network resources
for a server via neutron's auto-allocated-topology extension
when there are no networks already available to the tenant.

This also adds the 2.26 microversion json response schema
since that's what's coming back for GET and LIST operations
on servers when testing the 2.37 microversion.

Tests for nova blueprint get-me-a-network

Change-Id: Ia8538e20ba52c85cfabbf9e44a959b2821995eab
2016-08-18 11:09:41 -04:00
Eli Qiao
e07eaccf84 Add new live_migration case to support block_migration=auto
Compute microversion 2.25 supports auto block_migration
and also the disk_over_commit flag has been removed.

Details: http://docs.openstack.org/developer/nova/api_microversion_history.html#maximum-in-mitaka

This commit adds tests for the same.
Also adds the below required schema for version 2.25 tests.

- 2.3 Schema. Details:
http://docs.openstack.org/developer/nova/api_microversion_history.html#maximum-in-kilo

- 2.16 Schema. Details:
http://docs.openstack.org/developer/nova/api_microversion_history.html#id14

- 2.23 Schema. Details:
http://docs.openstack.org/developer/nova/api_microversion_history.html#id21

Co-Authored-By: ghanshyam <ghanshyam.mann@nectechnologies.in>

Change-Id: I0fb5567cb4f7363465b68b86174b2df039f183d9
2016-07-17 21:56:26 +09:00
Matt Riedemann
3ea70c27a9 Cleanup some small issues in the microversion testing doc
Also adds the missing 2.20 microversion reference for
implemented tests.

Change-Id: I937161a17b4ea555869d49489d2a6f68afc8579c
2016-06-08 09:46:59 -04:00
Masayuki Igawa
e63cf0fedf Fix docs errors and warnings
This commit fixes docs errors and warnings. However, 'WARNING: nonlocal
image URI found' is still remaining because it needs an ugly workaround
that is replacing it to raw html.

Change-Id: I4524c1ff4126c87979301d0fb8ac7c9eb6f2f708
2016-05-25 10:25:21 +09:00
ghanshyam
ba48c9055c Add compute 2.10 microversion tests info in doc
Compute 2.10 microversion test were implemented in
I5097a5669d0f3b7d9016d98da0fbb58a682cef8e.

Adding the info in microversion doc.

Change-Id: Id20b47012d77711a01803ba191fc8f343644277e
2016-04-15 13:42:35 +09:00
Tong Liu
e0a3b8ef77 Fix a few typos in microversion doc
Patch I29ab6f625df59ba3732f9730a610e14dfe6094ea already fixed some
comments for the doc. But there are still some typos that need to
be fixed. This patch is to fix those.

Change-Id: I6ab6eabfb0faf28e175179c0097e196c4fa944ea
2016-03-24 22:41:27 +00:00
ghanshyam
e560728a4e Fix comments in microversion doc
This fix some comments left in
I68e6d2a4a681e6588e43e02378a111fd00391f08 for microversion doc.

Change-Id: I29ab6f625df59ba3732f9730a610e14dfe6094ea
2016-03-24 17:22:10 +09:00
ghanshyam
bd460acdc7 Add microversion testing doc in tempest
This commit adds the doc about how to implement microversion
tests in Tempest.

Also this doc will keep record of what all microversion tests
have been implemented in Tempest.

Partially implements blueprint api-microversions-testing-support

Change-Id: I68e6d2a4a681e6588e43e02378a111fd00391f08
2016-03-23 10:49:53 +09:00