Cleanup and reorganize the config options

Registered by Matthew Treinish

The tempest config options have gotten fairly disorderly and it's difficult for someone to understand where options should go. In addition the naming conventions used in the config file vary quite a bit. So some reorganization and cleanup is required to make configuring tempest by hand an easier task.

Blueprint information

Status:
Complete
Approver:
Sean Dague
Priority:
High
Drafter:
Matthew Treinish
Direction:
Approved
Assignee:
Matthew Treinish
Definition:
Approved
Series goal:
Accepted for icehouse
Implementation:
Implemented
Milestone target:
milestone icon icehouse-2
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/53425
    Cleanup tempst.conf.sample

Addressed by: https://review.openstack.org/53181
    Stop auto-detecting glance API versions

Addressed by: https://review.openstack.org/52524
    Reorganize project feature config options

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

Addressed by: https://review.openstack.org/53724
    Sync config file generator from oslo

Addressed by: https://review.openstack.org/53869
    Fix incorrect config option types

Addressed by: https://review.openstack.org/53870
    Add sample config check to tox pep8 job

Addressed by: https://review.openstack.org/53881
    Fix default values so they work in a devstack run

Addressed by: https://review.openstack.org/58604
    Add config options for enabled extensions

Addressed by: https://review.openstack.org/53011
    Add volume extensions tests

Addressed by: https://review.openstack.org/58803
    Improve testing of list_extensions for compute

Addressed by: https://review.openstack.org/60866
    Remove generic_setup_package() function

Addressed by: https://review.openstack.org/60906
    Remove remaining code from compute __init__

Addressed by: https://review.openstack.org/60925
    Stop running TempestConfig() on import

Addressed by: https://review.openstack.org/60611
    Add test-requirements to all tox jobs

Addressed by: https://review.openstack.org/60379
    Add unit tests for rest_client

Addressed by: https://review.openstack.org/61148
    Do not merge, debug for TempestConfig() on import

Addressed by: https://review.openstack.org/61188
    Handle skips because of config in skip_because

Addressed by: https://review.openstack.org/61192
    Remove test_auth_token.py

Addressed by: https://review.openstack.org/61909
    Convert requires_ext decorators to be classmethods

Addressed by: https://review.openstack.org/62063
    Add a middleware option for swift

Addressed by: https://review.openstack.org/65751
    Add a config option for trusts

Addressed by: https://review.openstack.org/69948
    Convert compute api tests to global CONF object

Addressed by: https://review.openstack.org/69949
    Convert image and identity api tests to use global CONF object

Addressed by: https://review.openstack.org/69950
    Convert network api tests to use global CONF object

Addressed by: https://review.openstack.org/69951
    Convert ironic, swift, and heat api tests to use global CONF object

Addressed by: https://review.openstack.org/69952
    Convert volume api tests to use global CONF object

Addressed by: https://review.openstack.org/69953
    Convert thirdparty and stress tests to use global CONF object

Addressed by: https://review.openstack.org/69954
    Convert scenario tests to use global CONF object

Addressed by: https://review.openstack.org/69955
    Convert cli tests to use global CONF object

Addressed by: https://review.openstack.org/69974
    Convert all service clients to global CONF object

Addressed by: https://review.openstack.org/70208
    Remove last uses of config without global CONF object

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

Addressed by: https://review.openstack.org/433420
    Remove deprecated network config options

(?)

Work Items

Work items:
Remove calls to object config and switch to global CONF object(mtreinish): TODO

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.