DevStack tries to use pip right after uninstalling it (or without installing, if not present)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Invalid
|
Undecided
|
Unassigned |
Bug Description
How it looks like if pip wasn't present:
2014-10-20 16:23:24.554 | + get_versions
2014-10-20 16:23:24.554 | ++ which pip
2014-10-20 16:23:24.555 | ++ which pip-python
2014-10-20 16:23:24.556 | ++ true
2014-10-20 16:23:24.556 | + PIP=
2014-10-20 16:23:24.556 | + [[ -n '' ]]
2014-10-20 16:23:24.556 | + echo 'pip: Not Installed'
2014-10-20 16:23:24.556 | pip: Not Installed
2014-10-20 16:23:24.556 | + uninstall_package python-pip
2014-10-20 16:23:24.556 | + is_ubuntu
2014-10-20 16:23:24.556 | + [[ -z rpm ]]
2014-10-20 16:23:24.556 | + '[' rpm = deb ']'
2014-10-20 16:23:24.556 | + is_fedora
2014-10-20 16:23:24.556 | + [[ -z Fedora ]]
2014-10-20 16:23:24.556 | + '[' Fedora = Fedora ']'
2014-10-20 16:23:24.556 | + sudo yum remove -y python-pip
2014-10-20 16:23:24.763 | No Match for argument: python-pip
2014-10-20 16:23:24.819 | No Packages marked for removal
2014-10-20 16:23:24.833 | + install_get_pip
2014-10-20 16:23:24.833 | + [[ ! -r /home/dtantsur/
2014-10-20 16:23:24.833 | + sudo -E python /home/dtantsur/
2014-10-20 16:23:26.084 | Requirement already up-to-date: pip in /usr/lib/
2014-10-20 16:23:26.085 | Cleaning up...
2014-10-20 16:23:26.105 | + [[ -n '' ]]
2014-10-20 16:23:26.106 | + pip_install -U setuptools
2014-10-20 16:23:26.109 | which: no pip in (/usr/local/
2014-10-20 16:23:26.110 | which: no pip-python in (/usr/local/
2014-10-20 16:23:26.113 | [ERROR] /home/dtantsur/
2014-10-20 16:23:27.115 | + sudo PIP_DOWNLOAD_
2014-10-20 16:23:27.123 | sudo: [Call: command not found
2014-10-20 16:23:27.124 | ++ err_trap
2014-10-20 16:23:27.124 | ++ local r=1
2014-10-20 16:23:27.124 | stack.sh failed: full log in /home/dtantsur/
2014-10-20 16:23:27.125 | Error on exit
This is Fedora 20
summary: |
- DevStack tries to use pip right after uninstalling it + DevStack tries to use pip right after uninstalling it (or without + installing, if not present) |
Changed in devstack: | |
status: | Invalid → Confirmed |
So it tires to run get-pip.py, which says that it is already installed, but then when it tries to run "pip" it is not there
--- devstack/ files/get- pip.py ]] devstack/ files/get- pip.py python2. 7/site- packages
2014-10-20 16:23:24.833 | + install_get_pip
2014-10-20 16:23:24.833 | + [[ ! -r /home/dtantsur/
2014-10-20 16:23:24.833 | + sudo -E python /home/dtantsur/
2014-10-20 16:23:26.084 | Requirement already up-to-date: pip in /usr/lib/
2014-10-20 16:23:26.085 | Cleaning up...
2014-10-20 16:23:26.105 | + [[ -n '' ]]
2014-10-20 16:23:26.106 | + pip_install -U setuptools
2014-10-20 16:23:26.109 | which: no pip
---
can you try get-pip.py with -U? That should force reinstall it