Project

General

Profile

Actions

Fix #12341

open

ansible should retry if network fails

Added by Loïc Dachary almost 9 years ago. Updated almost 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
ansible
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

It is common for connections to fail, such as below. The noise would be reduced if ansible could somehow retry.

Use 'apt-get autoremove' to remove them.
Suggested packages:
  groff
The following NEW packages will be installed:
  perl-doc
0 upgraded, 1 newly installed, 0 to remove and 121 not upgraded.
Need to get 7266 kB of archives.
After this operation, 13.1 MB of additional disk space will be used.
Err http://apt-mirror.front.sepia.ceph.com/archive.ubuntu.com/ubuntu/ trusty/main perl-doc all 5.18.2-2ubuntu1
  Could not connect to apt-mirror.front.sepia.ceph.com:80 (64.90.32.37), connection timed out

msg: '/usr/bin/apt-get -y -o "Dpkg::Options::=--force-confdef" -o "Dpkg::Options::=--force-confold"   install 'perl-doc'' failed: E: Failed to fetch http://apt-mirror.front.sepia.ceph.com/archive.ubuntu.com/ubuntu/pool/main/p/perl/perl-doc_5.18.2-2ubuntu1_all.deb  Could not connect to apt-mirror.front.sepia.ceph.com:80 (64.90.32.37), connection timed out

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Actions #1

Updated by Andrew Schoen almost 9 years ago

  • Category set to ansible
Actions

Also available in: Atom PDF