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

fix: avoid AWS-related error in kaniko container #713

Merged
merged 3 commits into from
Dec 7, 2021

Conversation

sbose78
Copy link
Member

@sbose78 sbose78 commented Apr 3, 2021

I can't seem to remember why this was removed.

E0403 03:28:54.670358      16 aws_credentials.go:77] while getting AWS credentials NoCredentialProviders: no valid providers in chain. Deprecated.
	For verbose messaging see aws.Config.CredentialsChainVerboseErrors

Changes

Submitter Checklist

  • Includes tests if functionality changed/was added
  • Includes docs if changes are user-facing
  • Set a kind label on this PR
  • Release notes block has been filled in, or marked NONE

See the contributor guide
for details on coding conventions, github and prow interactions, and the code review process.

Release Notes

Fix source-to-image strategy's kaniko step to ignore missing AWS credentials

```
E0403 03:28:54.670358      16 aws_credentials.go:77] while getting AWS credentials NoCredentialProviders: no valid providers in chain. Deprecated.
	For verbose messaging see aws.Config.CredentialsChainVerboseErrors
```
@openshift-ci-robot openshift-ci-robot added the release-note Label for when a PR has specified a release note label Apr 3, 2021
@sbose78 sbose78 changed the title fix: avoid AWS-related error in kaniko container WIP fix: avoid AWS-related error in kaniko container Apr 3, 2021
@openshift-ci-robot openshift-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 3, 2021
Copy link
Member

@SaschaSchwarze0 SaschaSchwarze0 left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Apr 3, 2021
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: SaschaSchwarze0

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

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 3, 2021
@SaschaSchwarze0
Copy link
Member

I guess, we only added it for Kaniko but forgot the s2i strategy.

@openshift-ci-robot openshift-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 5, 2021
@openshift-ci-robot
Copy link

@sbose78: PR needs rebase.

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.

@qu1queee
Copy link
Contributor

@sbose78 can you resolve the conflicts and remove the WIP from the title, so that we can get this one merged please .

@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Apr 28, 2021
@sbose78
Copy link
Member Author

sbose78 commented Apr 28, 2021

Done!

@openshift-ci openshift-ci bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 28, 2021
@SaschaSchwarze0
Copy link
Member

Re-opening to restart GitHub tests.

@SaschaSchwarze0
Copy link
Member

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Apr 29, 2021
@SaschaSchwarze0
Copy link
Member

Just capturing for now. There is a failure in buildah which does not sound intermittent:

Logs of container step-buildah-bud:
STEP 1: FROM golang:1.16 AS build
STEP 2: FROM scratch
error creating build container: short-name resolution enforced but cannot prompt without a TTY

I trigger one more try.

@SaschaSchwarze0
Copy link
Member

SaschaSchwarze0 commented Apr 29, 2021

@sbose78 you need to rebase again to pick up the version pinning for buildah so that your tests pass. Also, please remove the WIP prefix from the PR name. Thank you.

@openshift-ci openshift-ci bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 24, 2021
@openshift-ci openshift-ci bot removed lgtm Indicates that a PR is ready to be merged. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Dec 6, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Dec 6, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: SaschaSchwarze0

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

@SaschaSchwarze0 SaschaSchwarze0 changed the title WIP fix: avoid AWS-related error in kaniko container fix: avoid AWS-related error in kaniko container Dec 7, 2021
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 7, 2021
Copy link
Member

@SaschaSchwarze0 SaschaSchwarze0 left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Dec 7, 2021
@openshift-merge-robot openshift-merge-robot merged commit 58a7ad9 into main Dec 7, 2021
@SaschaSchwarze0 SaschaSchwarze0 deleted the aws-kaniko branch December 7, 2021 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. release-note Label for when a PR has specified a release note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants