Bug 1996094

Summary: Missing key errors on containers page
Product: OpenShift Container Platform Reporter: Samuel Padgett <spadgett>
Component: Management ConsoleAssignee: Samuel Padgett <spadgett>
Status: CLOSED ERRATA QA Contact: Mehul Modi <memodi>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.9CC: aos-bugs, jokerman, yapei
Target Milestone: ---Keywords: i18n
Target Release: 4.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-18 17:47:47 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 Samuel Padgett 2021-08-20 14:08:55 UTC
The containers page has missing key errors. We're trying to use `i18n.t` outside of a function, which causes the errors.

https://github.com/openshift/console/blob/master/frontend/public/module/k8s/container.ts#L6-L27

[SEVERE] https://console-openshift-console.apps.ci-op-3b4glq1i-75d12.**********************/static/main-chunk-d49752bc420de2090f01.min.js 0:241988 "Missing i18n key \"Always pull\" in namespace \"public\" and language \"en.\""
[SEVERE] https://console-openshift-console.apps.ci-op-3b4glq1i-75d12.**********************/static/main-chunk-d49752bc420de2090f01.min.js 0:241988 "Missing i18n key \"Pull down a new copy of the container image whenever a new pod is created.\" in namespace \"public\" and language \"en.\""
[SEVERE] https://console-openshift-console.apps.ci-op-3b4glq1i-75d12.**********************/static/main-chunk-d49752bc420de2090f01.min.js 0:241988 "Missing i18n key \"Pull if needed\" in namespace \"public\" and language \"en.\""
[SEVERE] https://console-openshift-console.apps.ci-op-3b4glq1i-75d12.**********************/static/main-chunk-d49752bc420de2090f01.min.js 0:241988 "Missing i18n key \"If the container isn’t available locally, pull it down.\" in namespace \"public\" and language \"en.\""
[SEVERE] https://console-openshift-console.apps.ci-op-3b4glq1i-75d12.**********************/static/main-chunk-d49752bc420de2090f01.min.js 0:241988 "Missing i18n key \"Never pull\" in namespace \"public\" and language \"en.\""
[SEVERE] https://console-openshift-console.apps.ci-op-3b4glq1i-75d12.**********************/static/main-chunk-d49752bc420de2090f01.min.js 0:241988 "Missing i18n key \"Don't pull down a container image. If the correct container image doesn't exist locally, the pod will fail to start correctly.\" in namespace \"public\" and language \"en.\""

Comment 4 Yadan Pei 2021-08-31 10:10:44 UTC
Visit /k8s/ns/openshift-console/pods/console-748795fd5c-lxdb7/containers/console page , no "Missing i18n key" errors 

Verified on 4.9.0-0.nightly-2021-08-30-192239

Comment 7 errata-xmlrpc 2021-10-18 17:47:47 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 (Moderate: OpenShift Container Platform 4.9.0 bug fix and security 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/RHSA-2021:3759