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

`Create new workspace` link doesn't work if existing workspace already present

    XMLWordPrintable

Details

    • False
    • None
    • False
    • Release Notes
    • Hide
      = Duplicate workspaces cannot be created after upgrading from {prod-short} 3.4

      Currently, users are unable to create multiple workspaces from the same dashboard sample or Git repository URL after upgrading {prod-short} from version 3.4.

      Administrators must ask users before the upgrade to push their latest workspace changes to their Git repositories and to be prepared to delete and recreate workspaces after the upgrade.

      .Workaround

      Use a relevant option:

      * Update your devfile with `generateName` rather than `fixedName` to have a unique name generated for each new workspace.

      * Delete any previous workspaces from the same sample or Git repository before creating a new one.
      Show
      = Duplicate workspaces cannot be created after upgrading from {prod-short} 3.4 Currently, users are unable to create multiple workspaces from the same dashboard sample or Git repository URL after upgrading {prod-short} from version 3.4. Administrators must ask users before the upgrade to push their latest workspace changes to their Git repositories and to be prepared to delete and recreate workspaces after the upgrade. .Workaround Use a relevant option: * Update your devfile with `generateName` rather than `fixedName` to have a unique name generated for each new workspace. * Delete any previous workspaces from the same sample or Git repository before creating a new one.
    • Known Issue
    • Done

    Description

      Description of problem:

      It's not possible to open DS 3.5.0.RC-03-10 workspace from devfile samples after upgrade from DS 3.4.0 + DWO 0.19.1.

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

      Steps to Reproduce

      1. Deploy DS 3.4.0 + DWO 0.19.1 to online/airgap OCP 4.12.
      2. Create workspace using "java-lombok" sample.
      3. Upgrade DS to 3.5.0.RC-03-10.
      4. Create new workspace using "java-lombok" sample.

      Actual results:

      Workspace failed to start:

      There was error message "Cannot start the provider file.Provider: routers cannot be a standalone element (type map[string]*dynamic.Router)" in *che-gateway pod logs:

      time="2023-03-12T22:29:20Z" level=info msg="Traefik version dev built on I don't remember exactly"
      time="2023-03-12T22:29:20Z" level=info msg="\nStats collection is disabled.\nHelp us improve Traefik by turning this feature on :)\nMore details on: https://doc.traefik.io/traefik/contributing/data-collection/\n"
      time="2023-03-12T22:29:20Z" level=warning msg="Traefik Pilot is deprecated and will be removed soon. Please check our Blog for migration instructions later this year."
      time="2023-03-12T22:29:20Z" level=info msg="Starting provider aggregator aggregator.ProviderAggregator"
      time="2023-03-12T22:29:20Z" level=info msg="Starting provider *file.Provider"
      time="2023-03-12T22:29:20Z" level=error msg="Cannot start the provider *file.Provider: routers cannot be a standalone element (type map[string]*dynamic.Router)"
      time="2023-03-12T22:29:20Z" level=info msg="Starting provider *traefik.Provider"
      time="2023-03-12T22:29:20Z" level=info msg="Starting provider *acme.ChallengeTLSALPN"
      

      Expected results:

      Workspace has been started successfully.

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

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

      The problem hasn't been reproduced in DS 3.5.0.RC-03-10 installed from scratch on another online/airgap cluster.

      Attachments

        Issue Links

          Activity

            People

              ibuziuk@redhat.com Ilya Buziuk
              dnochevn Dmytro Nochevnov
              Dmytro Nochevnov Dmytro Nochevnov
              Max Leonov Max Leonov
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: