Bug 1565058

Summary: Installation failed at Update the sysconfig to group "node-config-master"
Product: OpenShift Container Platform Reporter: Wenkai Shi <weshi>
Component: InstallerAssignee: Russell Teague <rteague>
Status: CLOSED ERRATA QA Contact: Wenkai Shi <weshi>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.10.0CC: aos-bugs, ccoleman, jokerman, mmccomas, wmeng
Target Milestone: ---   
Target Release: 3.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Sysconfig location has been updated to coincide with static pods configuration.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-30 19:12:20 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 Wenkai Shi 2018-04-09 09:32:21 UTC
Description of problem:
Installation failed when set openshift_node_bootstrap=false

Version-Release number of the following components:
openshift-ansible-3.10.0-0.16.0.git.0.8925606.el7

How reproducible:
100%

Steps to Reproduce:
1. install OCP with openshift_node_bootstrap=false
2.
3.

Actual results:
ansible-playbook -i hosts -v /usr/share/ansible/openshift-ansible/playbooks/deploy_cluster.yml
...
TASK [openshift_node_group : Update the sysconfig to group "node-config-master"] ***
Monday 09 April 2018  03:29:02 -0400 (0:00:00.675)       0:03:02.686 ********** 

failed: [qe-weshi.example.com] (item={u'regexp': u'^BOOTSTRAP_CONFIG_NAME=.*', u'line': u'BOOTSTRAP_CONFIG_NAME=node-config-master'}) => {"changed": false, "failed": true, "item": {"line": "BOOTSTRAP_CONFIG_NAME=node-config-master", "regexp": "^BOOTSTRAP_CONFIG_NAME=.*"}, "msg": "Destination /etc/sysconfig/atomic-openshift-node does not exist !", "rc": 257}
...

Expected results:
Should pass this task

Additional info:

Comment 1 Scott Dodson 2018-04-19 13:16:02 UTC
Clayton,

Can we remove openshift_node_bootstrap=false ?

Comment 2 Russell Teague 2018-04-19 19:13:03 UTC
The issue noted by the failure in the 'Actual Results' above was fixed by
https://github.com/openshift/openshift-ansible/pull/7723
and was in build openshift-ansible-3.10.0-0.20.0.  The problem of installing with "openshift_node_bootstrap=false" is being tracked in 1567783.

Comment 3 Wenkai Shi 2018-04-20 02:27:44 UTC
According to BZ #1567783(openshift-ansible-3.10.0-0.21) , confirmed that this issue have been solved in openshift-ansible-3.10.0-0.20.0.

Comment 5 errata-xmlrpc 2018-07-30 19:12:20 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:1816