Bug 1000193 - Timeout handling for upgrade operations
Summary: Timeout handling for upgrade operations
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Dan Mace
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-22 22:14 UTC by Paul Morie
Modified: 2015-05-14 23:27 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-29 12:54:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Paul Morie 2013-08-22 22:14:55 UTC
The OpenShift::Runtime::Upgrader class needs to accept an hourglass in the constructor to correctly handle timeouts the way the other actions available in the mcollective agent do.

Comment 4 openshift-github-bot 2013-08-23 17:59:02 UTC
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/27cac39a11957eea659377fc5866b2b9d36e2f2d
Bug 1000193: Use an Hourglass in the gear upgrader

Improve Upgrader class to accept and use an Hourglass instance for timeout handling. Pass
through the hourglass to all ApplicationContainer and cartridge model instances, and use
the hourglass to configure Net::HTTP timeout values.

Ensure that no Upgrader operations will ever be timed out by a higher level Timeout block
such as MCollective.

Comment 5 Meng Bo 2013-08-26 09:32:31 UTC
Tested on devenv-stage_457, after the hourglass merged, the oo-admin-upgrade works fine. And no regression.

Move bug to verified.


Note You need to log in before you can comment on or make changes to this bug.