← Back to team overview

registry team mailing list archive

Re: [Bug 618320] Re: pip requires doesn't include libvirt or libxml2

 

The opscode guys made some chef scripts that should make this pretty easy.
I've been using a shell script for my dev vm because I haven't had time to
get familiar with chef yet, but I think ultimately we should be using it.
If someone wants to figure it out and make a little install guide that would
be awesome.

On Aug 23, 2010 5:41 PM, "Monty Taylor" <mordred@xxxxxxxxxxxx> wrote:
> On 08/23/2010 04:50 PM, Jay Pipes wrote:
>> Removing the --no-site-packages essentially removes the benefits of
>> virtualenv (isolation of development environment), so I dislike that
>> solution. That said, it would be a good idea to adapt the
>> tools/install_venv.py script to properly install libvirt and libxml2.
>> Problem with that, of course, is the myriad installation platforms ;)
>
> How about an easy way to spin up dev vms/cloud servers with deps
> installed to system locations? Would make it easier to make sure that
> the end result is deployable...
>
> --
> pip requires doesn't include libvirt or libxml2
> https://bugs.launchpad.net/bugs/618320
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in OpenStack Compute (Nova): Confirmed
>
> Bug description:
> The python libraries required for runnning nova using the default
(libvirt) backend are not installed by pip. In fact they are not available
in pip. My current workaround is to install them using apt-get and copy them
over, but a more general manual install process is needed.
>
> apt-get install -y python-libvirt python-libxml2
> cp /usr/lib/python2.6/dist-packages/*libvirt*
$NOVA_DIR/.nova-venv/lib/python2.6/site-packages/
> cp /usr/lib/pymodules/python2.6/*libxml2*
$NOVA_DIR/.nova-venv/lib/python2.6/site-packages/
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/nova/+bug/618320/+subscribe

-- 
pip requires doesn't include libvirt or libxml2
https://bugs.launchpad.net/bugs/618320
You received this bug notification because you are a member of Registry
Administrators, which is subscribed to OpenStack.



References