Description of problem:
If a user have two projects. increase/decrease memory add-on will be failed with "internal server error"
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Set up an Online developer environment
2. Register an openshift account via accountant web console
3. Create two project via openshift web console with the account
4. Start to increase the memory add-on.
5. Start to descrease the memory add-on.
Account web console response "internal server error". And from account pod log:
helper.go:93] error: Resource violations: plan requires 1 project(s) but found 2
increase/descrease memory add-on successfully
so is increasing/descreasing storage add-on.
This is being caused by a validation failure. OpenShift is configured to allow users to create up to 10 projects. However, the accountant validates that users have only a maximum of 1 project, based on plan configuration. The plan configuration is being modified in the accountant and should be available tomorrow.
Version-Release number of online-int:
OpenShift Master: v188.8.131.52 (online version 184.108.40.206)
Kubernetes Master: v1.4.0+776c994
Test on online-int, the project limit number for good plan has been updated to 10, and create several projects, and then increase/decrease memory/storage add-on successfully.