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

ironic.service fails to start on bootstrap node when provisioning network is disabled

XMLWordPrintable

    • Important
    • No
    • Metal Platform 259
    • 1
    • False
    • Hide

      None

      Show
      None

      This is a clone of issue OCPBUGS-35235. The following is the description of the original issue:

      This is a clone of issue OCPBUGS-34493. The following is the description of the original issue:

      Description of problem:

      Failed to deploy baremetal cluster as cluster nodes are not introspected
          

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

      4.15.19 and 4.15.20
          

      How reproducible:

      Always - When there is no provisioning network 
          

      Steps to Reproduce:

          1. Deploy baremetal cluster with disabled provisioning network
      
          

      Actual results:

      Cluster fails to deploy as ironic.service fails to start on the bootstrap node:
      
      [root@api ~]# systemctl status ironic.service
      ○ ironic.service - Ironic baremetal deployment service
           Loaded: loaded (/etc/containers/systemd/ironic.container; generated)
           Active: inactive (dead)
      
      May 27 08:01:05 api.kni-qe-4.lab.eng.rdu2.redhat.com systemd[1]: Dependency failed for Ironic baremetal deployment service.
      May 27 08:01:05 api.kni-qe-4.lab.eng.rdu2.redhat.com systemd[1]: ironic.service: Job ironic.service/start failed with result 'dependency'.
      
          

      Expected results:

      ironic.service is started, nodes are introspected and cluster is deployed
          

      Additional info:

       Same issue seen in 4.15.19 and 4.15.20:
      
      With VERSION=stable-4.15, it picks up 4.15.20
      [kni@provisioner ~]$ openshift-baremetal-install --dir ~/clusterconfigs create manifests
      INFO Consuming Install Config from target directory
      WARNING Making control-plane schedulable by setting MastersSchedulable to true for Scheduler cluster settings
      INFO Manifests created in: /home/kni/clusterconfigs/manifests and /home/kni/clusterconfigs/openshift
      [kni@provisioner ~]$ openshift-baremetal-install --dir ~/clusterconfigs --log-level debug create cluster
      DEBUG OpenShift Installer 4.15.20
      DEBUG Built from commit 132530de61957c2ef32e17ef602b59fb9792345f
      
      ---------
      With VERSION=4.15.19, it picks up 4.15.19
      [kni@provisioner ~]$ openshift-baremetal-install --dir ~/clusterconfigs create manifests
      INFO Consuming Install Config from target directory
      WARNING Making control-plane schedulable by setting MastersSchedulable to true for Scheduler cluster settings
      INFO Manifests created in: /home/kni/clusterconfigs/manifests and /home/kni/clusterconfigs/openshift
      [kni@provisioner ~]$ openshift-baremetal-install --dir ~/clusterconfigs --log-level debug create cluster
      DEBUG OpenShift Installer 4.15.19
      DEBUG Built from commit fecb878206af5aaa7527f7f3b4a33b3349ae54b8
      
      ------------
      From the bootstrap VM -
      
      [core@localhost ~]$ journalctl -b -f -u release-image.service -u ironic
      Jul 11 07:21:00 localhost.localdomain systemd[1]: Starting Download the OpenShift Release Image...
      Jul 11 07:21:00 localhost.localdomain release-image-download.sh[1821]: Pulling quay.io/openshift-release-dev/ocp-release@sha256:478d9f5a1b496ebd69ecd0d7a7fc961f6318290ac9242ff65e1e2bdb88ff3097...
      Jul 11 07:21:43 localhost.localdomain release-image-download.sh[1942]: a24ebe5659659dfc81b032c053767d47a27a12fc3324457cc7a86aff0f577296
      Jul 11 07:21:43 localhost.localdomain podman[1942]: 2024-07-11 07:21:00.857407994 +0000 UTC m=+0.037530484 image pull  quay.io/openshift-release-dev/ocp-release@sha256:478d9f5a1b496ebd69ecd0d7a7fc961f6318290ac9242ff65e1e2bdb88ff3097
      Jul 11 07:21:44 localhost.localdomain systemd[1]: Finished Download the OpenShift Release Image.
      Jul 11 07:26:49 localhost.localdomain systemd[1]: Dependency failed for Ironic baremetal deployment service.
      Jul 11 07:26:49 localhost.localdomain systemd[1]: ironic.service: Job ironic.service/start failed with result 'dependency'.
      ^C
      [core@localhost ~]$ grep -e "OPENSHIFT_VERSION" -e "RHEL VERSION" -e "VERSION=" /etc/os-release
      VERSION="415.92.202402201450-0"
      REDHAT_BUGZILLA_PRODUCT_VERSION="4.15"
      REDHAT_SUPPORT_PRODUCT_VERSION="4.15"
      OPENSHIFT_VERSION="4.15"
      RHEL_VERSION="9.2"
      OSTREE_VERSION="415.92.202402201450-0"

       

              zabitter Zane Bitter
              sisudhir@cisco.com sindhu sudhir
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: