Integrate retry functionality to seedclient

Bug #1516632 reported by Alexander Charykov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Aliaksandr Buhayeu

Bug Description

We use seedclient.py to upload new iso to mirrors/cachers and it failes sometimes due to transmission error.

Right now we implemented fallback as external shell script "seedclient-wrapper".

Implement retry and fallback to wget as seedclient.py intrernal functionality.

Keep seedclient-wrapper as backward compatibility and warn that those functions moved to seedclient.py.

Ilya Kutukov (ikutukov)
Changed in fuel:
milestone: none → next
tags: added: area-apps
removed: area-devops tools
tags: added: area-infra-apps
removed: area-apps
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to fuel-infra-packages/python-seed (master)

Fix proposed to branch: master
Change author: Aliaksandr Buhayeu <email address hidden>
Review: https://review.fuel-infra.org/14013

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to fuel-infra-packages/python-seed (master)

Reviewed: https://review.fuel-infra.org/14013
Submitter: Alexander Charykov <email address hidden>
Branch: master

Commit: 042a0ea3cad3fb6b7d4ab82bdb7fb09e3f4b1c6e
Author: Aliaksandr Buhayeu <email address hidden>
Date: Fri Nov 20 10:54:47 2015

Implement HTTP fallback for torrent download

In case when torrent download is fault due to
any error fallback into HTTP download
using requests and try to download it directly.

This patchset covers notes from just clean-ups
the original bash script.

Change-Id: Ia9e7218fbc4f51d41765000343f13763ba44c605
Closes-Bug: #1516632

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to fuel-infra-packages/python-seed (master)

Fix proposed to branch: master
Change author: Aliaksandr Buhayeu <email address hidden>
Review: https://review.fuel-infra.org/14204

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Related fix merged to fuel-infra-packages/python-seed (master)

Reviewed: https://review.fuel-infra.org/14204
Submitter: Alexander Charykov <email address hidden>
Branch: master

Commit: c86db940e94ce4673e21a04832b56f2e4d6ab396
Author: Aliaksandr Buhayeu <email address hidden>
Date: Fri Nov 27 11:49:22 2015

Implement HTTP fallback for torrent download

This patchset just removes unused code
from the seedclient-wrapper.

Change-Id: I10ddfb745ac0f6410c2879d04e8dfc2426665d74
Closes-Bug: #1519739
Related-Bug: #1516632

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.