Skip to content

netbox and netbox-worker pods in crash loop on 5.0.48 #581

Open
@abctaylor

Description

@abctaylor

The Helm chart version

netbox- 5.0.48

Environment Versions

K8s 1.32
Helm 3

Custom chart values

This is the diff with the official values.yaml to make it easier on the eyes:


global:
  storageClass: "longhorn"   
# ...
clusterDomain: k8s.example.com 
# ...
redis:
    clusterDomain: k8s.example.com 

Current Behavior & Steps to Reproduce

Delete all pods, start fresh. Then helm upgrade --install netbox oci://ghcr.io/netbox-community/netbox-chart/netbox -f new.yaml

 k get pod
NAME                             READY   STATUS             RESTARTS       AGE
netbox-797878994f-vl2tl          0/1     Running            3 (36s ago)    5m51s
netbox-postgresql-0              1/1     Running            0              5m51s
netbox-redis-master-0            1/1     Running            0              5m51s
netbox-redis-replicas-0          1/1     Running            0              5m51s
netbox-redis-replicas-1          1/1     Running            0              5m11s
netbox-redis-replicas-2          1/1     Running            0              4m34s
netbox-worker-76b5775c7f-pf5lp   0/1     CrashLoopBackOff   5 (119s ago)   5m51s

Expected Behavior

All pods up

NetBox Logs

Defaulted container "netbox" out of: netbox, init-dirs (init)
🧬 loaded config '/etc/netbox/config/configuration.py'
🧬 loaded config '/etc/netbox/config/extra.py'
🧬 loaded config '/etc/netbox/config/logging.py'
🧬 loaded config '/etc/netbox/config/plugins.py'
💡 Superuser Username: admin, E-Mail: [email protected]
🧬 loaded config '/etc/netbox/config/configuration.py'
🧬 loaded config '/etc/netbox/config/extra.py'
🧬 loaded config '/etc/netbox/config/logging.py'
🧬 loaded config '/etc/netbox/config/plugins.py'
✅ Initialisation is done.
⏳ Waiting for control socket to be created... (1/10)
2025/03/19 19:36:28 [warn] 2#2 Unit is running unprivileged, then it cannot use arbitrary user and group.
2025/03/19 19:36:28 [info] 2#2 unit 1.34.1 started
2025/03/19 19:36:28 [info] 99#99 discovery started
2025/03/19 19:36:28 [notice] 99#99 module: python 3.12.3 "/usr/lib/unit/modules/python3.12.unit.so"
2025/03/19 19:36:28 [info] 2#2 controller started
2025/03/19 19:36:28 [info] 101#101 router started
2025/03/19 19:36:28 [notice] 2#2 process 99 exited with code 0
2025/03/19 19:36:28 [info] 101#101 OpenSSL 3.0.13 30 Jan 2024, 300000d0
⚙️ Applying configuration from /etc/unit/nginx-unit.json
2025/03/19 19:36:29 [info] 104#104 "netbox" prototype started
2025/03/19 19:36:29 [info] 105#105 "netbox" application started
✅ Unit configuration loaded successfully
2025/03/19 19:36:32 [notice] 2#2 process 97 exited with code 0
2025/03/19 19:36:36 [info] 138#138 "netbox" application started
2025/03/19 19:36:46 [info] 161#161 "netbox" application started
2025/03/19 19:36:53 [info] 101#128 *19 send(71, 7FCC9A2BC000, 3346) failed (32: Broken pipe)
10.3.134.83 - - [19/Mar/2025:19:36:53 +0000] "GET /login/ HTTP/1.1" 200 0 "-" "kube-probe/1.32"
10.3.134.83 - - [19/Mar/2025:19:36:56 +0000] "GET /login/ HTTP/1.1" 200 3346 "-" "kube-probe/1.32"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions