【问题标题】:How to install openshift-ansible version 3.10 on Centos 8如何在 Centos 8 上安装 openshift-ansible 3.10 版
【发布时间】:2020-07-27 11:30:41
【问题描述】:

谁能告诉我如何在 Centos 8.2.2004 中安装 openshift-ansible ?我在我的 Centos 8 虚拟机中安装了 'centos-release-openshift-origin310' 但是当我运行 'yum install openshift-ansible' 或 'dnf install openshift-ansible',我收到以下错误消息----

[root@openshift1 vars]#
[root@openshift1 vars]#
[root@openshift1 vars]# dnf install openshift-ansible
Last metadata expiration check: 2:03:24 ago on Sun 26 Jul 2020 08:17:56 PM IST.
Error:
 Problem: cannot install the best candidate for the job
  - nothing provides python-six needed by openshift-ansible-3.10.68-1.git.0.f908cf5.el7.noarch
  - nothing provides libselinux-python needed by openshift-ansible-3.10.68-1.git.0.f908cf5.el7.noarch
  - nothing provides python-passlib needed by openshift-ansible-3.10.68-1.git.0.f908cf5.el7.noarch
  - nothing provides python2-crypto needed by openshift-ansible-3.10.68-1.git.0.f908cf5.el7.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root@openshift1 vars]#
[root@openshift1 vars]#

我在安装 'centos-release-openshift-origin311' 时遇到了类似的情况,但它也显示了与 python 相关的错误。因此,我搬到了 'centos-release-openshift-origin310'。这里我有 python3 而不是 python。

Ex - 它显示它需要“python-six”的第一个依赖项,而我的环境中已经存在“python3-six”。

【问题讨论】:

  • 我只是不明白如果人们不想回答,那他们为什么要投票结束这个问题?如果他们对给出回应不感兴趣,那很好。但是我发布了这个问题,因为我需要一个解决方案。如果人们想关闭它,那么他们最好也提供原因。

标签: python-3.x ansible openshift-origin okd


【解决方案1】:

我怀疑你能否做到这一点(即在 Centos8 上运行 OCP 3.11)。作为一个潜在的问题,我可以看到在 RH8/Centos8 中,他们用 nftables 替换了 iptables 的使用......

现在 OKD 4.5 正式发布,安装(和升级)更加容易(没有更多的 ansible playbook,使用 Fedora Core OS..等),也许是时候升级了

OKD 4.5 install doc on bare metal

【讨论】:

    猜你喜欢
    • 2023-03-20
    • 1970-01-01
    • 1970-01-01
    • 2019-09-19
    • 2022-06-23
    • 2021-06-23
    • 1970-01-01
    • 2021-12-11
    • 2023-04-02
    相关资源
    最近更新 更多