Skip to content
This repository has been archived by the owner on Jul 23, 2020. It is now read-only.

Better error reporting is needed if a build fails at roll out to stage step due to the user being over quota #3024

Closed
jarifibrahim opened this issue Apr 12, 2018 · 7 comments

Comments

@jarifibrahim
Copy link
Collaborator

jarifibrahim commented Apr 12, 2018

On production, the build failed at roll out to stage. Here's[0] the log

Caused by: io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: https://kubernetes.default/api/v1/namespaces/ijarif-stage/services. Message: Forbidden!Configured service account doesn't have access. Service account may have been revoked. services "app-test-1" is forbidden: exceeded quota: object-counts, requested: services=1, used: services=5, limited: services=5.

[0] - https://jenkins.openshift.io/job/jarifibrahim/job/clickParty1/job/master/1/console

@rgarg1 rgarg1 added type/bug and removed type/bug labels Apr 12, 2018
@ldimaggi
Copy link
Collaborator

The error message has the answer in it - your account is over quota.

@ldimaggi
Copy link
Collaborator

Are you requesting a better way to provide this error message to the user?

@jarifibrahim
Copy link
Collaborator Author

@ldimaggi There should be better error reporting. A would user would never be able to figure out how/why the quota error was thrown.

@ldimaggi ldimaggi changed the title Build fails at roll out to stage step Better error reporting is needed if a build fails at roll out to stage step due to the user being over quota Apr 25, 2018
@piyush-garg
Copy link
Collaborator

@jarifibrahim @ldimaggi Seems like this is duplicate of #3346 Can we close this as the other one has more visibility and work is going on there?

@jarifibrahim
Copy link
Collaborator Author

@piyush1594 The error I saw was Forbidden!Configured service account doesn't have access. I don't think this is related to #3346

@piyush-garg
Copy link
Collaborator

@jarifibrahim If you see the error

 services "app-test-1" is forbidden: exceeded quota: object-counts, requested: services=1, used: services=5, limited: services=5.

This is about exceeded quota limits

@jarifibrahim
Copy link
Collaborator Author

Thanks @piyush1594. It looks like a duplicate of #3346

Closing this one.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants