Red Hat Bugzilla – Bug 1000193
Timeout handling for upgrade operations
Last modified: 2015-05-14 19:27:06 EDT
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.
(In reply to Dan Mace from comment #2)
Replaced by https://github.com/openshift/origin-server/pull/3484
Commit pushed to master at https://github.com/openshift/origin-server
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.
Tested on devenv-stage_457, after the hourglass merged, the oo-admin-upgrade works fine. And no regression.
Move bug to verified.