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

New VM with additional disk sets additional disk as boot device

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • CNV v4.19.z
    • None
    • CNV User Interface
    • None
    • Quality / Stability / Reliability
    • 0.42
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • None

      Description of problem:

      When creating a new VM using an instance type and customizing the VM to include an additional disk, the additional disk is set as the boot device which makes the VM unbootable.

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

      OpenShift 4.19.16
      OpenShift Virtualization 4.19.12

      How reproducible:

      When creating a VM from an instance type and adding an additional disk.

      Steps to Reproduce:

      1. Create VM from instance type
      2. Click the Customize VM icon, select Configuration, Storage
      3. Click the add disks, empty disk, just accept the defaults and click save.  Note the checkbox for the "Use this disk as boot source" checkbox is NOT selected.
      4. Click Create VirtualMachine

      Actual results:

      The extra disk is marked in the YAML as the boot device instead of the rootdisk.

      Expected results:

      The rootdisk should be marked in the YAML as the boot device and the VM should boot.

      Additional info:

      When using a template and customizing the VM to add the second disk, the issue does not occur.  It only happens when using "from instance type".
      
      Attachments - moccasin-mastodon-10.yaml is from the VM created from instance type and the salmom-leopon-10.yaml is from the VM created from a template.

       

              rh-ee-gkremer Gal Kremer
              rh-ee-bmclaren Brenda Mclaren
              Guohua Ouyang Guohua Ouyang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: