zaki-lknr / initialize-kubeadm-ansible

kubeadmでk8sクラスタデプロイするAnsible Playbook
9 stars 0 forks source link

RHEL8対応 #18

Open zaki-lknr opened 4 years ago

zaki-lknr commented 4 years ago

Ansibleもくもく会環境で…

zaki-lknr commented 4 years ago
fatal: [node1]: FAILED! => changed=false 
  failures: []
  msg: |-
    Depsolve Error occured:
     Problem: package docker-ce-3:19.03.8-3.el7.x86_64 requires containerd.io >= 1.2.2-3, but none of the providers can be installed
      - cannot install the best candidate for the job
      - 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.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
  rc: 1
  results: []
zaki-lknr commented 4 years ago

yumじゃなくてパッケージの依存関係がおかしい?

[student44@node1 ~]$ sudo yum install docker-ce-3:18.09.8-3.el7
Last metadata expiration check: 0:42:22 ago on Tue 12 May 2020 11:26:23 AM UTC.
Error: 
 Problem: package docker-ce-3:18.09.8-3.el7.x86_64 requires containerd.io >= 1.2.2-3, but none of the providers can be installed
  - conflicting requests
  - 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.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
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[student44@node1 ~]$ 
Rtoax commented 2 years ago

SO, how to fix it