按openstack官网安装指南安装nova,一切顺利,无报错出现,但是在验证过程中出现不一致的输出。
安装指南网址:https://docs.openstack.org/nova/pike/install/controller-install-rdo.html
我的输出(与安装指南不一致的地方):
1.将计算节点添加到cell数据库(add the compute node to the cell database)
# su -s /bin/sh -c "nova-manage cell_v2 discover_hosts --verbose" nova
Found 2 cell mappings.
Skipping cell0 since it does not contain hosts.
Getting compute nodes from cell 'cell1': ad5a5985-a719-4567-98d8-8d148aaae4bc
Found 0 unmapped coumputes in cell: ad5a5985-a719-4567-98d8-8d148aaae4bc
正常应该是:Found 1 compute in cell ....
此时察看计算节点的日志:vim /var/log/nova/nova-computer.log
显示:Placement API service is not responding
察看控制节点的日志:vim /var/log/nova/nova-placement-api.log
无错误显示
2. 验证(verify operation)
openstack compute service list
输出为空
3.
$ openstack catalog list
+-----------+-----------+-----------------------------------------+
| Name | Type | Endpoints |
+-----------+-----------+-----------------------------------------+
| keystone | identity | RegionOne |
| | | public: http://controller:5000/v3/ |
| | | RegionOne |
| | | internal: http://controller:5000/v3/ |
| | | RegionOne |
| | | admin: http://controller:35357/v3/ |
| | | |
| glance | image | RegionOne |
| | | admin: http://controller:9292 |
| | | RegionOne |
| | | public: http://controller:9292 |
| | | RegionOne |
| | | internal: http://controller:9292 |
| | | |
| nova | compute | RegionOne |
| | | admin: http://controller:8774/v2.1 |
| | | RegionOne |
| | | internal: http://controller:8774/v2.1 |
| | | RegionOne |
| | | public: http://controller:8774/v2.1 |
| | | |
| placement | placement | RegionOne |
| | | public: http://controller:8778 |
| | | RegionOne |
| | | admin: http://controller:8778 |
| | | RegionOne |
| | | internal: http://controller:8778 |
| | | |
+-----------+-----------+-----------------------------------------+
输出正常
4. nova-status upgrade check
输出不一致
# nova-status upgrade check
+---------------------------+
| Upgrade Check Results |
+---------------------------+
| Check: Cells v2 |
| Result: Success |
| Details: None |
+---------------------------+
| Check: Placement API |
| Result: Success |
| Details: None |
+---------------------------+
| Check: Resource Providers |
| Result: Warning |
| 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. |
+---------------------------+
查看控制节点日志: vim /var/log/nova/nova-placement-api.log
WARNING ... authToken middleware is set with keystone_authtoken.service_token_roles_required set to False. This is backwards compatible but deprecated behaviour. Please set this to True..
哪位大佬知道情指教,已经卡住好久了。。。