Re: [openstack-dev] Fwd: ./run_test.sh Fails
Hey, I checked ~/.pip but I do not see any pip.conf file. I see only pip log. Thanks, Sayali On Mon, Dec 23, 2013 at 9:48 PM, Ben Nemec openst...@nemebean.com wrote: On 2013-12-21 01:45, Sayali Lunkad wrote: Subject: ./run_test.sh fails to build environment Hello, 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. sayali@sayali:/opt/stack/horizon$ ./run_tests.sh [snip] Downloading/unpacking iso8601=0.1.8 (from -r /opt/stack/horizon/requirements.txt (line 9)) Error urlopen error [Errno -2] Name or service not known while getting https://pypi.python.org/packages/source/i/iso8601/iso8601-0.1.8.tar.gz#md5=b207ad4f2df92810533ce6145ab9c3e7(from https://pypi.python.org/simple/iso8601/) Cleaning up... Exception: Traceback (most recent call last): File /opt/stack/horizon/.venv/local/lib/python2.7/site-packages/pip/basecommand.py, line 134, in main status = self.run(options, args) File /opt/stack/horizon/.venv/local/lib/python2.7/site-packages/pip/commands/install.py, line 236, in run requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle) File /opt/stack/horizon/.venv/local/lib/python2.7/site-packages/pip/req.py, line 1092, in prepare_files self.unpack_url(url, location, self.is_download) File /opt/stack/horizon/.venv/local/lib/python2.7/site-packages/pip/req.py, line 1238, in unpack_url retval = unpack_http_url(link, location, self.download_cache, self.download_dir) File /opt/stack/horizon/.venv/local/lib/python2.7/site-packages/pip/download.py, line 602, in unpack_http_url resp = _get_response_from_url(target_url, link) File /opt/stack/horizon/.venv/local/lib/python2.7/site-packages/pip/download.py, line 638, in _get_response_from_url resp = urlopen(target_url) File /opt/stack/horizon/.venv/local/lib/python2.7/site-packages/pip/download.py, line 176, in __call__ response = self.get_opener(scheme=scheme).open(url) File /usr/lib/python2.7/urllib2.py, line 400, in open response = self._open(req, data) File /usr/lib/python2.7/urllib2.py, line 418, in _open '_open', req) File /usr/lib/python2.7/urllib2.py, line 378, in _call_chain result = func(*args) File /opt/stack/horizon/.venv/local/lib/python2.7/site-packages/pip/download.py, line 155, in https_open return self.do_open(self.specialized_conn_class, req) File /usr/lib/python2.7/urllib2.py, line 1177, in do_open raise URLError(err) URLError: urlopen error [Errno -2] Name or service not known Storing complete log in /home/sayali/.pip/pip.log Command tools/with_venv.sh pip install --upgrade -r /opt/stack/horizon/requirements.txt -r /opt/stack/horizon/test-requirements.txt failed. None This looks like a simple download failure. It happens sometimes with pypi. It's probably not a bad idea to just configure pip to use our mirror as it's generally more stable. You can see what we do in tripleo-image-elements here: https://github.com/openstack/tripleo-image-elements/blob/master/elements/pypi-openstack/pre-install.d/00-configure-openstack-pypi-mirror Mostly I think you just need to look at the pip.conf part. -Ben ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] Fwd: ./run_test.sh Fails
On 2013-12-21 01:45, Sayali Lunkad wrote: Subject: ./run_test.sh fails to build environment Hello, 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. sayali@sayali:/opt/stack/horizon$ ./run_tests.sh [snip] Downloading/unpacking iso8601=0.1.8 (from -r /opt/stack/horizon/requirements.txt (line 9)) Error urlopen error [Errno -2] Name or service not known while getting https://pypi.python.org/packages/source/i/iso8601/iso8601-0.1.8.tar.gz#md5=b207ad4f2df92810533ce6145ab9c3e7 [1] (from https://pypi.python.org/simple/iso8601/ [2]) Cleaning up... Exception: Traceback (most recent call last): File /opt/stack/horizon/.venv/local/lib/python2.7/site-packages/pip/basecommand.py, line 134, in main status = self.run(options, args) File /opt/stack/horizon/.venv/local/lib/python2.7/site-packages/pip/commands/install.py, line 236, in run requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle) File /opt/stack/horizon/.venv/local/lib/python2.7/site-packages/pip/req.py, line 1092, in prepare_files self.unpack_url(url, location, self.is_download) File /opt/stack/horizon/.venv/local/lib/python2.7/site-packages/pip/req.py, line 1238, in unpack_url retval = unpack_http_url(link, location, self.download_cache, self.download_dir) File /opt/stack/horizon/.venv/local/lib/python2.7/site-packages/pip/download.py, line 602, in unpack_http_url resp = _get_response_from_url(target_url, link) File /opt/stack/horizon/.venv/local/lib/python2.7/site-packages/pip/download.py, line 638, in _get_response_from_url resp = urlopen(target_url) File /opt/stack/horizon/.venv/local/lib/python2.7/site-packages/pip/download.py, line 176, in __call__ response = self.get_opener(scheme=scheme).open(url) File /usr/lib/python2.7/urllib2.py, line 400, in open response = self._open(req, data) File /usr/lib/python2.7/urllib2.py, line 418, in _open '_open', req) File /usr/lib/python2.7/urllib2.py, line 378, in _call_chain result = func(*args) File /opt/stack/horizon/.venv/local/lib/python2.7/site-packages/pip/download.py, line 155, in https_open return self.do_open(self.specialized_conn_class, req) File /usr/lib/python2.7/urllib2.py, line 1177, in do_open raise URLError(err) URLError: urlopen error [Errno -2] Name or service not known Storing complete log in /home/sayali/.pip/pip.log Command tools/with_venv.sh pip install --upgrade -r /opt/stack/horizon/requirements.txt -r /opt/stack/horizon/test-requirements.txt failed. None This looks like a simple download failure. It happens sometimes with pypi. It's probably not a bad idea to just configure pip to use our mirror as it's generally more stable. You can see what we do in tripleo-image-elements here: https://github.com/openstack/tripleo-image-elements/blob/master/elements/pypi-openstack/pre-install.d/00-configure-openstack-pypi-mirror Mostly I think you just need to look at the pip.conf part. -Ben Links: -- [1] https://pypi.python.org/packages/source/i/iso8601/iso8601-0.1.8.tar.gz#md5=b207ad4f2df92810533ce6145ab9c3e7 [2] https://pypi.python.org/simple/iso8601/ ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] Fwd: ./run_test.sh Fails
Are you trying this on Ubuntu? On Sat, Dec 21, 2013 at 1:15 PM, Sayali Lunkad sayali.92...@gmail.comwrote: Subject: ./run_test.sh fails to build environment Hello, 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. sayali@sayali:/opt/stack/horizon$ ./run_tests.sh Checking environment. Environment not found. Install? (Y/n) y Fetching new src packages... Creating venv... done. Installing dependencies with pip (this can take a while)... Downloading/unpacking pip=1.4 Creating supposed download cache at /tmp/.pip_download_cache Downloading pip-1.4.1.tar.gz (445Kb): 445Kb downloaded Storing download in cache at /tmp/.pip_download_cache/https%3A%2F% 2Fpypi.python.org%2Fpackages%2Fsource%2Fp%2Fpip%2Fpip-1.4.1.tar.gz Running setup.py egg_info for package pip warning: no files found matching '*.html' under directory 'docs' warning: no previously-included files matching '*.rst' found under directory 'docs/_build' no previously-included directories found matching 'docs/_build/_sources' Installing collected packages: pip Found existing installation: pip 1.1 Uninstalling pip: Successfully uninstalled pip Running setup.py install for pip warning: no files found matching '*.html' under directory 'docs' warning: no previously-included files matching '*.rst' found under directory 'docs/_build' no previously-included directories found matching 'docs/_build/_sources' Installing pip script to /opt/stack/horizon/.venv/bin Installing pip-2.7 script to /opt/stack/horizon/.venv/bin Successfully installed pip Cleaning up... Downloading/unpacking distribute from https://pypi.python.org/packages/source/d/distribute/distribute-0.7.3.zip#md5=c6c59594a7b180af57af8a0cc0cf5b4a Downloading distribute-0.7.3.zip (145kB): 145kB downloaded Storing download in cache at /tmp/.pip_download_cache/https%3A%2F% 2Fpypi.python.org %2Fpackages%2Fsource%2Fd%2Fdistribute%2Fdistribute-0.7.3.zip Running setup.py egg_info for package distribute Downloading/unpacking setuptools=0.7 (from distribute) Downloading setuptools-2.0.1.tar.gz (783kB): 783kB downloaded Storing download in cache at /tmp/.pip_download_cache/https%3A%2F% 2Fpypi.python.org %2Fpackages%2Fsource%2Fs%2Fsetuptools%2Fsetuptools-2.0.1.tar.gz Running setup.py egg_info for package setuptools Installing collected packages: setuptools, distribute Found existing installation: distribute 0.6.24 Uninstalling distribute: Successfully uninstalled distribute Running setup.py install for setuptools Installing easy_install script to /opt/stack/horizon/.venv/bin Installing easy_install-2.7 script to /opt/stack/horizon/.venv/bin Found existing installation: distribute 0.6.24 Can't uninstall 'distribute'. No files were found to uninstall. Running setup.py install for distribute Successfully installed setuptools distribute Cleaning up... Downloading/unpacking pbr Downloading pbr-0.5.23.tar.gz (128kB): 128kB downloaded Storing download in cache at /tmp/.pip_download_cache/https%3A%2F% 2Fpypi.python.org%2Fpackages%2Fsource%2Fp%2Fpbr%2Fpbr-0.5.23.tar.gz Running setup.py egg_info for package pbr [pbr] Processing SOURCES.txt warning: LocalManifestMaker: standard file '-c' not found [pbr] In git context, generating filelist from git warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files found matching '.gitignore' warning: no previously-included files found matching '.gitreview' warning: no previously-included files matching '*.pyc' found anywhere in distribution Requirement already up-to-date: pip=1.0 in ./.venv/lib/python2.7/site-packages (from pbr) Installing collected packages: pbr Running setup.py install for pbr [pbr] Reusing existing SOURCES.txt Successfully installed pbr Cleaning up... 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)) Downloading/unpacking Django=1.4,1.6 (from -r /opt/stack/horizon/requirements.txt (line 3)) Downloading Django-1.5.5.tar.gz (8.1MB): 8.1MB downloaded Storing download in cache at /tmp/.pip_download_cache/https%3A%2F% 2Fpypi.python.org%2Fpackages%2Fsource%2FD%2FDjango%2FDjango-1.5.5.tar.gz Running setup.py egg_info for package Django warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' Downloading/unpacking django-compressor=1.3 (from -r /opt/stack/horizon/requirements.txt (line 4)) Downloading django_compressor-1.3.tar.gz (91kB): 91kB downloaded Storing download in cache at /tmp/.pip_download_cache/https%3A%2F% 2Fpypi.python.org