Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1584285

Summary: [free-stg] migrating hostSubnetLength turned value into a string and added extra space
Product: OpenShift Container Platform Reporter: Justin Pierce <jupierce>
Component: InstallerAssignee: Russell Teague <rteague>
Status: CLOSED ERRATA QA Contact: liujia <jiajliu>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.10.0CC: aos-bugs, bleanhar, jokerman, mmccomas
Target Milestone: ---   
Target Release: 3.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Removed an inadvertent extra space in the openshift_host_subnet_length variable.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-30 19:16:51 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 Justin Pierce 2018-05-30 15:51:03 UTC
Description of problem:
During an openshift-ansible upgrade to 3.10, the playbooks terminated at `TASK [Wait for master API to come back online] *********************************`

`master-logs api api` reported:
could not load config file "/etc/origin/master/master-config.yaml" due to an error: error reading config: [pos 5999]: json: decNum: got first char ' '

And master-config.yaml contained:
  hostSubnetLength: ' 9'

Version-Release number of selected component (if applicable):
v3.10.0-0.54.0

Expected results:
The value should have migrated without ' ' and as an integer.

Comment 1 Brenton Leanhardt 2018-05-30 17:06:20 UTC
https://github.com/openshift/openshift-ansible/pull/8577

Russell, could you sanity check this PR?

Comment 2 openshift-github-bot 2018-05-30 19:13:09 UTC
Commits pushed to master at https://github.com/openshift/openshift-ansible

https://github.com/openshift/openshift-ansible/commit/35c76a19bc33fe103c2cb6068ddd1ee76bb6eca0
Bug 1584285 - remove extra space from hostSubnetLength

https://github.com/openshift/openshift-ansible/commit/b68f618485ce9e9f79f3a2eafe4ac268f0ebc09f
Merge pull request #8577 from brenton/BZ1584285

Bug 1584285 - remove extra space from hostSubnetLength

Comment 3 Russell Teague 2018-06-04 13:06:00 UTC
In openshift-ansible-3.10.0-0.56.0

Comment 4 liujia 2018-06-05 08:55:03 UTC
Verified on openshift-ansible-3.10.0-0.58.0.git.0.d8f6377.el7.noarch

Comment 6 errata-xmlrpc 2018-07-30 19:16:51 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