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

Bug 1870653

Summary: CPaaS RHEL8: python3 print Compatibility error in ose-logging-elasticsearch6
Product: OpenShift Container Platform Reporter: Anping Li <anli>
Component: LoggingAssignee: Vimal Kumar <vimalkum>
Status: CLOSED ERRATA QA Contact: Anping Li <anli>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.6CC: aconway, aos-bugs, vimalkum
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: logging-core
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 15:10:23 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 Anping Li 2020-08-20 14:18:05 UTC
Description of problem:

$ oc logs elasticsearch-delete-app-1597932000-n275k
  File "<string>", line 6
    print indices[0] 
                ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(indices[0])?

Version-Release number of selected component (if applicable):
4.6, RHEL8 CPaaS Image

How reproducible:
Always


Steps to Reproduce:
1.
2.
3.

Actual results:

$ oc get pods
NAME                                            READY   STATUS             RESTARTS   AGE
cluster-logging-operator-d88f4f574-k8d9s        1/1     Running            0          19m
curator-1597932600-zwbgm                        0/1     Completed          0          4m43s
elasticsearch-cdm-x3ps7v5h-1-7b8f8d77f9-kgnzj   2/2     Running            0          17m
elasticsearch-delete-app-1597932000-n275k       0/1     Error              0          14m
elasticsearch-delete-audit-1597932000-lcnqh     0/1     Error              0          14m
elasticsearch-delete-infra-1597932000-l45sp     0/1     Error              0          14m
elasticsearch-rollover-app-1597932000-ljcqt     0/1     Completed          0          14m
elasticsearch-rollover-audit-1597932000-jf72s   0/1     Completed          0          14m
elasticsearch-rollover-infra-1597932000-6zgxb   0/1     Completed          0          14m
fluentd-2z2z7                                   0/1     CrashLoopBackOff   8          17m
fluentd-bnfkz                                   0/1     Error              8          17m
fluentd-ckmf2                                   0/1     CrashLoopBackOff   8          17m
fluentd-mg4mk                                   0/1     Error              8          17m
fluentd-vxqdl                                   0/1     CrashLoopBackOff   8          17m
fluentd-zrlfd                                   0/1     CrashLoopBackOff   7          17m
kibana-7f5c48c6c7-x99w2                         1/2     InvalidImageName   0          16m



Expected results:


Additional info:

Comment 1 Alan Conway 2020-08-20 16:03:54 UTC
Need steps to reproduce.

Comment 4 Anping Li 2020-08-27 09:34:38 UTC
cpaas/ midstreams build failed due to integer release number, Waiting new images.

Comment 5 Anping Li 2020-09-03 13:34:43 UTC
Verified on 
cluster-logging.4.6.0-202009021637.p0
elasticsearch-operator.4.6.0-202009022106.p0

Comment 7 errata-xmlrpc 2020-10-27 15:10:23 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 (OpenShift Container Platform 4.6.1 extras update), 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-2020:4198