<div dir="ltr">Hello,<br>I get this error when I try to set the environment for Horizon. Any idea why this is happening? I am running Devstack on a VM with Ubuntu 12.04.<br>sayali@sayali:/opt/stack/horizon$ ./run_tests.sh <br>
Checking environment.<br>Environment not found. Install? (Y/n) y<br>Fetching new src packages...<br>Creating venv... done.<br>Installing dependencies with pip (this can take a while)...<br>Downloading/unpacking pip>=1.4<br>
Creating supposed download cache at /tmp/.pip_download_cache<br>  Downloading pip-1.4.1.tar.gz (445Kb): 445Kb downloaded<br>  Storing download in cache at /tmp/.pip_download_cache/https%3A%2F%<a href="http://2Fpypi.python.org">2Fpypi.python.org</a>%2Fpackages%2Fsource%2Fp%2Fpip%2Fpip-1.4.1.tar.gz<br>
  Running setup.py egg_info for package pip<br>    <br>    warning: no files found matching '*.html' under directory 'docs'<br>    warning: no previously-included files matching '*.rst' found under directory 'docs/_build'<br>
    no previously-included directories found matching 'docs/_build/_sources'<br>Installing collected packages: pip<br>  Found existing installation: pip 1.1<br>    Uninstalling pip:<br>      Successfully uninstalled pip<br>
  Running setup.py install for pip<br>    <br>    warning: no files found matching '*.html' under directory 'docs'<br>    warning: no previously-included files matching '*.rst' found under directory 'docs/_build'<br>
    no previously-included directories found matching 'docs/_build/_sources'<br>    Installing pip script to /opt/stack/horizon/.venv/bin<br>    Installing pip-2.7 script to /opt/stack/horizon/.venv/bin<br>Successfully installed pip<br>
Cleaning up...<br>Downloading/unpacking distribute from <a href="https://pypi.python.org/packages/source/d/distribute/distribute-0.7.3.zip#md5=c6c59594a7b180af57af8a0cc0cf5b4a">https://pypi.python.org/packages/source/d/distribute/distribute-0.7.3.zip#md5=c6c59594a7b180af57af8a0cc0cf5b4a</a><br>
  Downloading distribute-0.7.3.zip (145kB): 145kB downloaded<br>  Storing download in cache at /tmp/.pip_download_cache/https%3A%2F%<a href="http://2Fpypi.python.org">2Fpypi.python.org</a>%2Fpackages%2Fsource%2Fd%2Fdistribute%2Fdistribute-0.7.3.zip<br>
  Running setup.py egg_info for package distribute<br>    <br>Downloading/unpacking setuptools>=0.7 (from distribute)<br>  Downloading setuptools-2.0.1.tar.gz (783kB): 783kB downloaded<br>  Storing download in cache at /tmp/.pip_download_cache/https%3A%2F%<a href="http://2Fpypi.python.org">2Fpypi.python.org</a>%2Fpackages%2Fsource%2Fs%2Fsetuptools%2Fsetuptools-2.0.1.tar.gz<br>
  Running setup.py egg_info for package setuptools<br>    <br>Installing collected packages: setuptools, distribute<br>  Found existing installation: distribute 0.6.24<br>    Uninstalling distribute:<br>      Successfully uninstalled distribute<br>
  Running setup.py install for setuptools<br>    <br>    Installing easy_install script to /opt/stack/horizon/.venv/bin<br>    Installing easy_install-2.7 script to /opt/stack/horizon/.venv/bin<br>  Found existing installation: distribute 0.6.24<br>
    Can't uninstall 'distribute'. No files were found to uninstall.<br>  Running setup.py install for distribute<br>    <br>Successfully installed setuptools distribute<br>Cleaning up...<br>Downloading/unpacking pbr<br>
  Downloading pbr-0.5.23.tar.gz (128kB): 128kB downloaded<br>  Storing download in cache at /tmp/.pip_download_cache/https%3A%2F%<a href="http://2Fpypi.python.org">2Fpypi.python.org</a>%2Fpackages%2Fsource%2Fp%2Fpbr%2Fpbr-0.5.23.tar.gz<br>
  Running setup.py egg_info for package pbr<br>    [pbr] Processing SOURCES.txt<br>    warning: LocalManifestMaker: standard file '-c' not found<br>    <br>    [pbr] In git context, generating filelist from git<br>
    warning: no previously-included files matching '*.pyc' found anywhere in distribution<br>    warning: no previously-included files found matching '.gitignore'<br>    warning: no previously-included files found matching '.gitreview'<br>
    warning: no previously-included files matching '*.pyc' found anywhere in distribution<br>Requirement already up-to-date: pip>=1.0 in ./.venv/lib/python2.7/site-packages (from pbr)<br>Installing collected packages: pbr<br>
  Running setup.py install for pbr<br>    [pbr] Reusing existing SOURCES.txt<br>Successfully installed pbr<br>Cleaning up...<br>Requirement already up-to-date: pbr>=0.5.21,<1.0 in ./.venv/lib/python2.7/site-packages (from -r /opt/stack/horizon/requirements.txt (line 1))<br>
Downloading/unpacking Django>=1.4,<1.6 (from -r /opt/stack/horizon/requirements.txt (line 3))<br>  Downloading Django-1.5.5.tar.gz (8.1MB): 8.1MB downloaded<br>  Storing download in cache at /tmp/.pip_download_cache/https%3A%2F%<a href="http://2Fpypi.python.org">2Fpypi.python.org</a>%2Fpackages%2Fsource%2FD%2FDjango%2FDjango-1.5.5.tar.gz<br>
  Running setup.py egg_info for package Django<br>    <br>    warning: no previously-included files matching '__pycache__' found under directory '*'<br>    warning: no previously-included files matching '*.py[co]' found under directory '*'<br>
Downloading/unpacking django-compressor>=1.3 (from -r /opt/stack/horizon/requirements.txt (line 4))<br>  Downloading django_compressor-1.3.tar.gz (91kB): 91kB downloaded<br>  Storing download in cache at /tmp/.pip_download_cache/https%3A%2F%<a href="http://2Fpypi.python.org">2Fpypi.python.org</a>%2Fpackages%2Fsource%2Fd%2Fdjango_compressor%2Fdjango_compressor-1.3.tar.gz<br>
  Running setup.py egg_info for package django-compressor<br>    <br>    warning: no files found matching '*.js' under directory 'compressor/tests/media'<br>    warning: no files found matching '*.css' under directory 'compressor/tests/media'<br>
    warning: no files found matching '*.png' under directory 'compressor/tests/media'<br>    warning: no files found matching '*.coffee' under directory 'compressor/tests/media'<br>Downloading/unpacking django-openstack-auth>=1.1.3 (from -r /opt/stack/horizon/requirements.txt (line 5))<br>
  Downloading django_openstack_auth-1.1.3.tar.gz (45kB): 45kB downloaded<br>  Storing download in cache at /tmp/.pip_download_cache/https%3A%2F%<a href="http://2Fpypi.python.org">2Fpypi.python.org</a>%2Fpackages%2Fsource%2Fd%2Fdjango_openstack_auth%2Fdjango_openstack_auth-1.1.3.tar.gz<br>
  Running setup.py egg_info for package django-openstack-auth<br>    [pbr] Processing SOURCES.txt<br>    warning: LocalManifestMaker: standard file '-c' not found<br>    <br>    [pbr] In git context, generating filelist from git<br>
    warning: no previously-included files matching '*.pyc' found anywhere in distribution<br>    warning: no previously-included files found matching '.gitignore'<br>    warning: no previously-included files found matching '.gitreview'<br>
    warning: no previously-included files matching '*.pyc' found anywhere in distribution<br>Downloading/unpacking eventlet>=0.13.0 (from -r /opt/stack/horizon/requirements.txt (line 6))<br>  Downloading eventlet-0.14.0.tar.gz (279kB): 279kB downloaded<br>
  Storing download in cache at /tmp/.pip_download_cache/https%3A%2F%<a href="http://2Fpypi.python.org">2Fpypi.python.org</a>%2Fpackages%2Fsource%2Fe%2Feventlet%2Feventlet-0.14.0.tar.gz<br>  Running setup.py egg_info for package eventlet<br>
    <br>Downloading/unpacking kombu>=2.4.8 (from -r /opt/stack/horizon/requirements.txt (line 7))<br>  Downloading kombu-3.0.8.tar.gz (335kB): 335kB downloaded<br>  Storing download in cache at /tmp/.pip_download_cache/https%3A%2F%<a href="http://2Fpypi.python.org">2Fpypi.python.org</a>%2Fpackages%2Fsource%2Fk%2Fkombu%2Fkombu-3.0.8.tar.gz<br>
  Running setup.py egg_info for package kombu<br>    <br>    warning: no files found matching 'README'<br>Downloading/unpacking lesscpy>=0.9j (from -r /opt/stack/horizon/requirements.txt (line 8))<br>  Downloading lesscpy-0.9j.tar.gz<br>
  Storing download in cache at /tmp/.pip_download_cache/https%3A%2F%<a href="http://2Fpypi.python.org">2Fpypi.python.org</a>%2Fpackages%2Fsource%2Fl%2Flesscpy%2Flesscpy-0.9j.tar.gz<br>  Running setup.py egg_info for package lesscpy<br>
    <br>Downloading/unpacking iso8601>=0.1.8 (from -r /opt/stack/horizon/requirements.txt (line 9))<br>  Error <urlopen error [Errno -2] Name or service not known> while getting <a href="https://pypi.python.org/packages/source/i/iso8601/iso8601-0.1.8.tar.gz#md5=b207ad4f2df92810533ce6145ab9c3e7">https://pypi.python.org/packages/source/i/iso8601/iso8601-0.1.8.tar.gz#md5=b207ad4f2df92810533ce6145ab9c3e7</a> (from <a href="https://pypi.python.org/simple/iso8601/">https://pypi.python.org/simple/iso8601/</a>)<br>
Cleaning up...<br>Exception:<br>Traceback (most recent call last):<br>  File "/opt/stack/horizon/.venv/local/lib/python2.7/site-packages/pip/basecommand.py", line 134, in main<br>    status = self.run(options, args)<br>
  File "/opt/stack/horizon/.venv/local/lib/python2.7/site-packages/pip/commands/install.py", line 236, in run<br>    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)<br>
  File "/opt/stack/horizon/.venv/local/lib/python2.7/site-packages/pip/req.py", line 1092, in prepare_files<br>    self.unpack_url(url, location, self.is_download)<br>  File "/opt/stack/horizon/.venv/local/lib/python2.7/site-packages/pip/req.py", line 1238, in unpack_url<br>
    retval = unpack_http_url(link, location, self.download_cache, self.download_dir)<br>  File "/opt/stack/horizon/.venv/local/lib/python2.7/site-packages/pip/download.py", line 602, in unpack_http_url<br>    resp = _get_response_from_url(target_url, link)<br>
  File "/opt/stack/horizon/.venv/local/lib/python2.7/site-packages/pip/download.py", line 638, in _get_response_from_url<br>    resp = urlopen(target_url)<br>  File "/opt/stack/horizon/.venv/local/lib/python2.7/site-packages/pip/download.py", line 176, in __call__<br>
    response = self.get_opener(scheme=scheme).open(url)<br>  File "/usr/lib/python2.7/urllib2.py", line 400, in open<br>    response = self._open(req, data)<br>  File "/usr/lib/python2.7/urllib2.py", line 418, in _open<br>
    '_open', req)<br>  File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain<br>    result = func(*args)<br>  File "/opt/stack/horizon/.venv/local/lib/python2.7/site-packages/pip/download.py", line 155, in https_open<br>
    return self.do_open(self.specialized_conn_class, req)<br>  File "/usr/lib/python2.7/urllib2.py", line 1177, in do_open<br>    raise URLError(err)<br>URLError: <urlopen error [Errno -2] Name or service not known><br>
<br>Storing complete log in /home/sayali/.pip/pip.log<br>Command "tools/with_venv.sh pip install --upgrade -r /opt/stack/horizon/requirements.txt -r /opt/stack/horizon/test-requirements.txt" failed.<br>None<br></div>