[openstack-dev] Migration to pbr breaks setup.py install in python-quantumclient

Baldwin, Carl (HPCS Quantum) carl.baldwin at hp.com
Wed Jun 5 16:35:18 UTC 2013


Monty,

Glad to help.  Is there anything that I can do to help?

Carl

On 6/4/13 2:40 PM, "Monty Taylor" <mordred at inaugust.com> wrote:

>Awesome. Thanks. That's super helpful. I will track this down.
>
>On 06/04/2013 04:05 PM, Baldwin, Carl (HPCS Quantum) wrote:
>> Monty,
>> 
>> Thanks for the tip.  I added a new comment to the bug report.
>>Basically,
>> using your tip, I still hit a problem where the client's dependencies
>>were
>> not installed in to the environment and the client would not run after
>> installation.  Details are in the bug report.
>> 
>> https://bugs.launchpad.net/python-quantumclient/+bug/1187452/comments/2
>> 
>> I've also removed the duplicate status of this bug.  The problem here
>> seems to go beyond the problem in
>> https://bugs.launchpad.net/python-keystoneclient/+bug/1186194.
>> 
>> Carl
>> 
>> On 6/4/13 12:36 PM, "Monty Taylor" <mordred at inaugust.com> wrote:
>> 
>>> On 06/04/2013 01:20 PM, Baldwin, Carl (HPCS Quantum) wrote:
>>>> By the way, I filed this as a new issue against python-quantumclient.
>>>> Would very much like to get this resolved so that version 2.2.2 can be
>>>> released.  Can we back out the migration and release 2.2.2 without it?
>>>>
>>>> https://bugs.launchpad.net/python-quantumclient/+bug/1187452
>>>
>>> The bug is due to an interaction with old setuptools. If you create
>>>your
>>> virtualenv with the --distribute flag (this is how tox and OpenStack CI
>>> create it) it should work fine for you.
>>>
>>> For distro installations, distro packages should be able to install a
>>> reasonable version of setuptools/distribute first.
>>>
>>>> From:  Dolph Mathews <dolph.mathews at gmail.com>
>>>> Reply-To:  OpenStack Development Mailing List
>>>> <openstack-dev at lists.openstack.org>
>>>> Date:  Tuesday, June 4, 2013 10:46 AM
>>>> To:  OpenStack Development Mailing List
>>>> <openstack-dev at lists.openstack.org>
>>>> Subject:  Re: [openstack-dev] Migration to pbr breaks setup.py install
>>>> in	python-quantumclient
>>>>
>>>>
>>>> Similar issue reported against keystoneclient:
>>>> https://bugs.launchpad.net/python-keystoneclient/+bug/1186194
>>>>
>>>>
>>>> -Dolph
>>>>
>>>>
>>>> On Mon, Jun 3, 2013 at 10:45 PM, Baldwin, Carl (HPCS Quantum)
>>>> <carl.baldwin at hp.com> wrote:
>>>>
>>>> In testing the python-quantumclient 2.2.2a tarball, I found that
>>>> setup.py
>>>> was broken when I ran it from a fresh virtualenv.  I tried on both
>>>> Ubuntu
>>>> 12.04 and Mac OS with the same problem.  I ran git bisect (I love that
>>>> command) and found the commit causing it.
>>>>
>>>> commit 898acc30f76b2629aa740976103b99f10801d593
>>>> ...
>>>>
>>>>     Migrate to pbr.
>>>>
>>>>     Fixes bug 1179007
>>>>
>>>>     Change-Id: I6d7a6b7c85361e1568719ad11035158f4f6d9b35
>>>>
>>>> I reverted this commit in my sandbox to see if it would fix the
>>>>problem.
>>>> It did.  After reverting setup.py install ran cleanly and the client
>>>>was
>>>> useable on both Ubuntu Linux and Mac OS where I had previously had
>>>> problems.
>>>>
>>>> A transcript of my console session where I encountered the error is
>>>> attached to bug #1179007.  Here is a link to the comment:
>>>> https://bugs.launchpad.net/ceilometer/+bug/1179007/comments/30
>>>>
>>>> Carl Baldwin
>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>>>
>>>
>>> _______________________________________________
>>> 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
>> 
>
>_______________________________________________
>OpenStack-dev mailing list
>OpenStack-dev at lists.openstack.org
>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




More information about the OpenStack-dev mailing list