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

Make all configmaps unique in same namespace #18620

Merged
merged 6 commits into from
Dec 21, 2020

Conversation

skabashnyuk
Copy link
Contributor

@skabashnyuk skabashnyuk commented Dec 15, 2020

Signed-off-by: Sergii Kabashniuk skabashniuk@redhat.com

What does this PR do?

Make all configmaps unique in the same namespace.

  1. Removed any workspace id prefix.
  2. Put UniqueNamesProvisioner to the end of the list of provisioners. After that, all config maps renamed and have the name wsid.originalname

Screenshot/screencast of this PR

Before the change. Openshift.
Знімок екрана 2020-12-15 о 09 56 18
After the change Openshift
Знімок екрана 2020-12-15 о 10 07 04
After the change Minikube
Знімок екрана 2020-12-15 о 14 07 45
Знімок екрана 2020-12-15 о 14 07 35

What issues does this PR fix or reference?

Fixes #18536

How to test this PR?

  1. Deploy che server image `quay.io/skabashn/che-server:che18536'
  2. Create two workspaces. Start them.
  3. All config maps have to have different names.

PR Checklist

As the author of this Pull Request I made sure that:

Reviewers

Reviewers, please comment how you tested the PR when approving it.

Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
@che-bot che-bot added the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Dec 15, 2020
@che-bot
Copy link
Contributor

che-bot commented Dec 15, 2020

✅ E2E Happy path tests succeed 🎉

See Details

Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)

  • Use comment "[crw-ci-test]" to rerun happy path E2E test.
  • Use comment "[crw-ci-test --rebuild]" to re-build the images and rerun happy path E2E test.

Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
@che-bot
Copy link
Contributor

che-bot commented Dec 15, 2020

✅ E2E Happy path tests succeed 🎉

See Details

Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)

  • Use comment "[crw-ci-test]" to rerun happy path E2E test.
  • Use comment "[crw-ci-test --rebuild]" to re-build the images and rerun happy path E2E test.

Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
Copy link
Contributor

@mmorhun mmorhun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on CRC, works for me

Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
@che-bot
Copy link
Contributor

che-bot commented Dec 17, 2020

❌ E2E Happy path tests failed ❗

See Details

Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)

  • Use comment "[crw-ci-test]" to rerun happy path E2E test.
  • Use comment "[crw-ci-test --rebuild]" to re-build the images and rerun happy path E2E test.

Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
@che-bot
Copy link
Contributor

che-bot commented Dec 17, 2020

Test failed

❌ E2E Happy path tests failed ❗

See Details

Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)

  • Use comment "[crw-ci-test]" to rerun happy path E2E test.
  • Use comment "[crw-ci-test --rebuild]" to re-build the images and rerun happy path E2E test.

@che-bot
Copy link
Contributor

che-bot commented Dec 17, 2020

❌ E2E Happy path tests failed ❗

See Details

Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)

  • Use comment "[crw-ci-test]" to rerun happy path E2E test.
  • Use comment "[crw-ci-test --rebuild]" to re-build the images and rerun happy path E2E test.

@skabashnyuk skabashnyuk merged commit 5656fea into eclipse-che:master Dec 21, 2020
@skabashnyuk skabashnyuk deleted the che18536 branch December 21, 2020 08:29
@che-bot che-bot added kind/bug Outline of a bug - must adhere to the bug report template. and removed status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. labels Dec 21, 2020
@che-bot
Copy link
Contributor

che-bot commented Dec 21, 2020

❌ E2E Happy path tests failed ❗

See Details

Tested with Eclipse Che Multiuser User on K8S (minikube v1.1.1)

  • Use comment "[crw-ci-test]" to rerun happy path E2E test.
  • Use comment "[crw-ci-test --rebuild]" to re-build the images and rerun happy path E2E test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failure to start second workspace of a user on Openshift infrastructure
6 participants