Intersphinx inventory not fetchable, Connection reset by peer

Bug #1353817 reported by Jamie Lennox
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Core Infrastructure
Triaged
Undecided
Unassigned
python-keystoneclient
Fix Released
Medium
Jamie Lennox

Bug Description

Seems to fetch correctly from docs.python.org but fails for openstack:

2014-08-07 03:43:52.392 | Running Sphinx v1.2.2
2014-08-07 03:43:52.635 | loading pickled environment... not yet created
2014-08-07 03:43:52.685 | loading intersphinx inventory from http://docs.python.org/objects.inv...
2014-08-07 03:43:53.006 | loading intersphinx inventory from http://glance.openstack.org/objects.inv...
2014-08-07 03:43:53.220 | Traceback (most recent call last):
2014-08-07 03:43:53.221 | File "setup.py", line 30, in <module>
2014-08-07 03:43:53.222 | pbr=True)
2014-08-07 03:43:53.223 | File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
2014-08-07 03:43:53.224 | dist.run_commands()
2014-08-07 03:43:53.225 | File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
2014-08-07 03:43:53.226 | self.run_command(cmd)
2014-08-07 03:43:53.258 | File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
2014-08-07 03:43:53.259 | cmd_obj.run()
2014-08-07 03:43:53.260 | File "/home/jenkins/workspace/gate-python-keystoneclient-docs/.tox/venv/local/lib/python2.7/site-packages/pbr/packaging.py", line 754, in run
2014-08-07 03:43:53.262 | self._sphinx_run()
2014-08-07 03:43:53.263 | File "/home/jenkins/workspace/gate-python-keystoneclient-docs/.tox/venv/local/lib/python2.7/site-packages/pbr/packaging.py", line 712, in _sphinx_run
2014-08-07 03:43:53.264 | freshenv=self.fresh_env, warningiserror=True)
2014-08-07 03:43:53.265 | File "/home/jenkins/workspace/gate-python-keystoneclient-docs/.tox/venv/local/lib/python2.7/site-packages/sphinx/application.py", line 139, in __init__
2014-08-07 03:43:53.266 | self._init_builder(buildername)
2014-08-07 03:43:53.267 | File "/home/jenkins/workspace/gate-python-keystoneclient-docs/.tox/venv/local/lib/python2.7/site-packages/sphinx/application.py", line 201, in _init_builder
2014-08-07 03:43:53.268 | self.emit('builder-inited')
2014-08-07 03:43:53.269 | File "/home/jenkins/workspace/gate-python-keystoneclient-docs/.tox/venv/local/lib/python2.7/site-packages/sphinx/application.py", line 400, in emit
2014-08-07 03:43:53.270 | results.append(callback(self, *args))
2014-08-07 03:43:53.271 | File "/home/jenkins/workspace/gate-python-keystoneclient-docs/.tox/venv/local/lib/python2.7/site-packages/sphinx/ext/intersphinx.py", line 189, in load_mappings
2014-08-07 03:43:53.273 | invdata = fetch_inventory(app, uri, inv)
2014-08-07 03:43:53.273 | File "/home/jenkins/workspace/gate-python-keystoneclient-docs/.tox/venv/local/lib/python2.7/site-packages/sphinx/ext/intersphinx.py", line 137, in fetch_inventory
2014-08-07 03:43:53.275 | '%s: %s' % (inv, err.__class__, err))
2014-08-07 03:43:53.275 | File "/home/jenkins/workspace/gate-python-keystoneclient-docs/.tox/venv/local/lib/python2.7/site-packages/sphinx/application.py", line 260, in warn
2014-08-07 03:43:53.277 | raise SphinxWarning(warntext)
2014-08-07 03:43:53.279 | sphinx.errors.SphinxWarning: WARNING: intersphinx inventory u'http://glance.openstack.org/objects.inv' not fetchable due to <class 'socket.error'>: [Errno 104] Connection reset by peer

Revision history for this message
Jamie Lennox (jamielennox) wrote :
Revision history for this message
Clark Boylan (cboylan) wrote :

I think the interdoc things should point at http://docs.openstack.org/developer/glance/ instead as that is the proper location for the docs. I don't expect the glance.o.o address to work as I thought those names were being killed (looks like there is enough of a redirect there to mostly work?)

Changed in openstack-ci:
status: New → Invalid
status: Invalid → Triaged
Revision history for this message
Clark Boylan (cboylan) wrote :

Actually, after more testing it looks like the cloudsites docs.openstack.org site is having trouble :(

$ wget http://glance.openstack.org/objects.inv
--2014-08-06 22:34:08-- http://glance.openstack.org/objects.inv
Resolving glance.openstack.org (glance.openstack.org)... 173.203.107.207
Connecting to glance.openstack.org (glance.openstack.org)|173.203.107.207|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://docs.openstack.org/developer/glance/objects.inv [following]
--2014-08-06 22:34:09-- http://docs.openstack.org/developer/glance/objects.inv
Resolving docs.openstack.org (docs.openstack.org)... 98.129.229.216
Connecting to docs.openstack.org (docs.openstack.org)|98.129.229.216|:80... failed: Connection timed out.
Retrying.

--2014-08-06 22:35:13-- (try: 2) http://docs.openstack.org/developer/glance/objects.inv
Connecting to docs.openstack.org (docs.openstack.org)|98.129.229.216|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 220 [text/plain]
Saving to: `objects.inv'

100%[=====================================================================================================================================================================================================>] 220 --.-K/s in 0s

2014-08-06 22:35:13 (62.3 MB/s) - `objects.inv' saved [220/220]

I suppose we will have to get on the phone with rax or submit a ticket in the morning. (long term plan is to host this stuff ourselves).

Revision history for this message
Clark Boylan (cboylan) wrote :

Leaving this as affecting python-keystoneclient too because the url keystoneclient uses should be udpated to prevent breakage if/when glance.openstack.org goes away.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-keystoneclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/112479

Changed in python-keystoneclient:
assignee: nobody → Jamie Lennox (jamielennox)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-keystoneclient (master)

Reviewed: https://review.openstack.org/112479
Committed: https://git.openstack.org/cgit/openstack/python-keystoneclient/commit/?id=bb5380822127525fa7b8bec9041b69b33a553fef
Submitter: Jenkins
Branch: master

commit bb5380822127525fa7b8bec9041b69b33a553fef
Author: Jamie Lennox <email address hidden>
Date: Thu Aug 7 15:47:48 2014 +1000

    Remove intersphinx mappings

    None of our documentation references any external sphinx documents so we
    don't need the intersphinx mappings.

    This started as a rename from the old glance.openstack.org site to the
    newer docs.openstack.org/developer/glance however they may as well be
    removed if not used.

    Closes-Bug: #1353817
    Change-Id: I638c4eeab7d01ec2f26a0d9d532f0006f4f75e72

Changed in python-keystoneclient:
status: In Progress → Fix Committed
Dolph Mathews (dolph)
Changed in python-keystoneclient:
milestone: none → 0.11.0
importance: Undecided → Medium
Dolph Mathews (dolph)
Changed in python-keystoneclient:
status: Fix Committed → Fix Released
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.