Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-27916

[2184998] [DOC] Procedure to edit filesystemOverhead is wrong

XMLWordPrintable

    • High
    • None

      Document URL:

      https://access.redhat.com/documentation/en-us/openshift_container_platform/4.11/html-single/virtualization/index#virt-overriding-default-fs-overhead-value_virt-reserving-pvc-space-fs-overhead

      https://access.redhat.com/documentation/en-us/openshift_container_platform/4.12/html-single/virtualization/index#virt-overriding-default-fs-overhead-value_virt-reserving-pvc-space-fs-overhead

      Section Number and Name:

      9.20.4.2. Overriding the default file system overhead value

      Describe the issue:

      The mentioned procedure is asking to edit `spec.config.filesystemOverhead`. This will fail with the below error:

      ~~~

      1. oc edit hco -n openshift-cnv kubevirt-hyperconverged
        Warning: unknown field "spec.config"
        hyperconverged.hco.kubevirt.io/kubevirt-hyperconverged edited
        ~~~

      We have to edit spec.filesystemOverhead instead:

      ~~~

      1. oc get hco -n openshift-cnv kubevirt-hyperconverged -o yaml |yq -y '.spec.filesystemOverhead'
        global: '0.1'
      1. oc get cdiconfig config -o yaml |yq -y '.status.filesystemOverhead'
        global: '0.1'
        storageClass:
        ~~~

              aspauldi Audrey Spaulding
              rhn-support-nashok Nijin Ashok
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: