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

Bug 1683519

Summary: Upgrade of Openshift from 3.11.69-1 to 3.11.82-3 fails
Product: OpenShift Container Platform Reporter: Jaspreet Kaur <jkaur>
Component: Cluster Version OperatorAssignee: Russell Teague <rteague>
Status: CLOSED ERRATA QA Contact: Weihua Meng <wmeng>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 3.11.0CC: aos-bugs, jkaur, jokerman, mmccomas, rteague, sreber, wmeng
Target Milestone: ---   
Target Release: 3.11.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Various conversions of data while trying to modify data items can result in parsing errors. The steps to modify the data items have been simplified to reduce parsing errors.
Story Points: ---
Clone Of:
: 1687789 (view as bug list) Environment:
Last Closed: 2019-04-11 05:38:34 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:
Bug Depends On:    
Bug Blocks: 1687789    

Description Jaspreet Kaur 2019-02-27 05:59:01 UTC
Description of problem:  

Failure summary:
  1. Hosts:    master1.example.com
     Play:     Change SDN/OVS DaemonSets to 'OnDelete' updateStrategy
     Task:     Apply DaemonSet manifest
     Message:  {u'cmd': u'/bin/oc replace -f /tmp/tmp.oGtC2GENa3/tmp_ds.yaml -n openshift-sdn', u'returncode': 1, u'results': {}, u'stderr': u"error: error parsing /tmp/tmp.oGtC2GENa3/tmp_ds.yaml: error converting YAML to JSON: yaml: line 7: found unexpected ':'\n", u'stdout': u''}

Version-Release number of the following components:
rpm -q openshift-ansible
rpm -q ansible
ansible --version

How reproducible:

Steps to Reproduce:
1.
2.
3.

Actual results: Fails everytime

Expected results: should succeed without issue.

Additional info:
Please attach logs from ansible-playbook with the -vvv flag

Comment 2 Scott Dodson 2019-02-27 13:44:16 UTC
Any way you can attach the actual file rather than pasting it as a comment so we can be sure of the line number alignment?

Comment 5 Russell Teague 2019-03-07 18:35:54 UTC
Proposed: https://github.com/openshift/openshift-ansible/pull/11320

Comment 6 Russell Teague 2019-03-11 15:28:52 UTC
In build openshift-ansible-3.11.93-1

Comment 7 Weihua Meng 2019-03-13 09:08:14 UTC
I cannot reproduce the issue.

Could you provide more info to reproduce this bug?

Thanks.

Comment 10 Weihua Meng 2019-03-14 00:37:28 UTC
Hi, 

I cannot reproduce this issue. (openshift-ansible-3.11.82-3.git.0.9718d0a.el7 used)

Could you help with steps to reproduce this bug?

Thanks in advance.

Comment 12 Weihua Meng 2019-03-21 02:59:42 UTC
Upgrade success with openshift-ansible-3.11.98-1.git.0.3cfa7c3.el7

Jaspreet, 
Could you provide a way to reproduce the bug?
Or is it OK to move Status to verified?

Thanks.

Comment 13 Jaspreet Kaur 2019-03-21 05:15:39 UTC
Hello,

Customer tried the patch on the github and provided here in the bugzilla.

It has fixed the issue. This bugzilla can now be moved to verified.

Regards,
Jaspreet

Comment 15 errata-xmlrpc 2019-04-11 05:38:34 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-2019:0636