[openstack-dev] [tempest] the project specific config option not generated together with tempest.conf.sample

Matthew Treinish mtreinish at kortar.org
Wed Jun 15 19:39:42 UTC 2016

Just a note, please don't start a new thread as a reply to an existing thread.
(well unless you remove the In-Reply-To header from the message) There is more
details on this here:


I almost missed this because it was part of a different thread.

On Wed, Jun 15, 2016 at 05:14:26AM +0000, joehuang wrote:
> Hello, 
> A tempest plugin was written for the Kingbird https://review.openstack.org/#/c/328683/, the plugin and test cases could be discovered by tempest, and the configuration is working if we add the configuration items into the tempest.conf manfully, but if we run tox -egenconfig in the tempest folder, these configuration items not generated in the tempest.conf.sample.
> How to make the plugin customized configuration items also being generated in the tempest.conf.sample ? 

This is a documented part of the tempest plugin interface:


> And for service_available group, it should be already there in the config, isn't it?

Yes, but it depends on your plugin to pass the extra config options properly on
sample config generation. If you look at your tempest plugin:


You're not returning the service_available option to tempest, just the KBGroup
options. You need to add a tuple with the service_available option and group
name to the output list there for it to show up in the output sample config

That being said I don't actually see the service_available kingbird option being
defined anywhere in the plugin. For example see:




-Matt Treinish
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160615/71510304/attachment.pgp>

More information about the OpenStack-dev mailing list