Tempest plugin service client registration is duplicated with >1 plugin

Bug #1630317 reported by Matthew Treinish on 2016-10-04
This bug affects 1 person
Affects Status Importance Assigned to Milestone
chandan kumar

Bug Description

If you install >1 plugin in your python environment and at least 1 plugin registers service clients that use a config variable anywhere in that call path you will end up with an attempted double registration of the clients for that plugin. This is because the private tempest config class will also run the plugin __init__() which unconditionally calls the register service clients function.

This is being hit right now on the sahara-tests plugin:


(I added debug stack traces right after the registry init in the plugin manager class)

Matthew Treinish (treinish) wrote :

These failures are non-fatal but we do log an exception on each plugin registered right now which is kinda confusing.

Changed in tempest:
importance: Undecided → High
status: New → Confirmed
Matthew Treinish (treinish) wrote :

Someone related to this bug is:


Which just fixes the duplicate tracebacks on every plugin.

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

Other bug subscribers