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

[enterprise-4.14] Issue in file virt/storage/virt-automatic-bootsource-updates.adoc

XMLWordPrintable

    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • ---
    • ---
    • Yes
    • No

      Description of problem:

      Example yaml for disabling boot import is incorrect. In the example documentation it says to add a section with the annotation:
      
      ```
      dataimportcrontemplate.kubevirt.io/enable: false
      ```
      
      however that is not valid and the webhook validator throws an error. The proper string should be
      
      ```
      dataimportcrontemplate.kubevirt.io/enable: 'false'
      ```
      
      Note the single quotes around the term false. Once you have added the single quotes around false the change takes effect.

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

      4.14.12 of OpenShift
      4.14.3 of OpenShift Virt

      How reproducible:

          every time

      Steps to Reproduce:

          1.Follow the instructions for "Disabling automatic updates for a single boot source" in the source documentation
          2. ensure you copy/paste what is in the example yaml
          3. you will get an error saying that the webhook could not validate the change
          4. put single quotes around the false word, the change will be applied
          

      Actual results:

          Change fails due to webhook validation

      Expected results:

          Change should apply using the example yaml

      Additional info:

          

              rhn-support-pousley Pan Ousley
              mdeneve@redhat.com Mark DeNeve
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: