[openstack-dev] [Manila] ./run_tests issue

Deepak Shetty dpkshetty at gmail.com
Mon Sep 22 06:31:28 UTC 2014


Even better, whenever ./run_tests fail... maybe put a msg stating the
following C libs needs to be installed, have the user check the
same..something like that would help too.

On Mon, Sep 22, 2014 at 11:59 AM, Deepak Shetty <dpkshetty at gmail.com> wrote:

> Thats incorrect, as i said in my original mail.. I am usign
> devstack+manila and it wasn't very clear to me that mysql-devel needs to be
> installed and it didn't get installed. I am on F20, not sure if that causes
> this , if yes, then we need to debug and fix this.
>
> Maybe its a good idea to put a comment in requirements.txt statign that
> the following C libs needs to be installed for  the venv to work smoothly.
> That would help too for the short term.
>
> On Sun, Sep 21, 2014 at 12:12 PM, Valeriy Ponomaryov <
> vponomaryov at mirantis.com> wrote:
>
>> Dep "MySQL-python" is already in test-requirements.txt file. As Andreas
>> said, second one "mysql-devel" is C lib and can not be installed via
>> pip. So, project itself, as all projects in OpenStack, can not install it.
>>
>> C lib deps are handled by Devstack, if it is used. See:
>> https://github.com/openstack-dev/devstack/tree/master/files/rpms
>>
>> https://github.com/openstack-dev/devstack/blob/2f27a0ed3c609bfcd6344a55c121e56d5569afc9/functions-common#L895
>>
>> Yes, Manila could have its files in the same way in
>> https://github.com/openstack/manila/tree/master/contrib/devstack , but
>> this lib is already exist in deps for other projects. So, I guess you used
>> Manila "run_tests.sh" file on host without devstack installation, in that
>> case all other projects would fail in the same way.
>>
>> On Sun, Sep 21, 2014 at 2:54 AM, Alex Leonhardt <aleonhardt.py at gmail.com>
>> wrote:
>>
>>> And yet it's a dependency so I'm with Deepak and it should at least be
>>> mentioned in the prerequisites on a webpage somewhere .. :) I might even
>>> try and update/add that myself as it caught me out a few times too..
>>>
>>> Alex
>>>  On 20 Sep 2014 12:44, "Andreas Jaeger" <aj at suse.com> wrote:
>>>
>>>> On 09/20/2014 09:34 AM, Deepak Shetty wrote:
>>>> > thanks , that worked.
>>>> > Any idea why it doesn't install it automatically and/or it isn't
>>>> present
>>>> > in requirements.txt ?
>>>> > I thought that was the purpose of requirements.txt ?
>>>>
>>>> AFAIU requirements.txt has only python dependencies while
>>>> mysql-devel is a C development package,
>>>>
>>>> Andreas
>>>> --
>>>>  Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
>>>>   SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
>>>>    GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
>>>>     GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126
>>>>
>>>> _______________________________________________
>>>> OpenStack-dev mailing list
>>>> OpenStack-dev at lists.openstack.org
>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>>
>>>
>>> _______________________________________________
>>> OpenStack-dev mailing list
>>> OpenStack-dev at lists.openstack.org
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>
>>>
>>
>>
>> --
>> Kind Regards
>> Valeriy Ponomaryov
>> www.mirantis.com
>> vponomaryov at mirantis.com
>>
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> 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/20140922/dc7914ba/attachment.html>


More information about the OpenStack-dev mailing list