Bug 988949 - Upgrade checks should be run exclusively when enabled in oo-accept-node
Summary: Upgrade checks should be run exclusively when enabled in oo-accept-node
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Paul Morie
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-26 18:45 UTC by Paul Morie
Modified: 2015-05-14 23:24 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-07 22:57:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


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