Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

contrib/build-push-ceph-container-imgs.sh: solve aarch64 pkg conflict - #1804

Closed
dmick wants to merge 1 commit into
masterfrom
wip-podman-catatonit
Closed

dmick wants to merge 1 commit into
masterfrom
wip-podman-catatonit

Conversation

@dmick

@dmick dmick commented Feb 3, 2021

Copy link
Copy Markdown
Member

installing podman-docker leads to:

Problem: cannot install both podman-2.2.1-1.el8.aarch64 and podman-2.0.5-5.module_el8.3.0+512+b3b58dca.aarch64

  • package podman-catatonit-2.0.5-5.module_el8.3.0+512+b3b58dca.aarch64 requires podman = 2.0.5-5.module_el8.3.0+512+b3b58dca, but none of the providers can be installed

Adding --allowerasing as dnf suggests allows the dnf install to complete.

Signed-off-by: Dan Mick [email protected]

installing podman-docker leads to:

 Problem: cannot install both podman-2.2.1-1.el8.aarch64 and podman-2.0.5-5.module_el8.3.0+512+b3b58dca.aarch64
  - package podman-catatonit-2.0.5-5.module_el8.3.0+512+b3b58dca.aarch64 requires podman = 2.0.5-5.module_el8.3.0+512+b3b58dca, but none of the providers can be installed

Adding --allowerasing as dnf suggests allows the dnf install to complete.

Signed-off-by: Dan Mick <[email protected]>
@dmick
dmick force-pushed the wip-podman-catatonit branch from 907d86b to 9078550 Compare February 5, 2021 08:34
@guits

guits commented Feb 9, 2021

Copy link
Copy Markdown
Collaborator

jenkins test ceph_ansible-lvm_osds

@guits

guits commented Feb 9, 2021

Copy link
Copy Markdown
Collaborator

jenkins test ceph_ansible-collocation

@guits

guits commented Feb 9, 2021

Copy link
Copy Markdown
Collaborator

jenkins test ceph_ansible-all_daemons

Comment on lines +107 to +109
if [[ "$HOST_ARCH" == "aarch64" ]] ; then
ALLOWERASING="--allowerasing"
fi

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm not sure to understand why this is needed only for aarch64 and not x86_64.

It looks like the podman package is coming from the suse repository (2.2) which doesn't provide the podman-docker package and generates the failure mentioned. IMHO this should fail on both archs.

Do you still need to suse repository since centos container-tools module is now providing podman 2.0 and fixes most (or all) of the past issues ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

currently investigating deeper now. I don't understand either. So far it's led to knowing far too much about the new module organization in dnf packaging and some really odd UI behavior therein.

This is currently marked "Draft" and is aarch64 only because that's the place it was failing; I haven't diagnosed why it doesn't affect x86_64. At this moment I'm attempting to build a test with all that hackery removed (since the default versions will be 2.0.5).

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

ooh, yay for moving targets. the kubic repo now contains podman-3.0.0 for both aarch64 and x86_64 (as of today)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Building without the kubic repo finished successfully. Whether the container is any good or not, I don't yet know, but I have to solve the issue of tag collision now (for the 'branch' and 'sha1' "shorter" tags, the image is going to need to be a 'fat manifest' image that refers to both base architecture images rather than the second arch overwriting the first one). So I'll close this PR in favor of another than 1) undoes the kubic hack and 2) manages the manifests properly.

@dmick

dmick commented Feb 13, 2021

Copy link
Copy Markdown
Member Author

restating here, as more appropriate:

Building without the kubic repo finished successfully. Whether the container is any good or not, I don't yet know, but I have to solve the issue of tag collision now (for the 'branch' and 'sha1' "shorter" tags, the image is going to need to be a 'fat manifest' image that refers to both base architecture images rather than the second arch overwriting the first one). So I'll close this PR in favor of another than 1) undoes the kubic hack and 2) manages the manifests properly.

@dsavineau
dsavineau deleted the wip-podman-catatonit branch March 23, 2021 17:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants