在Redhat Linux 7.8上安装OKD 3.11:OverflowError:无法将浮点无穷大转换为整数set_fact

时间:2020-04-24 17:55:21

标签: python ansible openshift okd

这是GitHub下载存储库中的安装步骤:

sudo ansible-playbook -i inventory/hosts.localhost playbooks/prerequisites.yml

sudo ansible-playbook -i inventory/hosts.localhost playbooks/deploy_cluster.yml

先决条件运行似乎成功。 安装运行失败,并显示以下消息:

TASK [openshift_control_plane : set_fact] *************************************************************************************************************************
Friday 24 April 2020  12:13:50 -0400 (0:00:00.433)       0:05:41.030 **********
An exception occurred during task execution. To see the full traceback, use -vvv. 
The error was: OverflowError: cannot convert float infinity to integer

fatal: [localhost]: FAILED! => {"msg": "Unexpected failure during module execution.", "stdout": ""}

NO MORE HOSTS LEFT ************************************************************************************************************************************************

PLAY RECAP ********************************************************************************************************************************************************
localhost                  : ok=285  changed=135  unreachable=0    failed=1    skipped=226  rescued=0    ignored=0


INSTALLER STATUS **************************************************************************************************************************************************
Initialization              : Complete (0:00:10)
Health Check                : Complete (0:00:11)
Node Bootstrap Preparation  : Complete (0:03:51)
etcd Install                : Complete (0:00:30)
Master Install              : In Progress (0:00:57)
        This phase can be restarted by running: playbooks/openshift-master/config.yml
Friday 24 April 2020  12:13:50 -0400 (0:00:00.072)       0:05:41.103 **********

Failure summary:

  1. Hosts:    localhost
     Play:     Configure masters
     Task:     openshift_control_plane : set_fact
     Message:  Unexpected failure during module execution.

似乎未设置内部变量(set_fact)或将其设置为无穷大。 我一直在寻找配置文件,试图找到将其重置的位置,到目前为止没有运气。

有想法吗?

谢谢, 迈克

0 个答案:

没有答案