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

Created NAD name is not validated

XMLWordPrintable

    • Quality / Stability / Reliability
    • 5
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • None

      Description of problem:

      There is no validation when creating a NAD name from Network Edit/Add modal

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

      4.20

      How reproducible:

      always

      Steps to Reproduce:

      1.in the select type invalid NAD name i.e. foo/not.valid
      2.use that name to create an option in the dropdown
      3.use that option for the created network

      Actual results:

      the network is created but the VM cannot be started as it's not possible to create such NAD - failing condition is
      message: 'failed to render launch manifest: failed to locate network attachment definition foo/not.valid.name'      
      reason: FailedCreate      
      status: 'False'      
      type: Synchronized

       

      Expected results:

      invalid name is blocked at creation time

      Additional info:

      Screencast From 2025-08-29 16-47-43.mp4

          There are no Sub-Tasks for this issue.

              rszwajko@redhat.com Radoslaw Szwajkowski
              rszwajko@redhat.com Radoslaw Szwajkowski
              Guohua Ouyang Guohua Ouyang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: