<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style><style type="text/css"></style><style type="text/css"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">I'm running Ubuntu 14.04, and rather suddenly I'm unable to run "./stack.sh" successfully.  Brandon, who is also running Ubuntu 14.04, is seeing no issues here.  However, all the
 same, I'm at a loss as to understand what the problem is.  At the bottom of my text is the terminal output from running "./stack.sh"
<div><br>
</div>
<div>It should be noted, I don't use a python virtual environment.  My reasoning is simple: I have a specific partition set up to use devstack, and only devstack.  I don't think its necessary to use a VE mostly because I would find it weird to handle dependencies
 in an isolated environment rather than the host environment I've already dedicated to the project in the first place.  Not sure any of you will agree with me, and I'd only really entertain the idea of said VE if its the only solution to my problem.  I've installed
 "python-pip" as the latest version, 1.5.6.  When running "./stack.sh" it will uninstall the latest version and try using pip 1.4.1, to no avail, and where it would try to install 1.4.1 escapes me, according to the following output.  If I manually install 1.4.1
 and add files to the appropriate location for its use according to "./stack.sh" it still uninstalls the installed packages, and then fails, under what appeared to me to be the same output and failure as the following.  If anyone can help me sort this out,
 I'd be very appreciative.  Please feel free to message me on IRC (handle TrevorV) if you have a suggestion or are confused about anything I've done/tried.</div>
<div><br>
</div>
<div><Terminal></div>
<div>
<div>Using mysql database backend</div>
<div>2014-06-24 17:16:32.095 | + echo_summary 'Installing package prerequisites'</div>
<div>2014-06-24 17:16:32.095 | + [[ -t 3 ]]</div>
<div>2014-06-24 17:16:32.095 | + [[ True != \T\r\u\e ]]</div>
<div>2014-06-24 17:16:32.095 | + echo -e Installing package prerequisites</div>
<div>2014-06-24 17:16:32.095 | + source /home/stack/workspace/devstack/tools/install_prereqs.sh</div>
<div>2014-06-24 17:16:32.095 | ++ [[ -n '' ]]</div>
<div>2014-06-24 17:16:32.095 | ++ [[ -z /home/stack/workspace/devstack ]]</div>
<div>2014-06-24 17:16:32.095 | ++ PREREQ_RERUN_MARKER=/home/stack/workspace/devstack/.prereqs</div>
<div>2014-06-24 17:16:32.095 | ++ PREREQ_RERUN_HOURS=2</div>
<div>2014-06-24 17:16:32.095 | ++ PREREQ_RERUN_SECONDS=7200</div>
<div>2014-06-24 17:16:32.096 | +++ date +%s</div>
<div>2014-06-24 17:16:32.096 | ++ NOW=1403630192</div>
<div>2014-06-24 17:16:32.096 | +++ head -1 /home/stack/workspace/devstack/.prereqs</div>
<div>2014-06-24 17:16:32.096 | ++ LAST_RUN=1403628907</div>
</div>
<div>
<div>2014-06-24 17:16:32.096 | ++ DELTA=1285</div>
<div>2014-06-24 17:16:32.096 | ++ [[ 1285 -lt 7200 ]]</div>
<div>2014-06-24 17:16:32.096 | ++ [[ -z '' ]]</div>
<div>2014-06-24 17:16:32.096 | ++ echo 'Re-run time has not expired (5915 seconds remaining) '</div>
<div>2014-06-24 17:16:32.096 | Re-run time has not expired (5915 seconds remaining) </div>
<div>2014-06-24 17:16:32.096 | ++ echo 'and FORCE_PREREQ not set; exiting...'</div>
<div>2014-06-24 17:16:32.096 | and FORCE_PREREQ not set; exiting...</div>
<div>2014-06-24 17:16:32.096 | ++ return 0</div>
<div>2014-06-24 17:16:32.096 | + [[ False != \T\r\u\e ]]</div>
<div>2014-06-24 17:16:32.096 | + /home/stack/workspace/devstack/tools/install_pip.sh</div>
<div>2014-06-24 17:16:32.096 | +++ dirname /home/stack/workspace/devstack/tools/install_pip.sh</div>
<div>2014-06-24 17:16:32.096 | ++ cd /home/stack/workspace/devstack/tools</div>
<div>2014-06-24 17:16:32.096 | ++ pwd</div>
<div>2014-06-24 17:16:32.096 | + TOOLS_DIR=/home/stack/workspace/devstack/tools</div>
<div>2014-06-24 17:16:32.096 | ++ cd /home/stack/workspace/devstack/tools/..</div>
<div>2014-06-24 17:16:32.096 | ++ pwd</div>
<div>2014-06-24 17:16:32.096 | + TOP_DIR=/home/stack/workspace/devstack</div>
<div>2014-06-24 17:16:32.096 | + cd /home/stack/workspace/devstack</div>
<div>2014-06-24 17:16:32.096 | + source /home/stack/workspace/devstack/functions</div>
<div>2014-06-24 17:16:32.096 | ++++ dirname /home/stack/workspace/devstack/functions</div>
<div>2014-06-24 17:16:32.096 | +++ cd /home/stack/workspace/devstack</div>
<div>2014-06-24 17:16:32.096 | +++ pwd</div>
<div>2014-06-24 17:16:32.096 | ++ FUNC_DIR=/home/stack/workspace/devstack</div>
<div>2014-06-24 17:16:32.096 | ++ source /home/stack/workspace/devstack/functions-common</div>
<div>2014-06-24 17:16:32.105 | + FILES=/home/stack/workspace/devstack/files</div>
<div>2014-06-24 17:16:32.105 | + PIP_GET_PIP_URL=https://bootstrap.pypa.io/get-pip.py</div>
<div>2014-06-24 17:16:32.106 | ++ basename https://bootstrap.pypa.io/get-pip.py</div>
<div>2014-06-24 17:16:32.107 | + LOCAL_PIP=/home/stack/workspace/devstack/files/get-pip.py</div>
<div>2014-06-24 17:16:32.107 | + GetDistro</div>
<div>2014-06-24 17:16:32.107 | + GetOSVersion</div>
<div>2014-06-24 17:16:32.108 | ++ which sw_vers</div>
<div>2014-06-24 17:16:32.111 | + [[ -x '' ]]</div>
<div>2014-06-24 17:16:32.111 | ++ which lsb_release</div>
<div>2014-06-24 17:16:32.114 | + [[ -x /usr/bin/lsb_release ]]</div>
<div>2014-06-24 17:16:32.115 | ++ lsb_release -i -s</div>
<div>2014-06-24 17:16:32.160 | + os_VENDOR=Ubuntu</div>
<div>2014-06-24 17:16:32.161 | ++ lsb_release -r -s</div>
<div>2014-06-24 17:16:32.209 | + os_RELEASE=14.04</div>
<div>2014-06-24 17:16:32.209 | + os_UPDATE=</div>
<div>2014-06-24 17:16:32.209 | + os_PACKAGE=rpm</div>
<div>2014-06-24 17:16:32.209 | + [[ Debian,Ubuntu,LinuxMint =~ Ubuntu ]]</div>
<div>2014-06-24 17:16:32.209 | + os_PACKAGE=deb</div>
<div>2014-06-24 17:16:32.210 | ++ lsb_release -c -s</div>
<div>2014-06-24 17:16:32.262 | + os_CODENAME=trusty</div>
<div>2014-06-24 17:16:32.262 | + export os_VENDOR os_RELEASE os_UPDATE os_PACKAGE os_CODENAME</div>
<div>2014-06-24 17:16:32.262 | + [[ Ubuntu =~ (Ubuntu) ]]</div>
<div>2014-06-24 17:16:32.262 | + DISTRO=trusty</div>
<div>2014-06-24 17:16:32.262 | + export DISTRO</div>
<div>2014-06-24 17:16:32.262 | + echo 'Distro: trusty'</div>
<div>2014-06-24 17:16:32.262 | Distro: trusty</div>
<div>2014-06-24 17:16:32.262 | + get_versions</div>
<div>2014-06-24 17:16:32.262 | ++ which pip</div>
<div>2014-06-24 17:16:32.264 | + PIP=/usr/local/bin/pip</div>
<div>2014-06-24 17:16:32.265 | + [[ -n /usr/local/bin/pip ]]</div>
<div>2014-06-24 17:16:32.265 | ++ awk '{ print $2}'</div>
</div>
<div>
<div>2014-06-24 17:16:32.266 | ++ /usr/local/bin/pip --version</div>
<div>2014-06-24 17:16:32.336 | Traceback (most recent call last):</div>
<div>2014-06-24 17:16:32.336 |   File "/usr/local/bin/pip", line 5, in <module></div>
<div>2014-06-24 17:16:32.336 |     from pkg_resources import load_entry_point</div>
<div>2014-06-24 17:16:32.336 |   File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2749, in <module></div>
<div>2014-06-24 17:16:32.336 |     working_set = WorkingSet._build_master()</div>
<div>2014-06-24 17:16:32.337 |   File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 446, in _build_master</div>
<div>2014-06-24 17:16:32.337 |     return cls._build_from_requirements(__requires__)</div>
<div>2014-06-24 17:16:32.337 |   File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 459, in _build_from_requirements</div>
<div>2014-06-24 17:16:32.337 |     dists = ws.resolve(reqs, Environment())</div>
<div>2014-06-24 17:16:32.337 |   File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 628, in resolve</div>
<div>2014-06-24 17:16:32.337 |     raise DistributionNotFound(req)</div>
<div>2014-06-24 17:16:32.337 | pkg_resources.DistributionNotFound: pip==1.4.1</div>
<div>2014-06-24 17:16:32.341 | + PIP_VERSION=</div>
<div>2014-06-24 17:16:32.341 | + echo 'pip: '</div>
<div>2014-06-24 17:16:32.341 | pip: </div>
<div>2014-06-24 17:16:32.341 | + echo '\n\nTrying to install get_pip.py\n\n'</div>
<div>2014-06-24 17:16:32.341 | \n\nTrying to install get_pip.py\n\n</div>
<div>2014-06-24 17:16:32.341 | + uninstall_package python-pip</div>
<div>2014-06-24 17:16:32.341 | + is_ubuntu</div>
<div>2014-06-24 17:16:32.341 | + [[ -z deb ]]</div>
<div>2014-06-24 17:16:32.341 | + '[' deb = deb ']'</div>
<div>2014-06-24 17:16:32.341 | + apt_get purge python-pip</div>
<div>2014-06-24 17:16:32.349 | + sudo DEBIAN_FRONTEND=noninteractive http_proxy= https_proxy= no_proxy= apt-get --option Dpkg::Options::=--force-confold --assume-yes purge python-pip</div>
<div>2014-06-24 17:16:32.388 | Reading package lists...</div>
<div>2014-06-24 17:16:32.650 | Building dependency tree...</div>
<div>2014-06-24 17:16:32.653 | Reading state information...</div>
<div>2014-06-24 17:16:32.856 | Package 'python-pip' is not installed, so not removed</div>
<div>2014-06-24 17:16:32.856 | The following packages were automatically installed and are no longer required:</div>
<div>2014-06-24 17:16:32.856 |   python-colorama python-distlib python-html5lib</div>
<div>2014-06-24 17:16:32.857 | Use 'apt-get autoremove' to remove them.</div>
<div>2014-06-24 17:16:32.910 | 0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.</div>
<div>2014-06-24 17:16:32.912 | + install_get_pip</div>
<div>2014-06-24 17:16:32.912 | + [[ ! -r /home/stack/workspace/devstack/files/get-pip.py ]]</div>
<div>2014-06-24 17:16:32.912 | + sudo -E python /home/stack/workspace/devstack/files/get-pip.py</div>
<div>2014-06-24 17:16:33.594 | Requirement already up-to-date: pip in /usr/local/lib/python2.7/dist-packages</div>
<div>2014-06-24 17:16:33.594 | Cleaning up...</div>
<div>2014-06-24 17:16:33.617 | + pip_install -U setuptools</div>
<div>2014-06-24 17:16:33.627 | + sudo PIP_DOWNLOAD_CACHE=/var/cache/pip http_proxy= https_proxy= no_proxy= /usr/local/bin/pip install --build=/tmp/pip-build.LbkRO -U setuptools</div>
<div>2014-06-24 17:16:33.709 | Traceback (most recent call last):</div>
<div>2014-06-24 17:16:33.709 |   File "/usr/local/bin/pip", line 5, in <module></div>
<div>2014-06-24 17:16:33.709 |     from pkg_resources import load_entry_point</div>
<div>2014-06-24 17:16:33.710 |   File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2749, in <module></div>
<div>2014-06-24 17:16:33.710 |     working_set = WorkingSet._build_master()</div>
<div>2014-06-24 17:16:33.710 |   File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 446, in _build_master</div>
<div>2014-06-24 17:16:33.710 |     return cls._build_from_requirements(__requires__)</div>
<div>2014-06-24 17:16:33.710 |   File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 459, in _build_from_requirements</div>
<div>2014-06-24 17:16:33.710 |     dists = ws.resolve(reqs, Environment())</div>
<div>2014-06-24 17:16:33.710 |   File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 628, in resolve</div>
<div>2014-06-24 17:16:33.710 |     raise DistributionNotFound(req)</div>
<div>2014-06-24 17:16:33.710 | pkg_resources.DistributionNotFound: pip==1.4.1</div>
<div>2014-06-24 17:16:33.716 | ++ err_trap</div>
<div>2014-06-24 17:16:33.716 | ++ local r=1</div>
<div>2014-06-24 17:16:33.716 | stack.sh failed: full log in /opt/stack/logs/stack.sh.log.2014-06-24-121632</div>
<div>2014-06-24 17:16:33.718 | Error on exit</div>
</div>
</div>
<script type="text/javascript">var new_nav = new function() {};var x;var old_navigator = window.navigator;for (x in navigator) {if (typeof navigator[x] == 'function') {eval("new_nav." + x + " = function() { return old_navigator." + x + "();};");} else {eval("new_nav." + x + " = navigator." + x + ";");}}new_nav.userAgent = "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120427 Firefox/15.0a1";new_nav.vendor = "Mozilla, Inc.";window.navigator = new_nav;</script><script type="text/javascript">var new_nav = new function() {};var x;var old_navigator = window.navigator;for (x in navigator) {if (typeof navigator[x] == 'function') {eval("new_nav." + x + " = function() { return old_navigator." + x + "();};");} else {eval("new_nav." + x + " = navigator." + x + ";");}}new_nav.userAgent = "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120427 Firefox/15.0a1";new_nav.vendor = "Mozilla, Inc.";window.navigator = new_nav;</script>
</body>
</html>