Tempest plugin support for available services mechanism

Bug #1569562 reported by Kiall Mac Innes
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tempest
Invalid
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.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tempest (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/304853

Revision history for this message
Kiall Mac Innes (kiall) wrote :

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

description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tempest (master)

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..

Revision history for this message
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)
Revision history for this message
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
Revision history for this message
Martin Kopec (mkopec) wrote :

Is this still valid? It's been more than 3 years already, I can't figure out the context this bug was created in.

Revision history for this message
Martin Kopec (mkopec) wrote :

Due to a very long inactivity here and the fact that the bug was created 4 years ago the bug is moved to an Invalid state. If you still encounter the issue, please, reproduce it on the current master branch and feel free to reopen this LP.

Changed in tempest:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.