ansible-dockerswarm icon indicating copy to clipboard operation
ansible-dockerswarm copied to clipboard

containerd installation fails on CentOS8 with "failed to validate GPG signature"

Open fgierlinger opened this issue 3 years ago • 0 comments

Summary containerd installation fails on CENTOS8 with the message Failed to validate GPG signature for containerd.io-1.2.6-3.3.el7.x86_64 . Changing the repository URL to containerd of CentOS7 to CentOS8 (https://github.com/atosatto/ansible-dockerswarm/blob/master/tasks/setup-containerd.yml#L26) is not successful, but yields another error

 Problem: problem with installed package podman-1.6.4-10.module_el8.2.0+305+5e198a41.x86_64
  - package podman-1.6.4-10.module_el8.2.0+305+5e198a41.x86_64 requires runc >= 1.0.0-57, but none of the providers can be installed
  - package containerd.io-1.3.7-3.1.el8.x86_64 conflicts with runc provided by runc-1.0.0-65.rc10.module_el8.2.0+305+5e198a41.x86_64
  - package containerd.io-1.3.7-3.1.el8.x86_64 obsoletes runc provided by runc-1.0.0-65.rc10.module_el8.2.0+305+5e198a41.x86_64
  - conflicting requests
  - package runc-1.0.0-64.rc10.module_el8.2.0+304+65a3c2ac.x86_64 is filtered out by modular filtering
  - package containerd.io-1.2.10-3.2.el7.x86_64 is filtered out by modular filtering
  - package containerd.io-1.2.13-3.1.el7.x86_64 is filtered out by modular filtering
  - package containerd.io-1.2.13-3.2.el7.x86_64 is filtered out by modular filtering
  - package containerd.io-1.2.2-3.3.el7.x86_64 is filtered out by modular filtering
  - package containerd.io-1.2.2-3.el7.x86_64 is filtered out by modular filtering
  - package containerd.io-1.2.4-3.1.el7.x86_64 is filtered out by modular filtering
  - package containerd.io-1.2.5-3.1.el7.x86_64 is filtered out by modular filtering
  - package containerd.io-1.2.6-3.3.el7.x86_64 is filtered out by modular filtering
  - package containerd.io-1.3.7-3.1.el7.x86_64 is filtered out by modular filtering

Is there any specific reason, containerd is not installed via dnf/yum?

Issue Type

  • Bug Report

OS / Environment

  • CentOS Linux 8 (Core)
  • Kernel: 4.18.0-193.28.1.el8_2.x86_64

Steps to reproduce

# playbook.yml
---
- hosts: all
  roles:
    - role: atosatto.docker-swarm

ansible-playbook ./playbook.yml

Expected result Installation of docker swarm succeeds.

Actual Result Installation fails while installing containerd.

fgierlinger avatar Nov 20 '20 19:11 fgierlinger