Skip to content

Temporarily accept 'Forbidden' and 'forbidden' responses - #5618

Merged
liggitt merged 1 commit into
openshift:masterfrom
liggitt:exec_forbidden_tmp_fix
Nov 3, 2015
Merged

liggitt merged 1 commit into
openshift:masterfrom
liggitt:exec_forbidden_tmp_fix

Conversation

@liggitt

@liggitt liggitt commented Nov 3, 2015

Copy link
Copy Markdown
Contributor

Fixes #5602

@liggitt

liggitt commented Nov 3, 2015

Copy link
Copy Markdown
Contributor Author

#5525 prevents the details of server errors establishing exec sessions from being displayed, and instead displays the generic http text. This accepts the generic text ("Forbidden") until we can restore the behavior of displaying the detailed server message

@liggitt

liggitt commented Nov 3, 2015

Copy link
Copy Markdown
Contributor Author

@ncdc @smarterclayton PTAL

@liggitt

liggitt commented Nov 3, 2015

Copy link
Copy Markdown
Contributor Author

tested locally, merging to unblock the queue

liggitt added a commit that referenced this pull request Nov 3, 2015
Temporarily accept 'Forbidden' and 'forbidden' responses
@liggitt
liggitt merged commit 2c6234e into openshift:master Nov 3, 2015
@smarterclayton

Copy link
Copy Markdown
Contributor

LGTM

@smarterclayton smarterclayton added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 3, 2015
@deads2k

deads2k commented Nov 3, 2015

Copy link
Copy Markdown
Contributor

#5525 prevents the details of server errors establishing exec sessions from being displayed, and instead displays the generic http text. This accepts the generic text ("Forbidden") until we can restore the behavior of displaying the detailed server message

#5525 merged through the regular queue. Any idea how it sometimes returns different forbiddens? I would really hope for consistent behavior on that kind of an error.

@liggitt

liggitt commented Nov 3, 2015

Copy link
Copy Markdown
Contributor Author

#5525 merged through the regular queue. Any idea how it sometimes returns different forbiddens?

Absolutely no idea. The logs showed admission getting hit for the rsh e2e-user case, and server-side had the correct forbidden error... I don't see how oc output anything but Forbidden in that case with that PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants