Repo add timeout

Bug #1399417 reported by Ian Cordasco
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Low
Nolan Brubaker
Icehouse
Fix Released
Low
Jesse Pretorius
Juno
Fix Released
Low
Jesse Pretorius
Trunk
Fix Released
Low
Nolan Brubaker

Bug Description

Opened by hughsaunders on 2014-10-29 22:11:16+00:00 at https://github.com/rcbops/ansible-lxc-rpc/issues/445

------------------------------------------------------------

http://jenkins.propter.net/job/dev-sat6-gate/211/consoleFull

16:31:00 TASK: [container_common | Add Container repos] ********************************
16:31:08 changed: [node25_rsyslog_container-95683824] => (item={'repo': 'ppa:adiscon/v8-stable', 'state': 'present'})
16:31:08 changed: [node24_rsyslog_container-6cb048be] => (item={'repo': 'ppa:adiscon/v8-stable', 'state': 'present'})
16:31:08 changed: [node27_rsyslog_container-326fdea3] => (item={'repo': 'ppa:adiscon/v8-stable', 'state': 'present'})
16:31:08 changed: [node26_rsyslog_container-c087f142] => (item={'repo': 'ppa:adiscon/v8-stable', 'state': 'present'})
16:31:12 failed: [node23_rsyslog_container-ec8e7d32] => (item={'repo': 'ppa:adiscon/v8-stable', 'state': 'present'}) => {"failed": true, "item": {"repo": "ppa:adiscon/v8-stable", "state": "present"}, "parsed": false}
16:31:12 invalid output was: Traceback (most recent call last):
16:31:12 File "<stdin>", line 2071, in <module>
16:31:12 File "<stdin>", line 408, in main
16:31:12 File "<stdin>", line 343, in add_source
16:31:12 File "<stdin>", line 322, in _get_ppa_info
16:31:12 File "<stdin>", line 2058, in fetch_url
16:31:12 File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
16:31:12 return _opener.open(url, data, timeout)
16:31:12 File "/usr/lib/python2.7/urllib2.py", line 404, in open
16:31:12 response = self._open(req, data)
16:31:12 File "/usr/lib/python2.7/urllib2.py", line 422, in _open
16:31:12 '_open', req)
16:31:12 File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
16:31:12 result = func(*args)
16:31:12 File "/usr/lib/python2.7/urllib2.py", line 1222, in https_open
16:31:12 return self.do_open(httplib.HTTPSConnection, req)
16:31:12 File "/usr/lib/python2.7/urllib2.py", line 1187, in do_open
16:31:12 r = h.getresponse(buffering=True)
16:31:12 File "/usr/lib/python2.7/httplib.py", line 1045, in getresponse
16:31:12 response.begin()
16:31:12 File "/usr/lib/python2.7/httplib.py", line 409, in begin
16:31:12 version, status, reason = self._read_status()
16:31:12 File "/usr/lib/python2.7/httplib.py", line 365, in _read_status
16:31:12 line = self.fp.readline(_MAXLINE + 1)
16:31:12 File "/usr/lib/python2.7/socket.py", line 476, in readline
16:31:12 data = self._sock.recv(self._rbufsize)
16:31:12 File "/usr/lib/python2.7/ssl.py", line 341, in recv
16:31:12 return self.read(buflen)
16:31:12 File "/usr/lib/python2.7/ssl.py", line 260, in read
16:31:12 return self._sslobj.read(len)
16:31:12 ssl.SSLError: The read operation timed out
16:31:12

Maybe needs a retry.

Tags: prio:3

====================== COMMENTS ============================

Comment created by cloudnull on 2014-10-29 22:48:11+00:00

+1 I think that this method should have a retry on it.

Changed in openstack-ansible:
importance: Undecided → Low
milestone: none → 10.1.0
Changed in openstack-ansible:
milestone: 10.1.0 → 10.1.2
Changed in openstack-ansible:
status: New → Triaged
Changed in openstack-ansible:
assignee: nobody → Nolan Brubaker (nolan-brubaker)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to os-ansible-deployment (master)

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

Changed in openstack-ansible:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-ansible-deployment (master)

Reviewed: https://review.openstack.org/148662
Committed: https://git.openstack.org/cgit/stackforge/os-ansible-deployment/commit/?id=9aacacea642216143e4d8058e56d7bb66d93f0a2
Submitter: Jenkins
Branch: master

commit 9aacacea642216143e4d8058e56d7bb66d93f0a2
Author: Nolan Brubaker <email address hidden>
Date: Tue Jan 20 12:20:17 2015 -0500

    Add retry to adding container repos.

    Change-Id: Ie5a330947b852f23ab2f9333142ae5eeaff8b106
    Closes-Bug: 1399417

Changed in openstack-ansible:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to os-ansible-deployment (juno)

Fix proposed to branch: juno
Review: https://review.openstack.org/151003

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-ansible-deployment (juno)

Reviewed: https://review.openstack.org/151003
Committed: https://git.openstack.org/cgit/stackforge/os-ansible-deployment/commit/?id=746b45653d312b700069ae75a36a017bd02077da
Submitter: Jenkins
Branch: juno

commit 746b45653d312b700069ae75a36a017bd02077da
Author: Nolan Brubaker <email address hidden>
Date: Tue Jan 20 12:20:17 2015 -0500

    Add retry to adding container repos.

    Change-Id: Ie5a330947b852f23ab2f9333142ae5eeaff8b106
    Closes-Bug: 1399417
    (cherry picked from commit 9aacacea642216143e4d8058e56d7bb66d93f0a2)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to os-ansible-deployment (icehouse)

Fix proposed to branch: icehouse
Review: https://review.openstack.org/157739

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-ansible-deployment (icehouse)

Reviewed: https://review.openstack.org/157739
Committed: https://git.openstack.org/cgit/stackforge/os-ansible-deployment/commit/?id=ff2dde6fe1dc6a366d07da29ded514e24daaed53
Submitter: Jenkins
Branch: icehouse

commit ff2dde6fe1dc6a366d07da29ded514e24daaed53
Author: Nolan Brubaker <email address hidden>
Date: Tue Jan 20 12:20:17 2015 -0500

    Add retry to adding container repos.

    Change-Id: Ie5a330947b852f23ab2f9333142ae5eeaff8b106
    Closes-Bug: 1399417
    (cherry picked from commit 9aacacea642216143e4d8058e56d7bb66d93f0a2)

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.