openshift / logging-view-plugin Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Hi there
On Dec I was able to deploy Loki in an OCP 4.10 (s390x arch) and enabling the logging-view console without problems
Logging operator was 5.4.3.
Something happened during the X-mas holidays (not sure if someone upgraded the operator manually or it was due automatically) but the. logging-view plugin is not longer running (now it is running 5.5)
I can see logs like the following
{"_ts":"2023-01-18T11:39:02.792504266Z","_level":"0","_component":"cluster-logging-operator","_message":"reconciling console","_error":{"msg":"ConsolePlugin.console.openshift.io \"logging-view-plugin\" is invalid: spec.proxy.service.name: Invalid value: \"\": spec.proxy.service.name in body should be at least 1 chars long"},"plugin":"console.openshift.io/v1alpha1/consoleplugins/logging-view-plugin"}
and
2023/01/18 12:09:04 [error] 7#0: *2 open() "/usr/share/nginx/html/locales/en/plugin_logging-view-plugin.json" failed (2: No such file or directory), client: 10.129.0.96, server: , request: "GET /locales/en/plugin_logging-view-plugin.json HTTP/1.1", host: "logging-view-plugin.openshift-logging.svc.cluster.local:9443", referrer: "https://console-openshift-console.apps.[redacted]/k8s/ns/openshift-logging/clusterserviceversions/cluster-logging.5.5.5/logging.openshift.io~v1~ClusterLogging/instance/yaml"
It seems there are some missing files in the container and OCP Console can't connect with the service and it is not shown in the console
I've tried to downgrade completely the stack (back to 5.4.9), and I can see the same thing
For some reason the plugin_logging-view-plugin.json is not in the docker image. Indeed there is no /usr/share/nginx/html/locales folder
Is anyone aware of that?
Thanks in advance
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.