You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
'[ "$(oc rsh ${BUILD_ID}-build 2>&1 | grep 'forbidden')" ]' exited with status 1 #5602
Note the upper-case Forbidden, instead of the expected lower-case forbidden the end-to-end test checks. Digging into when this changed and how the change passed e2e
When #5525 merged, this is the error the rsh into the build pod encountered:
I1102 16:43:36.506557 7366 admission.go:527] validating pod ruby-sample-build-1-build (generate: ) against providers
I1102 16:43:36.506582 7366 sti.go:133] Admit for root user returned error: Pod "ruby-sample-build-1-build" is forbidden: no providers available to validated pod request
On Monday, November 2, 2015, Jordan Liggitt [email protected]
wrote:
When #5525#5525 merged, this
is the error the rsh into the build pod encountered:
I1102 16:43:36.506557 7366 admission.go:527] validating pod ruby-sample-build-1-build (generate: ) against providers
I1102 16:43:36.506582 7366 sti.go:133] Admit for root user returned error: Pod "ruby-sample-build-1-build" is forbidden: no providers available to validated pod request
—
Reply to this email directly or view it on GitHub #5602 (comment).
#5525 masked the details of the server error (including the "forbidden because..." text) by not reading and parsing the body when a non-upgrade status code was returned, and instead returning the generic "Forbidden" message
Activity
liggitt commentedon Nov 2, 2015
#5514, #5579, #5576, #5588, #5443, #5497, #5543, #5585, #5580
ncdc commentedon Nov 2, 2015
I'm wondering if this is related to #5525 by any chance. I may need to spin up an ec2 vm and test there. I've not been able to repro locally.
ncdc commentedon Nov 2, 2015
It's in the following test jobs:
and the following merge jobs:
liggitt commentedon Nov 2, 2015
@ncdc found this, which I can confirm locally:
execing into a privileged pod as a regular project admin gives me this error:
Note the upper-case Forbidden, instead of the expected lower-case forbidden the end-to-end test checks. Digging into when this changed and how the change passed e2e
liggitt commentedon Nov 2, 2015
Changed since v1.0.7, bisecting now
liggitt commentedon Nov 2, 2015
Bisected to #5525
ncdc commentedon Nov 2, 2015
How did my PR make it through?
On Monday, November 2, 2015, Jordan Liggitt [email protected]
wrote:
liggitt commentedon Nov 2, 2015
no idea
liggitt commentedon Nov 2, 2015
the weird thing is that the current "Forbidden" error is actually what I would expect to have gotten back
liggitt commentedon Nov 2, 2015
When #5525 merged, this is the error the rsh into the build pod encountered:
edit: just saw that was sti... still digging
ncdc commentedon Nov 2, 2015
Good sleuthing. And :frown:
On Monday, November 2, 2015, Jordan Liggitt [email protected]
wrote:
liggitt commentedon Nov 3, 2015
#5525 masked the details of the server error (including the "forbidden because..." text) by not reading and parsing the body when a non-upgrade status code was returned, and instead returning the generic "Forbidden" message
liggitt commentedon Nov 3, 2015
two checks in end-to-end for admission errors
liggitt commentedon Nov 3, 2015
fixed by #5620