Resource quota is created successfully but unusable unless replacing with the same setting

Solution Verified - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content