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

"404 page not found" when start workspace from Dashboard sample

XMLWordPrintable

    • False
    • None
    • False
    • Release Notes
    • Hide
      = 404 page not found when starting a new workspace from a sample

      There is currently a known issue where some users might encounter a *404 page not found* error when starting a new workspace from a dashboard sample.

      .Workaround

      * Restart the workspace.
      Show
      = 404 page not found when starting a new workspace from a sample There is currently a known issue where some users might encounter a *404 page not found* error when starting a new workspace from a dashboard sample. .Workaround * Restart the workspace.
    • Known Issue
    • Rejected
    • Workaround Exists
    • Hide

      Restart workspace

      Show
      Restart workspace

      Description of problem:

      There was "404 page not found" error when start workspace from Dashboard sample

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

      • DS 3.6.0.RC-04-27 + DWO 0.20.0
      • OCP 4.10

      Steps to Reproduce

       # Go to Dashboard > Create Workspace page
       # Create workspace from "Go" sample
       

      Actual results:

      "404 page not found" error

      Expected results:

      Workspace has been started successfully

      Reproducibility (Always/Intermittent/Only Once):

      Intermittent

      Build Details:

      • devspaces-operator-bundle-container-3.6-178
      • devworkspace-operator-bundle:0.20-3

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

      Possible root cause: DWO gets unexpected 404 response code for the health check request

      Logs:
      devworkspace-controller-manager-7b98955b89-gzx8w-devworkspace-controller.log

      devworkspace-controller-manager logs
      {"level":"info","ts":"2023-05-01T11:38:26Z","logger":"controllers.DevWorkspaceRouting","msg":"Reconciling DevWorkspaceRouting","Request.Namespace":"admin-devspaces","Request.Name":"routing-workspace93e3752e792e48e5","devworkspace_id":"workspace93e3752e792e48e5"}
      {"level":"info","ts":"2023-05-01T11:38:26Z","logger":"controllers.DevWorkspaceRouting","msg":"Reconciling DevWorkspaceRouting","Request.Namespace":"user-devspaces","Request.Name":"routing-workspaceb091138ff19f4dca","devworkspace_id":"workspaceb091138ff19f4dca"}
      {"level":"info","ts":"2023-05-01T11:38:26Z","logger":"controllers.DevWorkspaceRouting","msg":"Reconciling DevWorkspaceRouting","Request.Namespace":"admin-devspaces","Request.Name":"routing-workspacefa203967038048b7","devworkspace_id":"workspacefa203967038048b7"}
      {"level":"info","ts":"2023-05-01T11:38:26Z","msg":"Starting workers","controller":"devworkspace","controllerGroup":"workspace.devfile.io","controllerKind":"DevWorkspace","worker count":5}
      {"level":"info","ts":"2023-05-01T11:38:26Z","logger":"controllers.DevWorkspace","msg":"Reconciling Workspace","Request.Namespace":"admin-devspaces","Request.Name":"dotnet","devworkspace_id":"workspace93e3752e792e48e5","resolvedConfig":"workspace.progressTimeout=300s,workspace.containerSecurityContext is set"}
      {"level":"info","ts":"2023-05-01T11:38:26Z","logger":"controllers.DevWorkspace","msg":"Reconciling Workspace","Request.Namespace":"admin-devspaces","Request.Name":"golang","devworkspace_id":"workspacefa203967038048b7","resolvedConfig":"workspace.progressTimeout=300s,workspace.containerSecurityContext is set"}
      {"level":"info","ts":"2023-05-01T11:38:26Z","logger":"controllers.DevWorkspace","msg":"Reconciling Workspace","Request.Namespace":"admin-devspaces","Request.Name":"php-hello-world","devworkspace_id":"workspace7ac361dfe7c64644","resolvedConfig":"workspace.progressTimeout=300s,workspace.containerSecurityContext is set"}
      {"level":"info","ts":"2023-05-01T11:38:26Z","logger":"controllers.DevWorkspace","msg":"Reconciling Workspace","Request.Namespace":"user-devspaces","Request.Name":"quarkus-api-example-sa3d","devworkspace_id":"workspaceb091138ff19f4dca","resolvedConfig":"workspace.progressTimeout=300s,workspace.containerSecurityContext is set"}
      {"level":"info","ts":"2023-05-01T11:38:26Z","logger":"controllers.DevWorkspace","msg":"Workspace stopped with reason","Request.Namespace":"admin-devspaces","Request.Name":"php-hello-world","devworkspace_id":"workspace7ac361dfe7c64644","stopped-by":"inactivity"}
      {"level":"info","ts":"2023-05-01T11:38:26Z","logger":"controllers.DevWorkspace","msg":"Workspace stopped with reason","Request.Namespace":"admin-devspaces","Request.Name":"dotnet","devworkspace_id":"workspace93e3752e792e48e5","stopped-by":"inactivity"}
      {"level":"info","ts":"2023-05-01T11:38:26Z","logger":"controllers.DevWorkspace","msg":"Workspace stopped with reason","Request.Namespace":"admin-devspaces","Request.Name":"golang","devworkspace_id":"workspacefa203967038048b7","stopped-by":"inactivity"}
      {"level":"info","ts":"2023-05-01T11:38:26Z","logger":"controllers.DevWorkspace","msg":"Reconciling Workspace","Request.Namespace":"admin-devspaces","Request.Name":"dotnet","devworkspace_id":"workspace93e3752e792e48e5","resolvedConfig":"workspace.progressTimeout=300s,workspace.containerSecurityContext is set"}
      {"level":"info","ts":"2023-05-01T11:38:26Z","logger":"controllers.DevWorkspace","msg":"Workspace stopped with reason","Request.Namespace":"admin-devspaces","Request.Name":"dotnet","devworkspace_id":"workspace93e3752e792e48e5","stopped-by":"inactivity"}
      

      devspaces-dashboard-6b46fd45c-kmpm2-devspaces-dashboard.log

              rnikiten Roman Nikitenko
              dnochevn Dmytro Nochevnov
              Max Leonov Max Leonov
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: