Kolla部署OpenStack失败问题(4)

来源:互联网 发布:网络中的信息交流 编辑:程序博客网 时间:2024/06/05 05:49

环境说明

我使用的主机是在某云平台(实际就是OpenStack作为架构的一个云平台)分配的虚拟机,使用kolla部署单节点OpenStack Ocata 使用两个网卡,其中eth0:172.24.10.30。
kolla部署单节点OpenStack Ocata在其他文章里有具体步骤。

问题

执行kolla-ansible deploy -i /home/all-in-one部署OpenStack,报错MODULE FAILURE,具体为TASK [setup] *************************************************************************************************************
fatal: [localhost]: FAILED! => {“changed”: false, “failed”: true, “module_stderr”: “”, “module_stdout”: “”, “msg”: “MODULE FAILURE”, “rc”: 0}
to retry, use: –limit @/usr/share/kolla-ansible/ansible/site.retry
PLAY RECAP ***************************************************************************************************************
localhost : ok=0 changed=0 unreachable=0 failed=1

解决方案

分下报错原因,模块失败,而且一开始就报错了。查看了一下docker容器的状态,发现docker服务已经启动不了。

[root@kolla ~]# docker psCannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?[root@kolla ~]# systemctl restart dockerFailed to restart docker.service: Activation of org.freedesktop.systemd1 timed outSee system logs and 'systemctl status docker.service' for details.[root@kolla ~]# systemctl status docker.serviceFailed to get properties: Connection timed out[root@kolla ~]# systemctl daemon-reloadFailed to execute operation: Connection timed out

最后重启了虚拟机,才能开始部署OpenStack。

原创粉丝点击