Skip to content
This repository has been archived by the owner. It is now read-only.

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

Merged
merged 1 commit into from Nov 1, 2019
Merged

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

merged 1 commit into from Nov 1, 2019

Conversation

mgrachev
Copy link
Contributor

@mgrachev 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>
@helm-bot helm-bot added size/S Contribution Allowed labels Oct 30, 2019
@k8s-ci-robot k8s-ci-robot added the needs-ok-to-test label Oct 30, 2019
@k8s-ci-robot
Copy link
Contributor

@k8s-ci-robot 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.

@zanhsieh
Copy link
Collaborator

@zanhsieh zanhsieh commented Oct 31, 2019

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test and removed needs-ok-to-test labels Oct 31, 2019
@carrodher
Copy link
Collaborator

@carrodher carrodher commented Nov 1, 2019

/lgtm

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

@k8s-ci-robot 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 added the approved label Nov 1, 2019
@k8s-ci-robot k8s-ci-robot merged commit 8a5a143 into helm:master Nov 1, 2019
6 checks passed
@mgrachev mgrachev deleted the fix-postgres-init-container branch Nov 1, 2019
oleg-filiutsich pushed a commit to oleg-filiutsich/charts that referenced this issue 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 pushed a commit to eMCeee89/charts that referenced this issue 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>
hakman pushed a commit to hakman/charts that referenced this issue 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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Contribution Allowed lgtm ok-to-test size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants