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

[edpm_build_images] Run buildah command as a root #1684

Closed
wants to merge 1 commit into from
Closed

Conversation

raukadah
Copy link
Contributor

In Downstream, we perform podman/buildah login as a root to pull base containers.

Here we are building containers as a normal user. the buildah commands are failing with base containers not found.

Running buildah command as a root fixes the issue.

As a pull request owner and reviewers, I checked that:

  • Appropriate testing is done and actually running

@github-actions github-actions bot marked this pull request as draft May 13, 2024 14:12
Copy link

Thanks for the PR! ❤️
I am marking it as a draft, once passing your happy and the PR is passing CI click the "Ready for review" button below.

Copy link
Contributor

openshift-ci bot commented May 13, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from raukadah. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found 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

In Downstream, we perform podman/buildah login as a root to pull
base containers.

Here we are building containers as a normal user. the buildah commands are
failing with base containers not found.

Running buildah command as a root fixes the issue.
Since we are building the images as root, we also need to push
the images as root.

Signed-off-by: Chandan Kumar <[email protected]>
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://review.rdoproject.org/zuul/buildset/dd27e162a08042e48a9fcb7292df3450

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 41m 32s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 20m 01s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 14m 49s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 57s
✔️ cifmw-pod-pre-commit SUCCESS in 8m 02s
cifmw-content-provider-build-images FAILURE in 13m 31s
✔️ cifmw-edpm-build-images SUCCESS in 19m 36s
✔️ cifmw-molecule-edpm_build_images SUCCESS in 5m 29s

@raukadah raukadah closed this May 15, 2024
@raukadah raukadah deleted the edpm_images branch May 15, 2024 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant