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

correct platform parameter to OS/ARCH to fix image pull problem #26

Merged
merged 3 commits into from
Nov 3, 2023

Conversation

dustinblack
Copy link
Member

Changes introduced with this PR

We have been seeing image pull failures with the podman deployer related to mult-arch images. It seems that we are passing the --platform parameter only the architecture value when this parameter requires OS/ARCH as input. The error reported by the workflow:

2023-11-02T17:31:51+01:00	debug	source=deployer	Pulling image: quay.io/arcalot/arcaflow-plugin-sysbench:0.6.0
2023-11-02T17:31:53+01:00	error	source=main	Invalid workflow (invalid workflow (failed to load schema for step sysbench_loop (invalid workflow (failed to load schema for step sysbench (failed to deploy plugin from image quay.io/arcalot/arcaflow-plugin-sysbench:0.6.0 (Trying to pull quay.io/arcalot/arcaflow-plugin-sysbench:0.6.0...
Error: choosing an image from manifest list docker://quay.io/arcalot/arcaflow-plugin-sysbench:0.6.0: no image found in image index for architecture amd64, variant "", OS amd64
))))))

Can be exactly reproduced with the command line:

$ podman pull --platform amd64 quay.io/arcalot/arcaflow-plugin-sysbench:latest
Trying to pull quay.io/arcalot/arcaflow-plugin-sysbench:latest...
Error: choosing an image from manifest list docker://quay.io/arcalot/arcaflow-plugin-sysbench:latest: no image found in image index for architecture amd64, variant "", OS amd64

By contributing to this repository, I agree to the contribution guidelines.

@dustinblack dustinblack requested a review from a team November 2, 2023 18:07
@dustinblack dustinblack merged commit d1d72ed into main Nov 3, 2023
4 checks passed
@dustinblack dustinblack deleted the fix-platform branch November 3, 2023 10:51
dustinblack added a commit that referenced this pull request Nov 3, 2023
* correct platform parameter to OS/ARCH to fix image pull problem

* fix type mismatch

* fix type mismatch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants