Make schema available for all microversions

Registered by zhufl

Now schema files in every microversion usually only contain changes in this microversion, so if we run testcases with min_microversion set to a high micrversion, e.g., 2.53, we will get many failures caused by the missing schema check fields, something like "File "tempest/lib/services/compute/servers_client.py",
           line 836, in update_tag
        self.validate_response(schema.update_tag, resp, body)
       AttributeError: 'module' object has no attribute 'update_tag'"

So schema files in every microversion should be a full version, so that we can support running testcases with min_microversion set to any value.

Blueprint information

Status:
Complete
Approver:
Ghanshyam Mann
Priority:
Low
Drafter:
zhufl
Direction:
Approved
Assignee:
zhufl
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Ghanshyam Mann
Completed by
Ghanshyam Mann

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/full-schema-for-all-microversions,n,z

Addressed by: https://review.openstack.org/584766
    Add server tags schema in servers.py

It is good to track these work as BP in every cycle. For Rocky most part we did with below patches and remaining will be done as part of this BP --gmann 20180724
https://review.openstack.org/#/q/status:merged+project:openstack/tempest+branch:master+topic:fill-microversion-schema-gap

Addressed by: https://review.openstack.org/586041
    Fill servers schema for microversion 2.3

Addressed by: https://review.openstack.org/586486
    Add server schema for microversion 2.6

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

Addressed by: https://review.openstack.org/586049
    Fill server schema for microversion 2.9

Addressed by: https://review.openstack.org/586964
    Fill schema gap in flavors.py

Addressed by: https://review.openstack.org/587303
    Fill servers schema gap in microversion 2.47/2.48

Addressed by: https://review.openstack.org/587330
    Add server schema for microversion 2.16

Addressed by: https://review.openstack.org/587332
    Add server schema for microversion 2.19

Addressed by: https://review.openstack.org/587335
    Add server schema for microversion 2.26

Addressed by: https://review.openstack.org/587338
    Add server schema for microversion 2.54

Addressed by: https://review.openstack.org/587341
    Add server schema for microversion 2.57

Addressed by: https://review.openstack.org/587691
    Add server schema for microversion 2.63

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

Addressed by: https://review.openstack.org/588446
    Add server schema for microversion 2.8

Addressed by: https://review.openstack.org/589023
    Fill aggregate schema for microversion 2.41

Addressed by: https://review.openstack.org/589042
    Fill quota schema for microversion 2.36/2.57

Addressed by: https://review.openstack.org/589391
    Use copy to get unchanged attributes in server 2.3 schema

Addressed by: https://review.openstack.org/589393
    Use copy to get unchanged attributes in server 2.16 schema

Addressed by: https://review.openstack.org/589406
    Add comment for schema change in microversion 2.19

Addressed by: https://review.openstack.org/589768
    Add comment for schema change in microversion 2.13

Addressed by: https://review.openstack.org/591583
    Fix disabled_reason's type in services schema

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.