Add a config file verification tool

Registered by Matthew Treinish

Add a new tempest tool that will query the services' APIs to check if config options are set correctly.

Blueprint information

Status:
Complete
Approver:
Sean Dague
Priority:
Medium
Drafter:
Matthew Treinish
Direction:
Approved
Assignee:
Matthew Treinish
Definition:
Approved
Series goal:
Accepted for icehouse
Implementation:
Implemented
Milestone target:
milestone icon juno-3
Started by
Matthew Treinish
Completed by
Matthew Treinish

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:reoganize-tempest-config,n,z

Addressed by: https://review.openstack.org/52988
    Add config feature verification script

Addressed by: https://review.openstack.org/53182
    Add api version detection to verify_tempest_config

Gerrit topic: https://review.openstack.org/#q,topic:bp/config-verification,n,z

Addressed by: https://review.openstack.org/65296
    Rework extension verification in verify_tempest_config

Addressed by: https://review.openstack.org/65348
    Add neutron extension support to verify_tempest_config

Addressed by: https://review.openstack.org/65371
    Add a check for compute api versions to verify_tempest_config

Addressed by: https://review.openstack.org/70428
    Don't run extensions list if service isn't available

Addressed by: https://review.openstack.org/70429
    Add swift discoverable_api support to verify_tempest_config

Addressed by: https://review.openstack.org/72004
    Add service/endpoint discover to verify_tempest_config

Addressed by: https://review.openstack.org/72685
    Fix get versions call in verify_nova_api_versions()

Addressed by: https://review.openstack.org/77381
    Add keystone api version detection to verify_tempest_config

Addressed by: https://review.openstack.org/78430
    Add cinder api version detection to verify_tempest_config

Addressed by: https://review.openstack.org/82933
    Add spec for bp:config-verification

Addressed by: https://review.openstack.org/83585
    Add support for updating the config file

Gerrit topic: https://review.openstack.org/#q,topic:remove-implemented-section,n,z

Addressed by: https://review.openstack.org/87010
    Fix service list in verify_tempest_config

Addressed by: https://review.openstack.org/87017
    Fix url parsing for api version check

Addressed by: https://review.openstack.org/89688
    Add cmd entry point for verify_tempest_config

Addressed by: https://review.openstack.org/89937
    Add unit tests for _get_unversioned_endpoint

Addressed by: https://review.openstack.org/90586
    Add unit tests for api_version detection

Addressed by: https://review.openstack.org/90603
    Add unit tests for verifying extensions list

(?)

Work Items

Work items:
Add basic verification script: DONE
Add config file updating feature: INPROGRESS
Add unit tests for config verification functionality: INPROGRESS
Add unit tests for config file updating functionality: TODO

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.