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

[CLOSED LOOP for] Shared disk example has elements that don't exist.

XMLWordPrintable

    • Icon: Closed Loop Closed Loop
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • None
    • CNV Documentation
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • None

      Description of problem:

      The example on how to configure a shared disk has elements that don't exist.
      
      https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html/virtualization/managing-vms#virt-configuring-vm-disk-sharingvirt-configuring-shared-volumes-for-vms

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

      4.18

      Problem:

      apiVersion: kubevirt.io/v1
      kind: VirtualMachine
      metadata:
        name: <vm_name>
      spec:
        template:
      # ...
          spec:
            domain:
              devices:
                disks:
                - disk:
                    bus: virtio
                  name: rootdisk
                  errorPolicy: report 1
                  disk1: disk_one 2        <---- what is this?
                - disk:
                    bus: virtio
                  name: cloudinitdisk
                  disk2: disk_two        <---- what is this?
                  shareable: true 3
      

      The valid elements at that level are:

      # oc explain vm.spec.template.spec.domain.devices.disks | egrep "^  [a-z]"
        blockSize	<Object>
        bootOrder	<integer>
        cache	<string>
        cdrom	<Object>
        dedicatedIOThread	<boolean>
        disk	<Object>
        errorPolicy	<string>
        io	<string>
        lun	<Object>
        name	<string> -required-
        serial	<string>
        shareable	<boolean>
        tag	<string>
      

      Maybe that was supposed to be a serial or some other element that makes it easier for the customer to identify the shared disk from within the Guests?

              ctomasko Catherine Tomasko
              dagur@redhat.com Daniel Gur
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: