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

"checlt server:deploy" command failed to deploy operator pod: error "'RELATED_IMAGE_gateway_authentication_sidecar'. Environment variable with default value was not found." #20073

Closed
1 of 3 tasks
RomanNikitenko opened this issue Jul 5, 2021 · 0 comments · Fixed by che-incubator/chectl#1367
Assignees
Labels
e2e-test/failure Issues that is related to a test failures reported by our CI platform and our QE. kind/bug Outline of a bug - must adhere to the bug report template. severity/blocker Causes system to crash and be non-recoverable or prevents Che developers from working on Che code.

Comments

@RomanNikitenko
Copy link
Member

RomanNikitenko commented Jul 5, 2021

Describe the bug

Happy path tests fails on the Eclipse Che Deploy step.
The error is:

stderr: '    Error: Command server:deploy failed. Error log: \n' +
    '    /home/runner/.cache/chectl/error.log. Eclipse Che logs: \n' +
    '    /tmp/chectl-logs/1625429415235.',

Operator pod logs:
https://main-jenkins-csb-crwqe.apps.ocp4.prod.psi.redhat.com/job/Che/job/e2e/job/minikube/job/basic/job/che-server/287/artifact/logs-and-configs/che-logs/che-operator-5dcbfd85bf-wwrws.pod.log

time="2021-07-04T04:29:18Z" level=fatal msg="Failed to initialize default value: 'RELATED_IMAGE_gateway_authentication_sidecar'. Environment variable with default value was not found."

Che version

  • latest
  • nightly
  • other: please specify

Che installation

chectl/0.0.20210702-next.ba26304 linux-x64 node-v12.22.1

chectl server:deploy --k8spodreadytimeout=600000 --k8spodwaittimeout=600000 --k8spoddownloadimagetimeout=600000 --listr-renderer=verbose --platform=minikube --che-operator-cr-patch-yaml=custom-resource-patch.yaml --telemetry=off --chenamespace=eclipse-che

where custom-resource-patch.yaml content:

spec:
  server:
    cheImage: 'quay.io/eclipse/che-server'
    cheImageTag: 'nightly'
    customCheProperties:
      CHE_LIMITS_USER_WORKSPACES_RUN_COUNT: '-1'
      CHE_WORKSPACE_SIDECAR_IMAGE__PULL__POLICY: IfNotPresent
      CHE_WORKSPACE_PLUGIN__BROKER_PULL__POLICY: IfNotPresent
      CHE_INFRA_KUBERNETES_WORKSPACE_START_TIMEOUT_MIN: '12'
  auth:
    updateAdminPassword: false

Steps to reproduce

I detected a problem on che-theia PR's check.
Please see eclipse-che/che-theia#1157 or eclipse-che/che-theia#1049

Expected behavior

Screenshots

happy_path_failure

deploy_failure

@RomanNikitenko RomanNikitenko added the kind/bug Outline of a bug - must adhere to the bug report template. label Jul 5, 2021
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Jul 5, 2021
@dmytro-ndp dmytro-ndp changed the title Happy path tests fails on the Deploy step "checlt server:deploy" command failed to deploy operator pod because of an error "'RELATED_IMAGE_gateway_authentication_sidecar'. Environment variable with default value was not found." Jul 5, 2021
@dmytro-ndp dmytro-ndp changed the title "checlt server:deploy" command failed to deploy operator pod because of an error "'RELATED_IMAGE_gateway_authentication_sidecar'. Environment variable with default value was not found." "checlt server:deploy" command failed to deploy operator pod: error "'RELATED_IMAGE_gateway_authentication_sidecar'. Environment variable with default value was not found." Jul 5, 2021
@dmytro-ndp dmytro-ndp added team/deploy severity/blocker Causes system to crash and be non-recoverable or prevents Che developers from working on Che code. e2e-test/failure Issues that is related to a test failures reported by our CI platform and our QE. and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Jul 5, 2021
@mmorhun mmorhun self-assigned this Jul 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
e2e-test/failure Issues that is related to a test failures reported by our CI platform and our QE. kind/bug Outline of a bug - must adhere to the bug report template. severity/blocker Causes system to crash and be non-recoverable or prevents Che developers from working on Che code.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants