Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-10852

Missing type in nmstate config caused error: Failed to find suitable(IP enabled with DHCP off or auto-dns: false) interface for DNS server

XMLWordPrintable

    • Low
    • No
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      4.13: Failed to install: SNO: DualStack: Failed to find suitable(IP enabled with DHCP off or auto-dns: false) interface for DNS server

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

      4.13.0-0.nightly-2023-03-23-133340

      How reproducible:

      100%

      Steps to Reproduce:

      1. Install 4.13 nightly Agent Based 
      https://amd64.ocp.releases.ci.openshift.org/releasestream/4.13.0-0.nightly/release/4.13.0-0.nightly-2023-03-23-133340
      2. 
      3.
      

      Actual results:

      Failed to install - Failed to find suitable(IP enabled with DHCP off or auto-dns: false) interface for DNS server

      Expected results:

      Install

      Additional info:

      ./openshift-install agent wait-for install-complete --dir snob/ --log-level debug
      DEBUG asset directory: snob/
      DEBUG Loading Agent Config...
      DEBUG Using Agent Config loaded from state file
      DEBUG Loading Agent Manifests...
      DEBUG   Loading Agent PullSecret...
      DEBUG     Loading Install Config...
      DEBUG     Using Install Config loaded from state file
      DEBUG   Using Agent PullSecret loaded from state file
      DEBUG   Loading InfraEnv Config...
      DEBUG     Loading Install Config...
      DEBUG     Loading Agent Config...
      DEBUG   Using InfraEnv Config loaded from state file
      DEBUG   Loading NMState Config...
      DEBUG     Loading Agent Config...
      DEBUG     Loading Install Config...
      DEBUG   Using NMState Config loaded from state file
      DEBUG   Loading AgentClusterInstall Config...
      DEBUG     Loading Install Config...
      DEBUG   Using AgentClusterInstall Config loaded from state file
      DEBUG   Loading ClusterDeployment Config...
      DEBUG     Loading Install Config...
      DEBUG   Using ClusterDeployment Config loaded from state file
      DEBUG   Loading ClusterImageSet Config...
      DEBUG     Loading Release Image Pull Spec...
      DEBUG     Using Release Image Pull Spec loaded from state file
      DEBUG     Loading Install Config...
      DEBUG   Using ClusterImageSet Config loaded from state file
      DEBUG Using Agent Manifests loaded from state file
      DEBUG RendezvousIP from the AgentConfig 10.1.101.65
      DEBUG Agent Rest API Initialized
      INFO found too many clusters. number of clusters found: 58
      DEBUG infraenv is not registered in rest API
      INFO Unable to retrieve cluster metadata from Agent Rest API: no clusterID known for the cluster
      INFO found too many clusters. number of clusters found: 58
      DEBUG infraenv is not registered in rest API
      INFO Unable to retrieve cluster metadata from Agent Rest API: no clusterID known for the cluster
      
      
      assisted-service log:
      
      Mar 24 16:19:49 sno-2 service[5410]: time="2023-03-24T16:19:49Z" level=error msg="Failed to register InfraEnv kni-qe-35 with id 4a8b146c-42b8-463a-89da-f6eb3cb8ac1e. Error: 1 error occurred:\n\t* failed to validate network yaml for host 0, nmstate GenerateConfiguration failed, error: failed when generating the configuration {\"dns-resolver\":{\"config\":{\"server\":[\"10.11.5.160\",\"2620:52:0:aa0::dead:beef\"]}},\"interfaces\":[{\"ipv4\":{\"address\":[{\"ip\":\"10.1.101.65\",\"prefix-length\":28}],\"auto-dns\":false,\"dhcp\":false,\"enabled\":true},\"ipv6\":{\"address\":[{\"ip\":\"2620:52:0:165::41\",\"prefix-length\":124}],\"auto-dns\":false,\"dhcp\":false,\"enabled\":true},\"name\":\"eno4\",\"state\":\"up\"}],\"routes\":{\"config\":[{\"destination\":\"0.0.0.0/0\",\"next-hop-address\":\"10.1.101.78\",\"next-hop-interface\":\"eno4\",\"table-id\":254},{\"destination\":\"::/0\",\"next-hop-address\":\"2620:52:0:165::4e\",\"next-hop-interface\":\"eno4\",\"table-id\":254}]}} with rc: 1, err_msg: Failed to find suitable(IP enabled with DHCP off or auto-dns: false) interface for DNS server [\"2620:52:0:aa0::dead:beef\"], err_kind: InvalidArgument\n\n" func="github.com/openshift/assisted-service/internal/bminventory.(*bareMetalInventory).RegisterInfraEnvInternal.func1" file="/src/internal/bminventory/inventory.go:4377" cluster_id=4a8b146c-42b8-463a-89da-f6eb3cb8ac1e go-id=1155 pkg=Inventory request_id=42687b08-0aeb-4456-95bd-378785282f7b
      
      
      
      

              bfournie@redhat.com Robert Fournier
              mlammon@redhat.com Mike Lammon
              Manoj Hans Manoj Hans
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: