Tempest plugin support for available services mechanism

Bug #1569562 reported by Kiall Mac Innes on 2016-04-12
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tempest
Medium
Unassigned

Bug Description

The available services mechanism does not currently support tempest plugins, as it includes several hardcoded lists within tempest itself (tempest/test.py, tempest/config.py) and within devstack (lib/tempest).

An example of this from tempest/test.py:

    def get_service_list():
        service_list = {
            'compute': CONF.service_available.nova,
            'image': CONF.service_available.glance,
            'baremetal': CONF.service_available.ironic,
            'volume': CONF.service_available.cinder,
            'orchestration': CONF.service_available.heat,
            # NOTE(mtreinish) nova-network will provide networking functionality
            # if neutron isn't available, so always set to True.
            'network': True,
            'identity': True,
            'object_storage': CONF.service_available.swift,
            'dashboard': CONF.service_available.horizon,
            'telemetry': CONF.service_available.ceilometer,
            'data_processing': CONF.service_available.sahara,
            'database': CONF.service_available.trove
        }
        return service_list

We should extend or replace these mechanisms to support plugins.

Kiall Mac Innes (kiall) wrote :

Also related to the "fix" above - https://review.openstack.org/304854

description: updated

Change abandoned by Kiall Mac Innes (<email address hidden>) on branch: master
Review: https://review.openstack.org/304853
Reason: Will followup in future with alternative..

Ghanshyam Mann (ghanshyammann) wrote :

Actually this is something comes up while removing the baremetal tests from tempest - https://review.openstack.org/#/c/355586/

As Tempest recommendation is to keep tempest plugin as separate repo, so it will not be much convenient to install plugin also to check service availability.

My idea is to define service availability flag as list where all available service can be added in list and no presence considered as service not available(like api_extensions flag)

Changed in tempest:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Ghanshyam Mann (ghanshyammann)
chandan kumar (chkumar246) wrote :

Unassigning this bug as there is no activity from last 6 months. If you are still want to work on this bug, feel free to assign yourself.

Changed in tempest:
assignee: Ghanshyam Mann (ghanshyammann) → nobody
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers