解决Openstack部署过程openstack catalog list报错: Details: There are no compute resource providers in the Placement |
| service but there are 1 compute nodes in the deployment. |
| This means no compute nodes are reporting into the |
| Placement service and need to be upgraded and/or fixed. |
| See |
| http://docs.openstack.org/developer/nova/placement.html |
| for more details.
如下图:
按openstack官网安装指南安装和配置计算节点,一切顺利,无报错出现,但是在验证过程中出现不一致的输出。
安装指南网址:https://docs.openstack.org/ocata/install-guide-ubuntu/nova-verify.html#
输入nova-status upgrade check命令检查单元格和放置API是否工作成功:
输出(与安装指南不一致的地方):
解决:
经检查发现是计算节点的/etc/nova/nova.conf文件中[placement]部分配置错误的原因,如下图,os_region_name配置重复,注释下面的一个配置后保存
具体情况需自行检查配置是否有误!
修改配置后重启nova-compute服务:
service nova-compute status
之后再次在控制节点验证,输出如下,成功解决