Bug 1427274
| Summary: | Kibana header "container-brand" image should be properly branded for the deployment | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Will Gordon <wgordon> |
| Component: | Logging | Assignee: | Jeff Cantrill <jcantril> |
| Status: | CLOSED ERRATA | QA Contact: | Anping Li <anli> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.11.0 | CC: | anli, aos-bugs, dakini, jcantril, knakayam, rmeggins, wgordon, xtian |
| Target Milestone: | --- | Keywords: | OnlineDedicated, OnlinePro, OnlineStarter |
| Target Release: | 3.11.z | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-06-06 02:00:28 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
Will Gordon
2017-02-27 18:14:24 UTC
Can you provide the proper image or point to who would have it? @Jeff OSO css override can be found here: https://github.com/openshift/online/blob/master/free/ui/assets/extensions/online-extensions.css (value in background-image) OSD css override can be found here: https://github.com/openshift/online/blob/master/dedicated/ui/assets/extensions/dedicated-extensions.css Origin image: https://github.com/openshift/origin-web-console/blob/master/app/images/logo-origin-thin.svg OCP image: https://github.com/openshift/origin-web-console/blob/enterprise-3.5/app/images/logo-OCP-console-hdr-thin.svg This is fixed by https://github.com/openshift/origin-aggregated-logging/pull/339 which will allow you to provide a custom image. I will work on some ansible changes to make this easier but until that exists: 1. Add a logging-kibana configmap: 'oc create configmap --from-file=overwrites.css=<YOURFILE>' YOURFILE contents: .container-brand { background-image: url() } where the url is the same as https://github.com/openshift/online/blob/master/dedicated/ui/assets/extensions/dedicated-extensions.css#L9 2. oc edit dc/logging-kibana and add: To the kibana container: - mountPath: /etc/openshift/kibana/styles name: kibana-styles readOnly: true To the pod spec: - configMap: name: logging-kibana name: kibana-styles 3. oc rollout latest dc/logging-kibana *** Bug 1395096 has been marked as a duplicate of this bug. *** Commit pushed to master at https://github.com/openshift/origin-aggregated-logging https://github.com/openshift/origin-aggregated-logging/commit/a1f7c4867f027b412a4aa4010b68ad9349332c6b bug 1427274. Allow users to provide override styles (e.g. header customization) I have checked that on online-int , ded-stg2-aws and ded-stg-gcp, the problem exists still, I think it is not ready for verification. Will, You will need to perform the steps from #3 to resolve this issue. *** Bug 1412037 has been marked as a duplicate of this bug. *** This has to be done via the release-ticket tag on an issue in github (https://github.com/openshift/online/issues?q=is%3Aissue+is%3Aopen+label%3Arelease-ticket). I am not ops, I do not have control of the infrastructure. This is awaiting the release of the ocp images. 12707393 buildContainer (noarch) completed successfully koji_builds: https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=542659 repositories: brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/openshift3/logging-kibana:rhaos-3.5-rhel-7-docker-candidate-20170307162508 brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/openshift3/logging-kibana:3.5.0-3 brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/openshift3/logging-kibana:3.5.0 brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/openshift3/logging-kibana:latest brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/openshift3/logging-kibana:v3.5 *** Bug 1501700 has been marked as a duplicate of this bug. *** The v3.5 is offline, Will check if the correct brand are enabled for OSO/OSD with current version. I couldn't change the branch following comment 3 in OCP 3.9. I think the overwrites.css should be replaced with overrides.css. The overrides.css was copied to ${KIBANA_HOME}/installedPlugins/origin-kibana/public/styles. But the branch is still OpneshiftContainerPlatform. Is this feature already available on OCP 3.11? It looks the run.sh in registry.redhat.io/openshift3/ose-logging-kibana5:v3.11.82 has the fix. But when I have tested, the console was not updated although /usr/share/kibana/plugins/origin-kibana/public/styles/overrides.css was repalced. I have cleaned the browser cache. @Jeff, could you please proceed this BZ? Is the status still ASSIGNED? The brand is Openshift Container Platform, so move to verified. 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:0794 |