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

[bitnami/postgresql] Fix error when running init-container #18447

Merged
merged 1 commit into from Nov 1, 2019

Conversation

@mgrachev
Copy link
Contributor

mgrachev commented Oct 30, 2019

What this PR does / why we need it:

When I use another image like postgres:11.5 I always get the following error:

Error: failed to create containerd task: OCI runtime create failed: container_linux.go:337: starting container process caused "exec: \"sh\": executable file not found in $PATH": unknown

Using the full path to sh (/bin/sh) fixes that problem.

Which issue this PR fixes

Special notes for your reviewer:

Checklist

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

  • DCO signed
  • Chart Version bumped
  • Title of the PR starts with chart name (e.g. [stable/mychartname])
Error: failed to create containerd task: OCI runtime create failed: container_linux.go:337: starting container process caused "exec: \"sh\": executable file not found in $PATH": unknown
Signed-off-by: Mikhail Grachev <work@mgrachev.com>
@k8s-ci-robot

This comment has been minimized.

Copy link
Contributor

k8s-ci-robot commented Oct 30, 2019

Hi @mgrachev. Thanks for your PR.

I'm waiting for a helm member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot requested review from miguelaeh and tompizmor Oct 30, 2019
@zanhsieh

This comment has been minimized.

Copy link
Collaborator

zanhsieh commented Oct 31, 2019

/ok-to-test

@carrodher

This comment has been minimized.

Copy link
Collaborator

carrodher commented Nov 1, 2019

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm label Nov 1, 2019
@k8s-ci-robot

This comment has been minimized.

Copy link
Contributor

k8s-ci-robot commented Nov 1, 2019

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: carrodher, mgrachev

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 8a5a143 into helm:master Nov 1, 2019
6 checks passed
6 checks passed
DCO DCO
Details
ci/circleci: lint-charts Your tests passed on CircleCI!
Details
ci/circleci: lint-scripts Your tests passed on CircleCI!
Details
dco-labeler All commits have signoff
pull-charts-e2e Job succeeded.
Details
tide In merge pool.
Details
@mgrachev mgrachev deleted the mgrachev:fix-postgres-init-container branch Nov 1, 2019
oleg-filiutsich pushed a commit to oleg-filiutsich/charts that referenced this pull request Nov 1, 2019
Error: failed to create containerd task: OCI runtime create failed: container_linux.go:337: starting container process caused "exec: \"sh\": executable file not found in $PATH": unknown
Signed-off-by: Mikhail Grachev <work@mgrachev.com>
Signed-off-by: Oleg Filychic <oleg.filychic@stark.games>
eMCeee89 added a commit to eMCeee89/charts that referenced this pull request Nov 3, 2019
Error: failed to create containerd task: OCI runtime create failed: container_linux.go:337: starting container process caused "exec: \"sh\": executable file not found in $PATH": unknown
Signed-off-by: Mikhail Grachev <work@mgrachev.com>
muwon added a commit to muwon/charts that referenced this pull request Nov 4, 2019
Error: failed to create containerd task: OCI runtime create failed: container_linux.go:337: starting container process caused "exec: \"sh\": executable file not found in $PATH": unknown
Signed-off-by: Mikhail Grachev <work@mgrachev.com>
hakman added a commit to hakman/charts that referenced this pull request Dec 5, 2019
Error: failed to create containerd task: OCI runtime create failed: container_linux.go:337: starting container process caused "exec: \"sh\": executable file not found in $PATH": unknown
Signed-off-by: Mikhail Grachev <work@mgrachev.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants
You can’t perform that action at this time.