Bug 2086496

Summary: Eliminate use of lookaside cache
Product: OpenShift Container Platform Reporter: Yuxiang Zhu <yuxzhu>
Component: LoggingAssignee: Periklis Tsirakidis <periklis>
Status: CLOSED ERRATA QA Contact: Anping Li <anli>
Severity: high Docs Contact:
Priority: high    
Version: 4.6CC: periklis
Target Milestone: ---   
Target Release: 4.6.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: logging-exploration
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-09-09 04:54:11 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:

Comment 2 Yuxiang Zhu 2022-05-18 07:27:53 UTC
Thanks. I saw build https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=45385873 failed because of version mismatch.

2022-05-18 03:49:12,590 - atomic_reactor.plugins.imagebuilder - INFO - -> Downloading file:///artifacts//org/elasticsearch/plugin/prometheus/prometheus-exporter/6.8.1.0/prometheus-exporter-6.8.1.0.zip
2022-05-18 03:49:12,592 - atomic_reactor.plugins.imagebuilder - INFO - Exception in thread "main" java.io.FileNotFoundException: /artifacts/org/elasticsearch/plugin/prometheus/prometheus-exporter/6.8.1.0/prometheus-exporter-6.8.1.0.zip (No such file or directory)
2022-05-18 03:49:12,592 - atomic_reactor.plugins.imagebuilder - INFO - 	at java.base/java.io.FileInputStream.open0(Native Method)
2022-05-18 03:49:12,592 - atomic_reactor.plugins.imagebuilder - INFO - 	at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
2022-05-18 03:49:12,592 - atomic_reactor.plugins.imagebuilder - INFO - 	at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
2022-05-18 03:49:12,592 - atomic_reactor.plugins.imagebuilder - INFO - 	at java.base/java.io.FileInputStream.<init>(FileInputStream.java:112)
2022-05-18 03:49:12,592 - atomic_reactor.plugins.imagebuilder - INFO - 	at java.base/sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:86)
2022-05-18 03:49:12,592 - atomic_reactor.plugins.imagebuilder - INFO - 	at java.base/sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:184)
2022-05-18 03:49:12,593 - atomic_reactor.plugins.imagebuilder - INFO - 	at org.elasticsearch.plugins.InstallPluginCommand.downloadZip(InstallPluginCommand.java:379)
2022-05-18 03:49:12,593 - atomic_reactor.plugins.imagebuilder - INFO - 	at org.elasticsearch.plugins.InstallPluginCommand.download(InstallPluginCommand.java:278)
2022-05-18 03:49:12,593 - atomic_reactor.plugins.imagebuilder - INFO - 	at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:229)
2022-05-18 03:49:12,593 - atomic_reactor.plugins.imagebuilder - INFO - 	at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:216)
2022-05-18 03:49:12,593 - atomic_reactor.plugins.imagebuilder - INFO - 	at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
2022-05-18 03:49:12,593 - atomic_reactor.plugins.imagebuilder - INFO - 	at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
2022-05-18 03:49:12,593 - atomic_reactor.plugins.imagebuilder - INFO - 	at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:77)
2022-05-18 03:49:12,593 - atomic_reactor.plugins.imagebuilder - INFO - 	at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
2022-05-18 03:49:12,593 - atomic_reactor.plugins.imagebuilder - INFO - 	at org.elasticsearch.cli.Command.main(Command.java:90)
2022-05-18 03:49:12,593 - atomic_reactor.plugins.imagebuilder - INFO - 	at org.elasticsearch.plugins.PluginCli.main(PluginCli.java:47)
2022-05-18 03:49:13,331 - atomic_reactor.plugins.imagebuilder - INFO - running '${HOME}/install.sh && rm -rf /artifacts' failed with exit code 1

Looks like we can fix this by updating the version of prometheus-exporter to 6.8.1.0-redhat-00001: https://github.com/openshift/origin-aggregated-logging/pull/2252

Comment 5 Yuxiang Zhu 2022-09-01 05:02:48 UTC
I can confirm that lookaise cache is no longer used in recent builds: https://docs.engineering.redhat.com/pages/viewpage.action?spaceKey=SP&title=Source+Container+Enablement+Progress+Report

Comment 7 errata-xmlrpc 2022-09-09 04:54:11 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.6.61 security and 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/RHSA-2022:6263