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

Credentials API is using CloudInitConfigDrive which breaks the networkData configuration in the UI

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • CNV v4.15.6
    • CNV v4.14.0
    • CNV Infrastructure
    • None
    • 0.42
    • False
    • Hide

      None

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

      Description of problem:

      The networkData configuration we expose through the UI is not compatible with the credentials API that currently uses CloudInitConfigDrive. Due to that, the network configuration cannot be used.
      
      This issue was solved on upstream via https://github.com/kubevirt/kubevirt/pull/10231 which allows noCloud for the credentials API. We should do the same downstream.

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

      CNV 4.14

      How reproducible:

      Always

      Steps to Reproduce:

      1. Create a VM from a Template
      2. RHEL 9
      3. Customize VirtualMachine
      4. Scripts tab
      5. Cloud-init edit
      6. Add network data
      7. Ethernet name = eth0, IP addresses = 10.11.12.13/24
      8. Apply
      9. Create the VM
      

      Actual results:

      The VM starts, but it is not possible to log in, since it failed to configure the password.

      Expected results:

      Password and network should be configured.

      Additional info:

       

              dholler@redhat.com Dominik Holler
              phoracek@redhat.com Petr Horacek
              Geetika Kapoor Geetika Kapoor
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: