Bug 1030045

Summary: oo-install should not suggest rebooting the system
Product: OpenShift Container Platform Reporter: Brenton Leanhardt <bleanhar>
Component: Cluster Version OperatorAssignee: Luke Meyer <lmeyer>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.0.0CC: jialiu, libra-onpremise-devel, lmeyer
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-02-04 14:40:26 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 Brenton Leanhardt 2013-11-13 19:25:52 UTC
Description of problem:

Whenever oo-install completes a run of openshift.sh on a system the text "please reboot to start all services properly." is displayed.  This can be confusing if the admin is not aware that the oo-install process is still in process.  We should consider rewording the message or finding a way to may it not display if openshift.sh is being run from within oo-install.

Comment 2 Luke Meyer 2013-11-15 21:39:43 UTC
Changes are coming very shortly.
* Output from the script will be filtered to just the "OpenShift:" status lines when shown to the user
* logs will be kept on the host and can be tailed.
* oo-install will tell you whether the installation was successful and retry smartly.

I'll update the bug once these are packaged out at oo-install.rhcloud.com.

Comment 3 Luke Meyer 2013-11-19 13:49:46 UTC
This should be much improved now.

Comment 4 Johnny Liu 2013-11-20 07:27:42 UTC
Verified this bug with oo-install-20131119-1827, and PASS.

When installation is failed.
$ ./oo-install -a -e
...
OpenShift: Command failed: yum install yum-plugin-priorities yum-utils
OpenShift: Please ensure relevant repos/subscriptions are configured.
OpenShift: Aborting Installation.

---------------------------------------
Install step 'prepare' FAILED for:
  * 10.4.59.184 (bb)
Please examine /tmp/openshift-deploy-prepare.log on 10.4.59.184 to troubleshoot.
  * 10.4.59.142 (db)
Please examine /tmp/openshift-deploy-prepare.log on 10.4.59.142 to troubleshoot.
  * 10.4.59.138 (msg)
Please examine /tmp/openshift-deploy-prepare.log on 10.4.59.138 to troubleshoot.
  * 10.4.59.188 (node)
Please examine /tmp/openshift-deploy-prepare.log on 10.4.59.188 to troubleshoot.
It is safe to run this deployment again after problem resolution.
--------------------------------------------

Installation completed.
oo-install exited; keeping temporary assets in /tmp/

When installation is finished successfully.
$ ./oo-install -a -e
...
OpenShift: Begin preflight validation.
OpenShift: Completed preflight validation.
...
...
OpenShift: Begin configuring host.
OpenShift: Completed configuring host.
OpenShift: Begin configuring OpenShift.
OpenShift: Completed configuring OpenShift.
Step 'configure' succeeded for host 10.4.59.188
All installer steps are complete.
Please reboot newly-installed systems to complete the deployment.

Installation completed.
oo-install exited; keeping temporary assets in /tmp/



The output is friendly and clear.