碰到哪些Bug可以留言到评论区,我会定期查看BUG并给予反馈
1. 配置keystone时:
su -s /bin/sh -c "keystone-manage db_sync" keystone
2017-11-05 18:04:23.307 7286 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 10 attempts left.
2017-11-05 18:04:33.315 7286 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 9 attempts left.
2017-11-05 18:04:43.322 7286 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 8 attempts left.
2017-11-05 18:04:53.330 7286 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. 7 attempts left.
......
出现该错误,多半是自己的hosts文件没有配置。
2. 当service apache2 restart时出现:
localhost.localdomain for ServerName
(98)Address already in use: make_sock: could not bind to address [::]:5000
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:5000
no listening sockets available, shutting down
Unable to open logs
重启电脑即可,一般是有进程占用了该端口号
3. 当创建的linux系统的hostname名称一样时,会导致控制节点无法识别就算节点的名称,需要修改/etc/hostname和/etc/hosts文件,方法:修改/etc/hosts中127.0.1.1的名称,在其名称后加空格,添加新的名称,删去/etc/hostname的名称,换成127.0.1.1后面添加的新名称。该问题常见与虚拟机构建Openstack,其默认的hostname是一样的。

857

被折叠的 条评论
为什么被折叠?



