<div dir="ltr"><div><div></div><div>Hello Andreas,<br><br>Thanks for comment, I didn't know about other-requirements.<br><br>There is a tool 'bindep' [0] that allows to parse other-requirements.txt<br></div>It is possible to mix python/system dependencies in single other-requirements.txt. But mixing packages from different distros are not supported.<br></div><div>Also it doesn't allow to install dependencies from sources. I'm not sure that it is what we need.<br><br></div>I would prefer to have shell script that is maintained by driver's owner and provides complete freedom in configuration.<br><div><br><br>[0] <a href="https://github.com/openstack-infra/bindep">https://github.com/openstack-infra/bindep</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 20, 2016 at 9:38 PM, Andreas Jaeger <span dir="ltr"><<a href="mailto:aj@suse.com" target="_blank">aj@suse.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 04/20/2016 04:57 PM, Vasyl Saienko wrote:<br>
> Hello Ironic-staging-drivers team,<br>
><br>
> At the moment there is no tests for ironic-staging-drivers at the gates.<br>
> I think we need to have a simple test that install drivers with theirs<br>
> dependencies and ensures that ironic-conductor is able to start.<br>
> It may be performed in the following way. Each staging driver contain<br>
> two files:<br>
><br>
</span>>   * python-requirements.txt - file for python libraries<br>
>   * other-requirements.sh - script that will install all non-python<br>
<br>
The file other-requirements.txt is already one way to install additional<br>
packages, just use that one. Best ask on #openstack-infra for details,<br>
<br>
Andreas<br>
<span class=""><br>
>     driver requirements.<br>
><br>
> During devstack installation phase for each driver we launch:<br>
><br>
</span>>   * pip install -r<br>
>     ironic-staging-drivers/ironic-staging-drivers/$driver/python-requirements.txt<br>
>   * bash<br>
>     ironic-staging-drivers/ironic-staging-drivers/$driver/other-requirements.sh<br>
>   * add drivers to enabled_driver list<br>
<span class="">><br>
> At the end ironic will try to register a node with some *_ssh driver. So<br>
> if it succeed it means that conductor with staging drivers has started<br>
> successfully.<br>
><br>
> The devstack plugin is on review already:<br>
> <a href="https://review.openstack.org/#/c/299229/" rel="noreferrer" target="_blank">https://review.openstack.org/#/c/299229/</a><br>
><br>
> Sincerely,<br>
> Vasyl Saienko<br>
><br>
><br>
><br>
><br>
</span>> __________________________________________________________________________<br>
> OpenStack Development Mailing List (not for usage questions)<br>
> Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
 Andreas Jaeger aj@{<a href="http://suse.com" rel="noreferrer" target="_blank">suse.com</a>,<a href="http://opensuse.org" rel="noreferrer" target="_blank">opensuse.org</a>} Twitter/Identica: jaegerandi<br>
  SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany<br>
   GF: Felix Imendörffer, Jane Smithard, Graham Norton,<br>
       HRB 21284 (AG Nürnberg)<br>
    GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126<br>
<br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</font></span></blockquote></div><br></div>