[openstack-dev] [qa] official clients and tempest

Ken'ichi Ohmichi ken1ohmichi at gmail.com
Thu Apr 9 02:05:10 UTC 2015

2015-04-09 4:14 GMT+09:00 Sean Dague <sean at dague.net>:
> On 04/08/2015 02:58 PM, David Kranz wrote:
>> On 04/08/2015 02:36 PM, Matthew Treinish wrote:
>>> On Wed, Apr 08, 2015 at 01:08:03PM -0400, David Kranz wrote:
>>>> Since tempest no longer uses the official clients as a literal code
>>>> dependency, except for the cli tests which are being removed, the clients
>>>> have been dropping from requirements.txt. But when debugging issues
>>>> uncovered by tempest, or when debugging tempest itself, it is useful to use
>>>> the cli to check various things. I think it would be a good service to users
>>>> of tempest to include the client libraries when tempest is installed on a
>>>> machine. Is there a reason to not do this?
>>> i>
>>> Umm, so that is not what requirements.txt is for, we should only put what is
>>> required to run the tempest in the requirements file. It's a package dependencies
>>> list, not a list of everything you find useful for developing tempest code.
>> I was more thinking of users of tempest than developers of tempest,
>> though it is useful to both.
>> But we can certainly say that this is an issue for those who provide
>> tempest to users.
> I'm in agreement with Matt here. Tempest requirements should be what
> Tempest actually requires.
> Installing the CLI is pretty easy, it's package installed in any Linux
> distro. apt-get, yum, or even pip install and you are off and running.
> I don't think having Tempest side effect dragging in the CLI tools is
> useful. Those should instead be something people install themselves.

requirements.txt needs to contain necessary packages only for
deploying Tempest as Matthew said.
but David's idea is interesting. Official clients are easy to use, and
it is nice debugging way to compare results of both Tempest and
official clients.
Since David's mail, I have another idea for debugging problems:

  How about adding a commandline option to switch API function to
tempest-lib's service clients into official clients in the future?

We are working for tempest-lib's service clients to migrate tests from
Tempest to projects' repository, these service clients will handle
REST API operations and they would be useful for debugging because
these clients' code is based on Tempest which we are using for the
gate problems.
If official clients have the option, we can reproduce Tempest's
operation more easily when facing/debugging problems.

Ken Ohmichi

More information about the OpenStack-dev mailing list