Uploaded image for project: 'OpenShift Logging'
  1. OpenShift Logging
  2. LOG-6129

Loki: The field components.ruler is invalid

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Minor Minor
    • Logging 6.0.1
    • Logging 5.8.z, Logging 5.9.z
    • Log Storage
    • Improvement
    • False
    • None
    • False
    • NEW
    • NEW
    • Before this update, the LokiStack ruler component view was not properly initialized caused the invalid field error when the ruler component was disabled. With this update, the component view initialized with empty value resolves the issue.
    • Bug Fix
    • Hide

      Try to create the LokiStack CR as below

      apiVersion: loki.grafana.com/v1
      kind: LokiStack
      metadata: 
        name: netobserv
        namespace: netobserv
      spec: 
        size: 1x.small
        storage: 
          schemas: 
          - effectiveDate: "2024-09-19"
            version: v13
          secret: 
            name: loki-s3
            type: s3
        storageClassName: gp3-csi
        tenants: 
          mode: openshift-network
      
      Show
      Try to create the LokiStack CR as below apiVersion: loki.grafana.com/v 1 kind: LokiStack metadata: name: netobserv namespace: netobserv spec: size: 1 x.small storage: schemas: - effectiveDate: " 2024 - 09 - 19 " version: v 13 secret: name: loki-s 3 type: s 3 storageClassName: gp 3 -csi tenants: mode: openshift-network
    • Log Storage - Sprint 260, Log Storage - Sprint 261

      Description of problem:

      Hi,
      
      I see the error message `The field components.ruler is invalid` on LokiStack details.
      
      My regards,

      Steps to Reproduce:

      1. Install Loki-Operator 5.9.6 
      2. Create LokiStack CR without rules for NetObserv
      3. Open https://$OPENSHIFT_CONSOLE/k8s/ns/netobserv/clusterserviceversions/loki-operator.v5.9.6/loki.grafana.com~v1~LokiStack/$LOCKSTACK_NAME 

      Actual results:

      The field components.ruler is invalid

      Expected results:

      The field components.ruler is disabled

      Additional info:

      https://redhat-internal.slack.com/archives/C01B5F1SDE3/p1726827718960179

              ptsiraki@redhat.com Periklis Tsirakidis
              rh-ee-klemghar Khalid Lemghari
              Anping Li Anping Li
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: