crc-org / snc

Single Node Cluster creation scripts for OpenShift 4.x as used by CodeReady Containers
https://crc.dev
Apache License 2.0
100 stars 49 forks source link

DNF conflicts during microshift pipeline #931

Closed redbeam closed 2 days ago

redbeam commented 1 week ago

930

During a testing pipeline run for release 4.17, this error was encountered:

# Building edge-container for microshift v0.0.1[00m
ERROR: DepsolveError: DNF error occurred: DepsolveError: There was a problem depsolving microcode_ctl, iwl1000-firmware, iwl100-firmware, iwl105-firmware, iwl135-firmware, iwl2000-firmware, iwl2030-firmware, iwl3160-firmware, iwl5000-firmware, iwl5150-firmware, iwl6050-firmware, dracut-config-generic, grub2-pc, dracut-config-generic, efibootmgr, grub2-efi-x64, shim-x64, kernel, selinux-policy-targeted, redhat-release, glibc, glibc-minimal-langpack, nss-altfiles, dracut-config-generic, dracut-network, basesystem, bash, platform-python, shadow-utils, chrony, setup, shadow-utils, sudo, systemd, coreutils, util-linux, curl, vim-minimal, rpm, rpm-ostree, polkit, lvm2, cryptsetup, pinentry, e2fsprogs, dosfstools, keyutils, gnupg2, attr, xz, gzip, firewalld, iptables, NetworkManager, NetworkManager-wifi, NetworkManager-wwan, wpa_supplicant, dnsmasq, traceroute, hostname, iproute, iputils, openssh-clients, procps-ng, rootfiles, openssh-server, passwd, policycoreutils, policycoreutils-python-utils, selinux-policy-targeted, setools-console, less, tar, rsync, usbguard, bash-completion, tmux, ima-evm-utils, audit, podman, containernetworking-plugins, container-selinux, skopeo, criu, slirp4netns, fuse-overlayfs, clevis, clevis-dracut, clevis-luks, greenboot, greenboot-default-health-checks, fdo-client, fdo-owner-cli, sos, grub2, grub2-efi-x64, efibootmgr, shim-x64, microcode_ctl, iwl1000-firmware, iwl100-firmware, iwl105-firmware, iwl135-firmware, iwl2000-firmware, iwl2030-firmware, iwl3160-firmware, iwl5000-firmware, iwl5150-firmware, iwl6050-firmware, iwl7260-firmware, ignition, ignition-edge, ssh-key-dir, microshift-4.17.0~ec.1, microshift-greenboot-4.17.0~ec.1, microshift-olm-4.17.0~ec.1, microshift-networking-4.17.0~ec.1, microshift-selinux-4.17.0~ec.1, microshift-release-info-4.17.0~ec.1, microshift-multus-4.17.0~ec.1, openshift-clients, iputils, bind-utils, net-tools, iotop, strace, iproute-tc, microshift-release-info, cloud-utils-growpart, qemu-guest-agent: 
 Problem: conflicting requests
  - package strace-5.18-2.el9.x86_64 from 88078c0ccf4c0bfc93aebe0a9a627750ef34fc3724b0fc1b29500451bc0de0c5 requires libdw.so.1()(64bit), but none of the providers can be installed
  - package strace-5.18-2.el9.x86_64 from 88078c0ccf4c0bfc93aebe0a9a627750ef34fc3724b0fc1b29500451bc0de0c5 requires libdw.so.1(ELFUTILS_0.122)(64bit), but none of the providers can be installed
  - package strace-5.18-2.el9.x86_64 from 88078c0ccf4c0bfc93aebe0a9a627750ef34fc3724b0fc1b29500451bc0de0c5 requires libdw.so.1(ELFUTILS_0.158)(64bit), but none of the providers can be installed
  - package strace-5.13-7.el9.x86_64 from 88078c0ccf4c0bfc93aebe0a9a627750ef34fc3724b0fc1b29500451bc0de0c5 requires libdw.so.1()(64bit), but none of the providers can be installed
  - package strace-5.13-7.el9.x86_64 from 88078c0ccf4c0bfc93aebe0a9a627750ef34fc3724b0fc1b29500451bc0de0c5 requires libdw.so.1(ELFUTILS_0.122)(64bit), but none of the providers can be installed
  - package strace-5.13-7.el9.x86_64 from 88078c0ccf4c0bfc93aebe0a9a627750ef34fc3724b0fc1b29500451bc0de0c5 requires libdw.so.1(ELFUTILS_0.158)(64bit), but none of the providers can be installed
  - package elfutils-libs-0.186-1.el9.x86_64 from 88078c0ccf4c0bfc93aebe0a9a627750ef34fc3724b0fc1b29500451bc0de0c5 requires elfutils-libelf(x86-64) = 0.186-1.el9, but none of the providers can be installed
  - package elfutils-libs-0.188-3.el9.x86_64 from 88078c0ccf4c0bfc93aebe0a9a627750ef34fc3724b0fc1b29500451bc0de0c5 requires elfutils-libelf(x86-64) = 0.188-3.el9, but none of the providers can be installed
  - package elfutils-libs-0.187-5.el9.x86_64 from 88078c0ccf4c0bfc93aebe0a9a627750ef34fc3724b0fc1b29500451bc0de0c5 requires elfutils-libelf(x86-64) = 0.187-5.el9, but none of the providers can be installed
  - package elfutils-libs-0.189-3.el9.x86_64 from 88078c0ccf4c0bfc93aebe0a9a627750ef34fc3724b0fc1b29500451bc0de0c5 requires elfutils-libelf(x86-64) = 0.189-3.el9, but none of the providers can be installed
  - cannot install both elfutils-libelf-0.190-2.el9.x86_64 from ae81ab998e54b577640cc9ffc6a824fff1271399f69591ae965631f76d1079d3 and elfutils-libelf-0.186-1.el9.x86_64 from 88078c0ccf4c0bfc93aebe0a9a627750ef34fc3724b0fc1b29500451bc0de0c5
  - cannot install both elfutils-libelf-0.190-2.el9.x86_64 from ae81ab998e54b577640cc9ffc6a824fff1271399f69591ae965631f76d1079d3 and elfutils-libelf-0.188-3.el9.x86_64 from 88078c0ccf4c0bfc93aebe0a9a627750ef34fc3724b0fc1b29500451bc0de0c5
  - cannot install both elfutils-libelf-0.190-2.el9.x86_64 from ae81ab998e54b577640cc9ffc6a824fff1271399f69591ae965631f76d1079d3 and elfutils-libelf-0.187-5.el9.x86_64 from 88078c0ccf4c0bfc93aebe0a9a627750ef34fc3724b0fc1b29500451bc0de0c5
  - cannot install both elfutils-libelf-0.190-2.el9.x86_64 from ae81ab998e54b577640cc9ffc6a824fff1271399f69591ae965631f76d1079d3 and elfutils-libelf-0.189-3.el9.x86_64 from 88078c0ccf4c0bfc93aebe0a9a627750ef34fc3724b0fc1b29500451bc0de0c5
praveenkumar commented 6 days ago

I tried it on the updated RHEL-9 and didn't face this issue, look like I need to update the RHEL gcp image which we use for our CI.

redbeam commented 2 days ago

Looks like the issue is fixed.

cfergeau commented 1 day ago

For what it's worth, I'm surprised microshift tries to install strace as this is a debugging tool.