[openstack-dev] [ironic-staging-drivers] Tests at the gates

Vasyl Saienko vsaienko at mirantis.com
Thu Apr 21 08:20:43 UTC 2016


Hello Andreas,

Thanks for comment, I didn't know about other-requirements.

There is a tool 'bindep' [0] that allows to parse other-requirements.txt
It is possible to mix python/system dependencies in single
other-requirements.txt. But mixing packages from different distros are not
supported.
Also it doesn't allow to install dependencies from sources. I'm not sure
that it is what we need.

I would prefer to have shell script that is maintained by driver's owner
and provides complete freedom in configuration.


[0] https://github.com/openstack-infra/bindep

On Wed, Apr 20, 2016 at 9:38 PM, Andreas Jaeger <aj at suse.com> wrote:

> On 04/20/2016 04:57 PM, Vasyl Saienko wrote:
> > Hello Ironic-staging-drivers team,
> >
> > At the moment there is no tests for ironic-staging-drivers at the gates.
> > I think we need to have a simple test that install drivers with theirs
> > dependencies and ensures that ironic-conductor is able to start.
> > It may be performed in the following way. Each staging driver contain
> > two files:
> >
> >   * python-requirements.txt - file for python libraries
> >   * other-requirements.sh - script that will install all non-python
>
> The file other-requirements.txt is already one way to install additional
> packages, just use that one. Best ask on #openstack-infra for details,
>
> Andreas
>
> >     driver requirements.
> >
> > During devstack installation phase for each driver we launch:
> >
> >   * pip install -r
> >
>  ironic-staging-drivers/ironic-staging-drivers/$driver/python-requirements.txt
> >   * bash
> >
>  ironic-staging-drivers/ironic-staging-drivers/$driver/other-requirements.sh
> >   * add drivers to enabled_driver list
> >
> > At the end ironic will try to register a node with some *_ssh driver. So
> > if it succeed it means that conductor with staging drivers has started
> > successfully.
> >
> > The devstack plugin is on review already:
> > https://review.openstack.org/#/c/299229/
> >
> > Sincerely,
> > Vasyl Saienko
> >
> >
> >
> >
> >
> __________________________________________________________________________
> > OpenStack Development Mailing List (not for usage questions)
> > Unsubscribe:
> OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> >
>
>
> --
>  Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
>   SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
>    GF: Felix Imendörffer, Jane Smithard, Graham Norton,
>        HRB 21284 (AG Nürnberg)
>     GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160421/e7c97376/attachment.html>


More information about the OpenStack-dev mailing list