[Openstack] [diskimage-builder] Element pip-and-virtualenv failed to install pip

Hang Yang skinnyh92 at gmail.com
Fri Sep 7 19:46:58 UTC 2018


Hi there,

I'm new to the DIB tool and ran into an issue when used 2.16.0 DIB tool to
build a CentOS based image with pip-and-virtualenv element. It failed at
https://github.com/openstack/diskimage-builder/blob/master/diskimage_builder/elements/pip-and-virtualenv/install.d/pip-and-virtualenv-source-install/04-install-pip#L78
due to cannot find pip command.

I found the /tmp/get_pip.py was there but totally empty. I have to manually
add a wget step to retreat the get_pip.py right before the failed step then
it worked. But should the get_pip.py be downloaded automatically by this
https://github.com/openstack/diskimage-builder/blob/master/diskimage_builder/elements/pip-and-virtualenv/source-repository-pip-and-virtualenv
? Does anyone know how could this issue happen? Thanks in advance for any
help.

Best,
Hang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20180907/ffcf7b18/attachment.html>


More information about the Openstack mailing list