deploy.py does not retry when connection to swift is broken

Bug #1289567 reported by Vincent Ladeuil
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu CI Engine
Fix Released
High
Vincent Ladeuil

Bug Description

vila/hp:~/ci/ubuntu-ci-services-itself/bugs/1289273-racy-config-file :) $ time ./juju-deployer/deploy.py
Checking juju status
No revisions or tags to pull.
No revisions or tags to pull.
No revisions or tags to pull.
Uploading local branch to swift ...
Traceback (most recent call last):
  File "./juju-deployer/deploy.py", line 325, in <module>
    main()
  File "./juju-deployer/deploy.py", line 303, in main
    setup_swift()
  File "./juju-deployer/deploy.py", line 261, in setup_swift
    os.environ['CI_PAYLOAD_URL'] = ds.put_file('payload.tgz', f)
  File "./juju-deployer/../ci-utils/ci_utils/data_store/__init__.py", line 63, in put_file
    content_type=content_type)
  File "/usr/lib/python2.7/dist-packages/swiftclient/client.py", line 890, in put_object
    conn.send('%x\r\n%s\r\n' % (len(chunk), chunk))
  File "/usr/lib/python2.7/httplib.py", line 805, in send
    self.sock.sendall(data)
  File "/usr/lib/python2.7/ssl.py", line 293, in sendall
    v = self.send(data[count:])
  File "/usr/lib/python2.7/ssl.py", line 262, in send
    v = self._sslobj.write(data)
socket.error: [Errno 32] Broken pipe

real 3m58.558s
user 0m1.230s
sys 0m0.127s

Not sure it will happen again, hp cloud network is capricious today.... filing in case more of us encounter the issue, I'm not sure we want to catch/retry there.

Tags: airline
Vincent Ladeuil (vila)
tags: added: airline
Vincent Ladeuil (vila)
Changed in ubuntu-ci-services-itself:
status: New → Confirmed
importance: Undecided → High
Ursula Junque (ursinha)
Changed in uci-engine:
importance: Undecided → High
status: New → Confirmed
Evan (ev)
no longer affects: ubuntu-ci-services-itself
Evan (ev)
summary: - put_object failed with Broken pipe
+ deploy.py does not retry when connection to swift is broken
Changed in uci-engine:
milestone: none → backlog
Revision history for this message
Vincent Ladeuil (vila) wrote :

Fixed in trunk @ revno 451

Changed in uci-engine:
assignee: nobody → Vincent Ladeuil (vila)
milestone: backlog → uce-0
status: Confirmed → 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.