Revert "Block installing of mock from wheels"
This reverts commit 71d10ea626.
It was unnecessary once the offending wheel got removed from PyPI,
and this never worked anyway. It was preventing the ability to boot
new nodes, erroring thusly:
./configure_mirror.sh: line 25: /tmp/pip.conf: Permission denied
Deleting the images to which the change was applied returned
nodepool to being able to boot new nodes again.
Change-Id: I0841c6a5a26cf5be22e2d8fea861bdceb0393842
This commit is contained in:
@@ -21,9 +21,6 @@ source /etc/nodepool/provider
|
||||
NODEPOOL_PYPI_MIRROR=${NODEPOOL_PYPI_MIRROR:-http://pypi.$NODEPOOL_REGION.openstack.org/simple}
|
||||
|
||||
sudo sed -i -e "s,^index-url = .*,index-url = $NODEPOOL_PYPI_MIRROR," /etc/pip.conf
|
||||
cp /etc/pip.conf /tmp/pip.conf
|
||||
echo "no-binary=mock" >> /tmp/pip.conf
|
||||
sudo mv /tmp/pip.conf /etc/pip.conf
|
||||
|
||||
cat >/home/jenkins/.pydistutils.cfg <<EOF
|
||||
[easy_install]
|
||||
|
||||
Reference in New Issue
Block a user