Red Hat Bugzilla – Bug 988949
Upgrade checks should be run exclusively when enabled in oo-accept-node
Last modified: 2015-05-14 19:24:54 EDT
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.
Commit pushed to master at https://github.com/openshift/origin-server
Fix bug 988949: make upgrade checks run exclusively when enabled
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
Only upgrade related checks will be ran if --run-upgrade-check flag enabled.
Move bug to verified.