run-mirror fails to mirror cinderclient

Bug #1209132 reported by Robert Collins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Core Infrastructure
Invalid
Undecided
Unassigned

Bug Description

http://paste.ubuntu.com/5957809/ has the detailed logs but:

Downloading/unpacking python-cinderclient>=1.0.4 (from -r /tmp/tmpedP0hX (line 53))
  Using download cache from /home/ubuntu/download/pip/openstack/https%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fp%2Fpython-cinderclient%2Fpython-cinderclient-1.0.5.tar.gz
  Running setup.py egg_info for package python-cinderclient
    Traceback (most recent call last):
      File "<string>", line 16, in <module>
      File "/tmp/tmpHGspxj/build/python-cinderclient/setup.py", line 22, in <module>
        pbr=True)
      File "/usr/lib/python2.7/distutils/core.py", line 112, in setup
        _setup_distribution = dist = klass(attrs)
      File "/tmp/tmpHGspxj/venv/local/lib/python2.7/site-packages/setuptools/dist.py", line 265, in __init__
        self.fetch_build_eggs(attrs.pop('setup_requires'))
      File "/tmp/tmpHGspxj/venv/local/lib/python2.7/site-packages/setuptools/dist.py", line 289, in fetch_build_eggs
        parse_requirements(requires), installer=self.fetch_build_egg
      File "/tmp/tmpHGspxj/venv/local/lib/python2.7/site-packages/pkg_resources.py", line 618, in resolve
        dist = best[req.key] = env.best_match(req, self, installer)
      File "/tmp/tmpHGspxj/venv/local/lib/python2.7/site-packages/pkg_resources.py", line 862, in best_match
        return self.obtain(req, installer) # try and download/install
      File "/tmp/tmpHGspxj/venv/local/lib/python2.7/site-packages/pkg_resources.py", line 874, in obtain
        return installer(requirement)
      File "/tmp/tmpHGspxj/venv/local/lib/python2.7/site-packages/setuptools/dist.py", line 339, in fetch_build_egg
        return cmd.easy_install(req)
      File "/tmp/tmpHGspxj/venv/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 611, in easy_install
        self.local_index
      File "/tmp/tmpHGspxj/venv/local/lib/python2.7/site-packages/setuptools/package_index.py", line 587, in fetch_distribution
        self.find_packages(requirement)
      File "/tmp/tmpHGspxj/venv/local/lib/python2.7/site-packages/setuptools/package_index.py", line 437, in find_packages
        self.scan_url(url)
      File "/tmp/tmpHGspxj/venv/local/lib/python2.7/site-packages/setuptools/package_index.py", line 765, in scan_url
        self.process_url(url, True)
      File "/tmp/tmpHGspxj/venv/local/lib/python2.7/site-packages/setuptools/package_index.py", line 303, in process_url
        f = self.open_url(url, "Download error on %s: %%s -- Some packages may not be found!" % url)
      File "/tmp/tmpHGspxj/venv/local/lib/python2.7/site-packages/setuptools/package_index.py", line 697, in open_url
        return local_open(url)
      File "/tmp/tmpHGspxj/venv/local/lib/python2.7/site-packages/setuptools/package_index.py", line 968, in local_open
        return urllib2.urlopen(url)
      File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
        return _opener.open(url, data, timeout)
      File "/usr/lib/python2.7/urllib2.py", line 404, in open
        response = self._open(req, data)
      File "/usr/lib/python2.7/urllib2.py", line 422, in _open
        '_open', req)
      File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
        result = func(*args)
      File "/usr/lib/python2.7/urllib2.py", line 1317, in file_open
        return self.open_local_file(req)
      File "/usr/lib/python2.7/urllib2.py", line 1358, in open_local_file
        raise URLError('file not on local host')
    urllib2.URLError: <urlopen error file not on local host>

run-mirror invocation:
time run-mirror -b remotes/origin/master --verbose -c mirror.yaml
mirror.yaml:
cache-root: /home/ubuntu/download

mirrors:
 - name: openstack
   projects:
    - https://github.com/openstack/requirements
   output: /home/ubuntu/mirror

Revision history for this message
Robert Collins (lifeless) wrote :

A copy-paste got away from me and messed up .pydistutils.cfg.

Changed in openstack-ci:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.