Uploaded image for project: 'Observability Documentation'
  1. Observability Documentation
  2. OBSDOCS-863

Size in LokiStack instance cannot be modified

XMLWordPrintable

    • 3
    • False
    • Hide

      None

      Show
      None
    • True
    • Bug Fix
    • Hide

      1) Deploy a LokiStack instance, for instance:

      apiVersion: loki.grafana.com/v1
      kind: LokiStack
      metadata:
        name: logging-loki
        namespace: openshift-logging
      spec:
        size: 1x.demo
        storage:
          schemas:
          - version: v12
            effectiveDate: '2022-06-01'
          secret:
            name: logging-loki-s3
            type: s3
        storageClassName: gp3-csi
        tenants:
          mode: openshift-logging 

      2) Edit the size of the instance trying to change the size to 2x.demo

      oc edit lokistack logging-loki
      rror: lokistacks.loki.grafana.com "logging-loki" is invalid
      A copy of your changes has been stored to "/var/folders/m1/w60fryx50md1hd8n9zbg6t680000gn/T/oc-edit-763675207.yaml"
      error: Edit cancelled, no valid changes were saved. 
      Show
      1) Deploy a LokiStack instance, for instance: apiVersion: loki.grafana.com/v1 kind: LokiStack metadata:   name: logging-loki   namespace: openshift-logging spec:   size: 1x.demo   storage:     schemas:     - version: v12       effectiveDate: '2022-06-01'     secret:       name: logging-loki-s3       type: s3   storageClassName: gp3-csi   tenants:     mode: openshift-logging 2) Edit the size of the instance trying to change the size to 2x.demo oc edit lokistack logging-loki rror: lokistacks.loki.grafana.com "logging-loki" is invalid A copy of your changes has been stored to "/ var /folders/m1/w60fryx50md1hd8n9zbg6t680000gn/T/oc-edit-763675207.yaml" error: Edit cancelled, no valid changes were saved.
    • OBSDOCS (Mar 25 - Apr 15) #251

      Description of problem:

      After deploying a LokiStack instance, changing the size from 1x.extra-small to 2x.extra-small is not applied (the same for different sizes).

      When save the instance the following error is showed:

      error: lokistacks.loki.grafana.com "logging-loki" is invalid
      A copy of your changes has been stored to "/var/folders/m1/w60fryx50md1hd8n9zbg6t680000gn/T/oc-edit-763675207.yaml"
      error: Edit cancelled, no valid changes were saved. 

      Version-Release number of selected component (if applicable):

      RHOL 5.9

      Actual results:

      The size cannot be modified.

      Expected results:

      Modify the size.

       

              abrennan@redhat.com Ashleigh Brennan
              acandelp Adrian Candel
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: