Skip to content

Capsule crashes during reconciling ResourceQuota #1628

@sandert-k8s

Description

@sandert-k8s

Bug description

Sometimes Capsule crashes with a nil pointer when reconciling the resource quota. We do use still the "old" resource quota, so its listed in the tenant spec under resourceQuotas. We still have to migrate to the new quota model.
These crashes appear very randomly. Sometimes we don't have them for weeks, and sometimes quite often. This night we had it 5 times.

How to reproduce

Use a tenant spec with Resource Quota's, for example

  resourceQuotas:
    items:
      - hard:
          requests.cpu: '24'
          requests.memory: 48Gi
          requests.storage: 128Gi

Expected behavior

Capsule not to crash.

Logs

panic.log

Additional context

  • Capsule version: 0.10.4 (but having this issue already for a long time)
  • Helm Chart version: 0.10.4
  • Kubernetes version: OpenShift 4.17, based on Kubernetes 1.30

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenterpriseEnterprise Customer

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions