Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes a stack trace issue (500) during API authentication. #16520

Merged
merged 1 commit into from
Nov 27, 2017

Conversation

abellotti
Copy link
Member

  • seems to happen in a very short window where the token is invalidated in the memcached from the time it is checked for and the time we get fields out of the token.
  • stumbled into this scenario while attempting to reproduce bugzilla #1512839.

- seems to happen in a *very* short window where the token
  is invalidated in the memcached from the time it is checked
  for and the time we get fields out of the token.
- stumbled into this scenario while attempting to reproduce bugzilla #1512839.
abellotti added a commit to abellotti/manageiq-api that referenced this pull request Nov 21, 2017
as a token gets invalidated after its initial existence check.

- complete fix also requires ManageIQ/manageiq#16520
abellotti added a commit to abellotti/manageiq-api that referenced this pull request Nov 21, 2017
as it gets invalidated after its initial existence check.

- complete fix also requires ManageIQ/manageiq#16520
@miq-bot
Copy link
Member

miq-bot commented Nov 21, 2017

Checked commit abellotti@44e220d with ruby 2.3.3, rubocop 0.47.1, haml-lint 0.20.0, and yamllint 1.10.0
1 file checked, 0 offenses detected
Everything looks fine. 🏆

abellotti added a commit to abellotti/manageiq-api that referenced this pull request Nov 22, 2017
as it gets invalidated after its initial existence check.

- Requires ManageIQ/manageiq#16520
- Added spec
@abellotti abellotti changed the title [WIP] Fixes a stack trace issue (500) during API authentication. Fixes a stack trace issue (500) during API authentication. Nov 27, 2017
@abellotti abellotti removed the wip label Nov 27, 2017
@abellotti
Copy link
Member Author

unwip - test included in ManageIQ/manageiq-api#223

@gtanzillo gtanzillo added this to the Sprint 74 Ending Nov 27, 2017 milestone Nov 27, 2017
@gtanzillo gtanzillo merged commit fc8cfe5 into ManageIQ:master Nov 27, 2017
simaishi pushed a commit that referenced this pull request Nov 28, 2017
Fixes a stack trace issue (500) during API authentication.
(cherry picked from commit fc8cfe5)
@simaishi
Copy link
Contributor

Gaprindashvili backport details:

$ git log -1
commit 4d036604aeaa2c9b16920ad4cc4b043590907537
Author: Gregg Tanzillo <gtanzill@redhat.com>
Date:   Mon Nov 27 13:37:08 2017 -0500

    Merge pull request #16520 from abellotti/token_manager_fix
    
    Fixes a stack trace issue (500) during API authentication.
    (cherry picked from commit fc8cfe589deab838076573bfd1301fa94a2302fa)

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

Successfully merging this pull request may close these issues.

4 participants