| Summary: | using restart service plus message instead of system restart if ansible task is running on masters | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Anping Li <anli> |
| Component: | Cluster Version Operator | Assignee: | Andrew Butcher <abutcher> |
| Status: | CLOSED WONTFIX | QA Contact: | Anping Li <anli> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.1.0 | CC: | abutcher, aos-bugs, bleanhar, jokerman, mmccomas |
| Target Milestone: | --- | Keywords: | UpcomingRelease |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-01-15 15:30:09 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: | |
Are you running ansible from a host outside the cluster or on a host which will be rebooted as part of the rolling restart? The message should only be shown when running the playbook from a host that will be rebooted, such as the first master. (In reply to Andrew Butcher from comment #2) > Are you running ansible from a host outside the cluster or on a host which > will be rebooted as part of the rolling restart? The message should only be > shown when running the playbook from a host that will be rebooted, such as > the first master. Oh,I am running outside masters. Will try to run on master soon. Andrew, yes, the warning message works well if the ansible is running on masters. On question is about the post step if Enter is press. Could you just restart service rather than restart system? We will continue with system restarts if the user decides to continue since they configured openshift_rolling_restart_mode=system, but we'll the update the message and call attention to the openshift_rolling_restart_mode variable, letting the user know they can change the restart method to 'services' and relaunch the playbook. |
Description of problem: For system rolling restart. I can't see the warning message. I also have no way to abort the 'system restart'. Version-Release number of selected component (if applicable): atomic-openshift-utils-3.0.29-1 How reproducible: always Steps to Reproduce: 1. in inventory file: set openshift_rolling_restart_mode=system 2. ansible-playbook -i /root/config/ose31nativeha /root/openshift-ansible/playbooks/byo/openshift-master/restart.yml Actual results: Masters were restart by rolling. But there are no window to display warning message and the user can't abort 'system restart' Expected results: 1) The following message should be received by all Terminal. Warning: Running playbook from a host that will be restarted! Press CTRL+C and A to abort playbook execution. You may continue by pressing ENTER but the playbook will stop executing once this system restarts and services must be manually verified. 2) There is time for admin to abort 'system restart' Additional info: