Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-8879

Token injection fails on workspace restart after expiry

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Release Notes
    • Hide
      = OpenShift token is now refreshed on workspace restart

      Previously, if an OpenShift user token expired, restarting a workspace did not inject the new token. This issue is now resolved, and the token is refreshed as expected.
      Show
      = OpenShift token is now refreshed on workspace restart Previously, if an OpenShift user token expired, restarting a workspace did not inject the new token. This issue is now resolved, and the token is refreshed as expected.
    • Bug Fix
    • Proposed

      Description of problem:

      If the Openshift user token expires, restarting the workspace does not inject/refresh the new token.

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      •  Wait for Openshift user token to expire.
      • Try running openshift commands from workspace terminal
      • Restart the workspace
      • Still error is observed while running Openshift commands.

       

      Actual results:

      Below error is observed and token is not refreshed, on workspace restart

      $ oc whoami
      error: You must be logged in to the server (Unauthorized) 

      Expected results:

      Restarting the workspace should inject the new token.

      Reproducibility (Always/Intermittent/Only Once):

      Acceptance criteria: 

       

      Definition of Done:

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

       

       *

              abazko Anatolii Bazko
              rhn-support-jyarora Jyotsana Arora
              Gaurav Trivedi Gaurav Trivedi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: