Uploaded image for project: 'Cluster Observability Operator'
  1. Cluster Observability Operator
  2. COO-760

[COO1.2] - Logging Plugin should be installed even without LokiStack

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • 1.2.0 RC
    • 1.1.0
    • logging-uiplugin
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Moderate
    • None

       
      Steps:

      1. Install COO1.1
      2. Do not install any Logging operator, Loki operator
      3. Install logging UIPlugin
      4. Check the status
        1. Status is empty

      Verify observability-operator pod:

       

      2025-03-17T18:28:28Z INFO observability-ui Reconciling observability UI plugin {"plugin": {"name":"logging"}}3862025-03-17T18:28:28Z ERROR observability-ui failed to reconcile plugin {"plugin": {"name":"logging"}, "error": "failed to list LokiStacks in namespace openshift-logging: the server could not find the requested resource"}387github.com/rhobs/observability-operator/pkg/controllers/uiplugin.resourceManager.Reconcile388/workspace/pkg/controllers/uiplugin/controller.go:263389sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Reconcile390/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.20.3/pkg/internal/controller/controller.go:118391sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler392/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.20.3/pkg/internal/controller/controller.go:328393sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWorkItem394/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.20.3/pkg/internal/controller/controller.go:288395sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func2.2396/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.20.3/pkg/internal/controller/controller.go:2493972025-03-17T18:28:28Z ERROR Reconciler error {"controller": "uiplugin", "controllerGroup": "observability.openshift.io", "controllerKind": "UIPlugin", "UIPlugin": {"name":"logging"}, "namespace": "", "name": "logging", "reconcileID": "eccbb1f1-ea1f-4830-ac6d-4864c75e7aa4", "error": "failed to list LokiStacks in namespace openshift-logging: the server could not find the requested resource"}398sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler399/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.20.3/pkg/internal/controller/controller.go:341400sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWorkItem401/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.20.3/pkg/internal/controller/controller.go:288402sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func2.2403/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.20.3/pkg/internal/controller/controller.go:249 

       

      Expected Result:

      • If user does not have access to the Pods logs, there is no way to identify the problem or logging plugin's dependencies. It should install and show Observe > Logs page with LokiStack missing.
      • If a LokiStack is not deployed, user should be able to install UIPlugin > logging-view-plugin

       
       

              gbernal@redhat.com Gabriel Bernal
              rh-ee-emurasak Evelyn Murasaki
              Anping Li, Gabriel Bernal, Jenny Zhu, Peter Yurkovich
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: