Resource quota is created successfully but unusable unless replacing with the same setting
Issue
-
When we create a resource quota on a project with below command:
$oc create quota <name> --template=<file> -n <project> -
quota is created but unusable. OpenShift UI reports:
"Status has not been reported on this quota usage record. Any resources limited by this quota can not be allocated" -
An workaround is to run below command after that, this is not expected result
$oc replace quota <name> -f <file> -n <project>
Environment
Red Hat OpenShift Container Platform 3+
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
