Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-10411

Nil pointer derefence when using PreProvisioningNetworkData

XMLWordPrintable

    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • ?
    • ?
    • ?
    • None
    • Critical

      This is a regression from https://github.com/openstack-k8s-operators/openstack-baremetal-operator/pull/203

       

      2024-09-26T07:34:47.672521190Z 2024-09-26T07:34:47Z     INFO    Observed a panic in reconciler: runtime error: invalid memory address or nil pointer dereference        {"controller": "openstackbaremetalset", "controllerGroup": "baremetal.openstack.org", "controllerKind": "OpenStackBaremetalSet", "OpenStackBaremetalSet": {"name":"openstack1-data-plane-hci","namespace":"openstack"}, "namespace": "openstack", "name": "openstack1-data-plane-hci", "reconcileID": "db0ad46f-c340-4e64-8e07-a7e87c56348b"}
      2024-09-26T07:34:47.675705536Z panic: runtime error: invalid memory address or nil pointer dereference [recovered]
      2024-09-26T07:34:47.675705536Z  panic: runtime error: invalid memory address or nil pointer dereference
      2024-09-26T07:34:47.675705536Z [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x17bd237]
      2024-09-26T07:34:47.675713456Z
      2024-09-26T07:34:47.675713456Z goroutine 247 [running]:
      2024-09-26T07:34:47.675718322Z sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile.func1()
      2024-09-26T07:34:47.675718322Z  /remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.16.6/pkg/internal/controller/controller.go:116 +0x1fa
      2024-09-26T07:34:47.675722623Z panic({0x19bbf00, 0x2b71a10})
      2024-09-26T07:34:47.675726881Z  /usr/lib/golang/src/runtime/panic.go:884 +0x213
      2024-09-26T07:34:47.675732564Z github.com/openstack-k8s-operators/openstack-baremetal-operator/pkg/openstackbaremetalset.BaremetalHostProvision({0x1ea22b0, 0xc000c63050}, 0xc000b04bb0, 0xc00093f500, {0xc000595520, 0xe}, {0xc001c161b0, 0x9}, {0xc001c161a0, 0x10}, ...)
      2024-09-26T07:34:47.675745264Z  /remote-source/app/pkg/openstackbaremetalset/baremetalhost.go:256 +0xf57 

       

       

            rhn-support-ramishra Rabi Mishra
            rhn-support-ramishra Rabi Mishra
            rhos-dfg-df
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: