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

metal3-baremetal-operator.service fails to start - unable to start manager

XMLWordPrintable

    • Important
    • Proposed
    • False
    • Hide

      None

      Show
      None

      Description of problem:

       Fail to deploy baremetal cluster with disabled provisioning network.
      On boottrap node there's an issue with metal3-baremetal-operator.service:
      
      systemctl status metal3-baremetal-operator.service
      ● metal3-baremetal-operator.service - Metal3 deployment service
           Loaded: loaded (/etc/containers/systemd/metal3-baremetal-operator.container; generated)
           Active: activating (auto-restart) (Result: exit-code) since Tue 2024-06-04 14:55:42 UTC; 3s ago
          Process: 64032 ExecStart=/usr/bin/podman run --name=baremetal-operator --cidfile=/run/metal3-baremetal-operator.cid --replace --rm --cgroups=split --network=host --sdnotify=conmon -d -v ${AUTH_DIR}:/auth:z,ro -v /opt/>
          Process: 64055 ExecStopPost=/usr/bin/podman rm -v -f -i --cidfile=/run/metal3-baremetal-operator.cid (code=exited, status=0/SUCCESS)
         Main PID: 64032 (code=exited, status=1/FAILURE)
              CPU: 224ms
      
      And in logs:
      ------------
      Jun 04 14:53:28 api.kni-qe-4.lab.eng.rdu2.redhat.com baremetal-operator[62495]: {"level":"info","ts":1717512808.2426836,"logger":"setup","msg":"Go Version: go1.21.9 (Red Hat 1.21.9-1.el9_4) X:strictfipsruntime"}
      Jun 04 14:53:28 api.kni-qe-4.lab.eng.rdu2.redhat.com baremetal-operator[62495]: {"level":"info","ts":1717512808.2427053,"logger":"setup","msg":"Go OS/Arch: linux/amd64"}
      Jun 04 14:53:28 api.kni-qe-4.lab.eng.rdu2.redhat.com baremetal-operator[62495]: {"level":"info","ts":1717512808.2427077,"logger":"setup","msg":"Git commit: 7673d14fc567c3621e8d5fdca69ff03bd99504ef"}
      Jun 04 14:53:28 api.kni-qe-4.lab.eng.rdu2.redhat.com baremetal-operator[62495]: {"level":"info","ts":1717512808.24271,"logger":"setup","msg":"Build time: 2024-05-29T06:26:07+0000"}
      Jun 04 14:53:28 api.kni-qe-4.lab.eng.rdu2.redhat.com baremetal-operator[62495]: {"level":"info","ts":1717512808.2427115,"logger":"setup","msg":"Component: metal3-io/baremetal-operator v4.16.0"}
      Jun 04 14:53:28 api.kni-qe-4.lab.eng.rdu2.redhat.com baremetal-operator[62495]: {"level":"error","ts":1717512808.2449548,"logger":"setup","msg":"unable to start manager","error":"failed to determine if *v1.Secret is namespaced: failed to get restmapping: failed to get server groups: Get \"https://localhost:6443/api\": dial tcp [::1]:6443: connect: connection refused","stacktrace":"main.main\n\t/go/src/github.com/metal3-io/baremetal-operator/main.go:267\nruntime.main\n\t/usr/lib/golang/src/runtime/proc.go:267"}   

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

          4.16.0-rc.3

      How reproducible:

          so far 2nd occurrence 

      Steps to Reproduce:

          1. Deploy baremetal dualstack cluster with disabled provisioning network
          2.
          3.
          

      Actual results:

          Deployment fails

      Expected results:

          Cluster is deployed

      Additional info:

          Seems like one of the control plane node wasn't provisioned

            hroy@redhat.com Himanshu Roy
            yprokule@redhat.com Yurii Prokulevych
            Jad Haj Yahya Jad Haj Yahya
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: