-
Bug
-
Resolution: Done-Errata
-
Major
-
2.6.0
-
False
-
None
-
True
-
-
-
Customer Escalated
I added ClusterResourceQuota to my user:
apiVersion: quota.openshift.io/v1 kind: ClusterResourceQuota metadata: name: user-compute-resources spec: quota: hard: pods: "8" requests.cpu: "7" requests.memory: 22Gi limits.cpu: "7" limits.memory: 22Gi selector: annotations: openshift.io/requester: user1 labels: null
Created a migration plan and it failed:
JobJ[vddk-validator-copy-of-copy-of-asdfasdfbtd2c|https://console-openshift-console.apps.hcp-2hzxv.dynamic.redhatworkshops.io/k8s/ns/vmexamples-user1/jobs/vddk-validator-copy-of-copy-of-asdfasdfbtd2c]NamespaceNS[vmexamples-user1|https://console-openshift-console.apps.hcp-2hzxv.dynamic.redhatworkshops.io/k8s/cluster/namespaces/vmexamples-user1]}} Sep 23, 2024, 2:06 PM\{{Generated from job-controller}} 2 times in the last 2 minutes\{{(combined from similar events): Error creating: pods "vddk-validator-copy-of-copy-of-asdfasdfbtd2c-jlm6x" is forbidden: failed quota: user-compute-resources: *must specify limits.cpu for: validator,vddk-side-car; limits.memory for: validator,vddk-side-car; requests.cpu for: validator,vddk-side-car; requests.memory for: validator,vddk-side-car*}}
Tried adding configs to the forklift-controller CR:
validation_container_limits_cpu: "1000m" validation_container_limits_memory: "300Mi" validation_container_requests_cpu: "400m" validation_container_requests_memory: "50Mi"
Still failed.
Tried enabling ApplicationAwareResourceQuotas:
per: https://access.redhat.com/solutions/7063206
Created in namespace:
apiVersion: aaq.kubevirt.io/v1alpha1 kind: ApplicationAwareResourceQuota metadata: creationTimestamp: '2024-09-23T17:54:18Z' generation: 1 name: default-quota namespace: vmexamples-user1 resourceVersion: '483385' uid: 57ea40a7-8559-4ad2-a82c-61ffc39fa03d spec: hard: limits.cpu: '10' limits.memory: 20Gi requests.cpu: '5' requests.memory: 10Gi status: hard: limits.cpu: '10' limits.memory: 20Gi requests.cpu: '5' requests.memory: 10Gi used: limits.cpu: '0' limits.memory: '0' requests.cpu: '0' requests.memory: '0'
- is related to
-
CNV-53314 Failed to create virtual machine pod when namespace with quato settings
- New
-
MTV-1800 [DOC] vddk validator containers need requests and limits
- Release Pending
- links to
-
RHBA-2024:143991 MTV 2.7.7 Images