Tempest support for API microversions testing

Registered by Ken'ichi Ohmichi

Since Kilo, nova has implemented API microversions and the other components (Ironic, etc) also implement it now. However, today Tempest does not have any support for microversions and doesn't test it at all.
This proposal is to add microversions testing support in Tempest.

Blueprint information

Status:
Complete
Approver:
Masayuki Igawa
Priority:
Medium
Drafter:
Ken'ichi Ohmichi
Direction:
Approved
Assignee:
Ken'ichi Ohmichi
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Ken'ichi Ohmichi
Completed by
Matthew Treinish

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/nova-microversions-tests,n,z

Addressed by: https://review.openstack.org/169126
    [WIP] Add nova-microversions-tests spec

Addressed by: https://review.openstack.org/241898
    Remove BaseComputeTest and _api_version

Addressed by: https://review.openstack.org/242296
    Add the base microversions test part

Addressed by: https://review.openstack.org/242346
    Add compute client base class for microversion support

Gerrit topic: https://review.openstack.org/#q,topic:version-22,n,z

Addressed by: https://review.openstack.org/242397
    WIP: Adding tests for nova microversion v2.2

Addressed by: https://review.openstack.org/244439
    Add logic to select the request microversion

Gerrit topic: https://review.openstack.org/#q,topic:bp/api-microversions-testing-support,n,z

Addressed by: https://review.openstack.org/244996
    Add tests for Nova microversion v2.2

Addressed by: https://review.openstack.org/244974
    Add support of schema versioning for microversion

The spec(https://review.openstack.org/#/c/169126/) is already approved.

Addressed by: https://review.openstack.org/253380
    Handle StrOpt config option of microversion

Addressed by: https://review.openstack.org/258868
    Add set microversion in base compute service client

Addressed by: https://review.openstack.org/261426
    Add microversion testing doc

Addressed by: https://review.openstack.org/265051
    Separate base microversion client and compute client

Addressed by: https://review.openstack.org/274506
    Separate microversion test case related unit tests

Addressed by: https://review.openstack.org/274970
    Add new exception InvalidAPIVersionRange for microversion

Gerrit topic: https://review.openstack.org/#q,topic:bp/migrate-service-clients-to-tempest-lib,n,z

Addressed by: https://review.openstack.org/277890
    Migrated microversion testing framework from tempest

Addressed by: https://review.openstack.org/279430
    Add microversion fixture to set microversion

Gerrit topic: https://review.openstack.org/#q,topic:(detached,n,z

Addressed by: https://review.openstack.org/277763
    Add tests for compute v2.10 microversion

Addressed by: https://review.openstack.org/284387
    Migrated microversion testing framework to tempest/lib

Addressed by: https://review.openstack.org/284414
    Add support of microversion in all compute service clients

Addressed by: https://review.openstack.org/291596
    Move microversion config options to 'compute' section

Addressed by: https://review.openstack.org/297470
    Move microversion testing spec to implemented

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.