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

Failed to create windows VM with sysprep from instanceType

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • CNV v4.17.0
    • CNV v4.16.0
    • CNV User Interface
    • None
    • 0.42
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • ---
    • ---
    • Critical
    • No

      Description of problem:

      Failed to create windows VM with sysprep from instanceType.
      Error is 
      Error "spec.template.spec.accessCredentials[0] requires a noCloud volume to exist when the noCloud propagationMethod is in use." for field "spec.template.spec.accessCredentials[0].sshPublicKey.propagationMethod".
      

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

      
      

      How reproducible:

      not always
      

      Steps to Reproduce:

      1. Create windows volume in Catalog page with instanceType nao
      instancetype.kubevirt.io/default-instancetype: u1.nano
      2. Select instanceType small 1 CPUs, 2 GiB Memory
      3. Add sysprep file and create the VM
      4. it shows error 
      Error "spec.template.spec.accessCredentials[0] requires a noCloud volume to exist when the noCloud propagationMethod is in use." for field "spec.template.spec.accessCredentials[0].sshPublicKey.propagationMethod".
      

      Actual results:

      an error occurred
      

      Expected results:

      VM is created
      

      Additional info:

      
      

        1. error.mp4
          1.76 MB
        2. windows_with_sysprep.png
          windows_with_sysprep.png
          161 kB

              upalatuc@redhat.com Ugo Palatucci
              gouyang1@redhat.com Guohua Ouyang
              Guohua Ouyang Guohua Ouyang
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: