Bug 988949

Summary: Upgrade checks should be run exclusively when enabled in oo-accept-node
Product: OpenShift Online Reporter: Paul Morie <pmorie>
Component: ContainersAssignee: Paul Morie <pmorie>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.xCC: bmeng, chunchen, xtian
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: 2013-08-07 22:57:33 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:
Embargoed:

Description Paul Morie 2013-07-26 18:45:37 UTC
Currently, oo-accept-node has an option, --include-upgrade-checks, which turns on checks related to gear upgraders in addition to all the normal checks.  This bug is to make those checks run exclusively when the option is turned on, and rename the option to --run-upgrade-checks.

Comment 1 openshift-github-bot 2013-07-26 21:02:20 UTC
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/033342552bf9771298a44387e18586ad1f2edc04
Fix bug 988949: make upgrade checks run exclusively when enabled

Comment 4 Meng Bo 2013-07-30 08:10:20 UTC
Checked on devenv_3580,

# oo-accept-node --run-upgrade-check -v
INFO: loading node configuration file /etc/openshift/node.conf
INFO: loading resource limit file /etc/openshift/resource_limits.conf
INFO: finding external network device
INFO: running upgrade checks
FAIL: directory ea6fed6ef8ee11e2b1f122000aa43fb5 contains upgrade data
FAIL: directory ea6fed6ef8ee11e2b1f122000aa43fb5 contains pre-upgrade state
2 ERRORS

Only upgrade related checks will be ran if --run-upgrade-check flag enabled.

Move bug to verified.