On Thu, Apr 23, 2015 at 04:10:49PM +0200, Jiri Pirko wrote:
Thu, Apr 23, 2015 at 03:31:33PM CEST, olichtne(a)redhat.com wrote:
>On Mon, Apr 20, 2015 at 12:39:03PM +0200, Ondrej Lichtner wrote:
>> On Mon, Apr 20, 2015 at 11:35:44AM +0200, Jiri Pirko wrote:
>> > Mon, Apr 20, 2015 at 10:38:05AM CEST, olichtne(a)redhat.com wrote:
>> > >One thing I forgot... this adds a new dependency on a Python library
>> > >'requests', on Fedora, this is installed by default, however on
RHEL
>> > >machines you need to install it using:
>> > >yum install python-requests
>> >
>> > Will add this to the spec file. Thanks.
>> >
>> > Talking about this, are there any other dependencies that need to be
>> > added there?
>>
>> I don't think so, but I'll try running a with clean virt machines just
>> to be sure.
>
>
>So I've tried this with lnst-slave on minimal RHEL6 and RHEL7 installs
>and we need at least these:
>tar
>bzip2
>gcc
>bridge-utils
>python-pyroute2
>lxml
>python-requests
>
>Tomorrow I'll try to run the Controller from a minimal install as well,
>to see if anything else is missing
>
>
>One of the regression tests also needs pstree which is a useless
>dependency so I'll fix that separately.
>
>I also found that running a test with team configuration on RHEL6 leaves
>lnst-slave in an inconsistent state (at least for a while), not an
>important bug since you shouldn't be testing team on RHEL6, but I
>definitely should look into it further.
Thanks for the info Ondrej. Will adjust spec.
And 'make' forgot about that one... Tested the minimal Controller,
doesn't seem anything else needs to be added. So in the end it should be
something like this:
common:
tar
bzip2
python-pyroute2
controller:
python-lxml
python-requests
slave:
bridge-utils
gcc
make
gcc and make are listed as optional on the wiki, but when you want to
use test_tools they're pretty much unavoidable so I don't know... do we
add them to the spec or just keep the info on the wiki?
-Ondrej