Uploaded image for project: 'Data Foundation Bugs'
  1. Data Foundation Bugs
  2. DFBUGS-218

[2305180] [GSS][DOC] Adding tolerations for cm rook-ceph-operator-config for csi pods

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • odf-4.15
    • Documentation
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • ?
    • If docs needed, set a value
    • Proposed
    • None

      Describe the issue:
      In the docs [1] we have the following exmaple of the CM:

      apiVersion: v1
      data:
      [...]
      CSI_PLUGIN_TOLERATIONS: |

      • key: nodetype
        operator: Equal
        value: infra
        effect: NoSchedule
      • key: node.ocs.openshift.io/storage
        operator: Equal
        value: "true"
        effect: NoSchedule
        [...]
        kind: ConfigMap
        metadata:
        [...]

      Below it, we make a note saying:

      Ensure that all non-string values in the Tolerations value field has double quotation marks. For example, the values true which is of type boolean, and 1 which is of type int must be input as "true" and "1".
      Describe the task you were trying to accomplish:

      We don't follow our own guidelines and add " " around the value of true. This doc BZ bug is opened as urgent as this is will cause issues with this working if quotes are not placed around the 'value'

      Suggestions for improvement:
      Change the example to this:
      apiVersion: v1
      data:
      [...]
      CSI_PLUGIN_TOLERATIONS: |

      • key: nodetype
        operator: Equal
        value: "infra"
        effect: NoSchedule
      • key: node.ocs.openshift.io/storage
        operator: Equal
        value: "true"
        effect: NoSchedule
        [...]
        kind: ConfigMap
        metadata:
        [...]

      Document URL:
      https://docs.redhat.com/en/documentation/red_hat_openshift_data_foundation/4.16/html/managing_and_allocating_storage_resources/managing-container-storage-interface-component-placements_rhodf#managing-container-storage-interface-component-placements_rhodf
      Chapter/Section Number and Title:

      Product Version:
      4.16 and all lower versions of our documentation:
      4.15
      4.14
      4.13
      4.12
      4.11
      4.10
      4.9
      Environment Details:

      Any other versions of this document that also needs this update:
      All

      Additional information:
      N/a

      [1] https://docs.redhat.com/en/documentation/red_hat_openshift_data_foundation/4.15/html/managing_and_allocating_storage_resources/managing-container-storage-interface-component-placements_rhodf#managing-container-storage-interface-component-placements_rhodf

              kbg@redhat.com Kusuma BG
              rhn-support-kelwhite Kelson White
              Neha Berry Neha Berry
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated: