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

As an Admin, I want to have clear instructions for switching to Dev Workspace engine #20614

Closed
Tracked by #20648 ...
ibuziuk opened this issue Oct 8, 2021 · 4 comments
Assignees
Labels
area/che-operator Issues and PRs related to Eclipse Che Kubernetes Operator area/doc Issues related to documentation kind/task Internal things, technical debt, and to-do tasks to be performed. severity/P1 Has a major impact to usage or development of the system.
Milestone

Comments

@ibuziuk
Copy link
Member

ibuziuk commented Oct 8, 2021

Is your task related to a problem? Please describe

As an Admin, I want to have clear instructions for swithing from Che Server to Dev Workspace Engine.
image

Describe the solution you'd like

As an Admin, I want to have clear instructions for swithing from Che Server to Dev Workspace Engine (stable or next channels).

Describe alternatives you've considered

No response

Additional context

No response

@ibuziuk ibuziuk added kind/task Internal things, technical debt, and to-do tasks to be performed. area/che-operator Issues and PRs related to Eclipse Che Kubernetes Operator severity/P1 Has a major impact to usage or development of the system. area/doc Issues related to documentation labels Oct 8, 2021
@themr0c
Copy link
Contributor

themr0c commented Oct 12, 2021

@ibuziuk
Copy link
Member Author

ibuziuk commented Oct 12, 2021

SOP that I tried so far, and which does not work as expected (details below):

  • install 'eclipse-che' using the stable channel
  • create CR with a single-host and OpenShift Auth enabled
  • create an account (using 'developer' OpenShift account on the crc for example) with a couple of workspaces and start one of them
  • wait until workspace is running, run build / run command
  • start preparations for the migration procedure from the stable to tech-preview-stable-all-namespace
  • delete eclipse-che subscription from the namespace
[ibuziuk@fedora ~]$ oc get subscription
NAME          PACKAGE       SOURCE                CHANNEL
eclipse-che   eclipse-che   community-operators   stable
[ibuziuk@fedora ~]$ oc delete subscription eclipse-che
subscription.operators.coreos.com "eclipse-che" deleted
  • delete csv and dependent objects
    image
  • IMPORTANT! Do not delete previously created CR / CRD
  • operator pod in the namespace will be terminated
    image
  • install 'eclipse-che' using the tech-preview-stable-all-namespace
    image
  • operators are installed in the all-namespace mode as expected
    image
  • update the CR from the eclipse-che namespace and enable devWorkspace
  devWorkspace:
    enable: true
  • go back to the running workspace
  • session expired / re-login is required
  • login using the existing 'developer' account that was used previously
  • ERROR: on the 'eclipse-che' end the new account is created

image

  • ERROR: UD shows the following errors
    image

  • Start a new DevWorkspace

  • ERROR: Workspace is started, but since the account is different, in a different namespace (not developer-dev, but
    developeryv6z-dev)
    image

  • ERROR: previously running workspace pod (the one that has been started before migration in the developer-che namespace) is still running.

Basically, there are two main issues with the switch from the stable to tech-preview-stable-all-namespace channel

  1. for some reason, a new account is created after the devWorkspace switch, which is utterly unexpected New account is created after switching an existing Eclipse Che instance from 'stable' -> 'tech-preview-stable-all-namespace' channel, and enabling DevWorkspace engine #20629
dbche=# SELECT * from account;
                  id                  |     name      |   type   
--------------------------------------+---------------+----------
 434d4bdf-7bae-47de-b657-9c3d675bf4d2 | developer     | personal
 e8a1a712-743c-4978-b095-9b3db488a110 | developeryv6z | personal
(2 rows)
  1. previously running workspaces managed by che-server are not stopped (when admin switches the engine to DevWorskpace all che-server based workspaces should be stopped) When admin switches the engine to DevWorskpace all che-server based workspaces should be stopped #20631

@ibuziuk ibuziuk changed the title As an Admin, I want to have clear instructions for swithing from the 'stable' channel to 'stable-all-namespace' and enabling DevWorkspace As an Admin, I want to have clear instructions for swithing from the 'stable' channel to 'stable-all-namespace', and enabling DevWorkspace Oct 12, 2021
@tolusha tolusha mentioned this issue Oct 18, 2021
25 tasks
@AndrienkoAleksandr AndrienkoAleksandr self-assigned this Nov 5, 2021
@tolusha tolusha mentioned this issue Nov 9, 2021
27 tasks
@tolusha tolusha changed the title As an Admin, I want to have clear instructions for swithing from the 'stable' channel to 'stable-all-namespace', and enabling DevWorkspace As an Admin, I want to have clear instructions for switching from the 'stable' channel to 'stable-all-namespace', and enabling DevWorkspace Nov 11, 2021
@tolusha tolusha mentioned this issue Nov 29, 2021
28 tasks
@tolusha tolusha mentioned this issue Dec 17, 2021
14 tasks
@benoitf
Copy link
Contributor

benoitf commented Dec 21, 2021

moving issue to 7.42 milestone as this issue is part of the endgame

@tolusha tolusha changed the title As an Admin, I want to have clear instructions for switching from the 'stable' channel to 'stable-all-namespace', and enabling DevWorkspace As an Admin, I want to have clear instructions for switching to Dev Workspace engine Dec 28, 2021
@tolusha tolusha modified the milestones: 7.42, 7.43 Jan 12, 2022
@tolusha tolusha mentioned this issue Jan 31, 2022
18 tasks
@tolusha tolusha modified the milestones: 7.43, 7.44 Feb 1, 2022
@benoitf benoitf modified the milestones: 7.44, 7.45 Feb 28, 2022
@ibuziuk ibuziuk mentioned this issue Mar 14, 2022
35 tasks
@benoitf benoitf modified the milestones: 7.45, 7.46 Mar 17, 2022
@ibuziuk ibuziuk mentioned this issue Apr 5, 2022
45 tasks
@ibuziuk
Copy link
Member Author

ibuziuk commented Apr 12, 2022

Fixed as part of eclipse-che/che-docs#2269

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/che-operator Issues and PRs related to Eclipse Che Kubernetes Operator area/doc Issues related to documentation kind/task Internal things, technical debt, and to-do tasks to be performed. severity/P1 Has a major impact to usage or development of the system.
Projects
None yet
Development

No branches or pull requests

6 participants