Openstack 部署因命令 openstack undercloud install 而失败

Openstack 部署因命令 openstack undercloud install 而失败

我一直试图安装 openstack Undercloud 但失败了,原因有很多,但最后一个原因是,我附上了日志档案这里。我是初学者,无法在网上找到任何帮助。这是我的 undercloud.conf 文件,如下所示。

[DEFAULT]
local_ip = 192.168.0.105/24
undercloud_public_vip = 192.168.0.110
undercloud_admin_vip = 192.168.0.111
local_interface = enp0s3
masquerade_network = 192.168.0.0/24
dhcp_start = 192.168.0.100
dhcp_end = 192.168.0.150
network_cidr = 192.168.0.0/24
network_gateway = 192.168.0.105
inspection_iprange = 192.168.0.160,192.168.0.199

错误列表

  • 木偶

    错误:

    1. 未找到 libfacter

      解决方案:手动安装puppet服务器傀儡代理puppetlabs-release-pc1-el-7.noarch.rpm

  • 因素

    错误:

    1. 加载共享库时出错:leatherman_curl.so.1.3.0:无法打开共享对象文件:没有此文件或目录
      解决方案:我不得不使用命令降级 leatherman
     $ sudo yum downgrade leatherman
    
  • TASK [同步部署 HostsEntryDeployment 的输出] 或 jq:错误

    错误:

      fatal: [undercloud]: FAILED! => {
        "msg": [
            {
                "stderr": [
                    "/bin/sh: /usr/libexec/os-refresh-config/configure.d/55-heat-config: No such file or directory",
                    "jq: error: Could not open file /var/lib/heat-config/deployed/bfd49af0-49b0-49f9-ae36-b976dfb4058d.notify.json: No such file or directory"
                ]
            },
            {
                "status_code": "2"
            }
        ]
    }
    
    
    

Json 文件是动态生成的,因此问题的根源一定是

/usr/libexec/os-refresh-config/configure.d/55-heat-config: No 
such file or directory

相关内容