| Summary: | oo-admin-upgrade output should include prior upgrade attempt results | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Paul Morie <pmorie> |
| Component: | Image | Assignee: | Dan McPherson <dmcphers> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.x | CC: | bmeng, dmcphers |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-01-30 00:50:00 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Paul Morie
2013-11-08 16:09:58 UTC
https://github.com/openshift/origin-server/pull/4141 added --num_tries and the initial failures are added to the log file. Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/8c58849946b9f10a98f81755f2d1dedd5a753e29 Fix bug 1028518: include prior upgrade attempts in oo-admin-upgrade output Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/65dc8b901099f15b463ef8e6c40a18deff1c2ffd Bug 1028518 Checked on devenv_4016, whatever I set the num-tries, it will report failed after 2 tries. I have tried num-tries=1 and num-tries=5
# oo-admin-upgrade upgrade-node --version 2.0.36 --ignore-cartridge-version --num-tries=1
Upgrader started with options: {:version=>"2.0.36", :ignore_cartridge_version=>true, :target_server_identity=>nil, :upgrade_position=>1, :num_upgraders=>1, :max_threads=>12, :gear_whitelist=>[], :num_tries=>1}
"errors": [
"Gear upgrade result is marked incomplete",
"Failed upgrade after 2 tries"
And for the 2 tries by default, still cannot find the logs for each try.
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/38350835da5ce55ab21c80ecac4ed7538b589a03 Bug 1028518 The option works well on devenv_4022, the result show the correct number of tries, and error log for each time can be found in the log.
"errors": [
"Gear upgrade result is marked incomplete",
"Failed upgrade after 3 tries"
Move bug to verified.
|