1.报错信息:
错误: Host ‘compute1’ is not mapped to any cell]
解决方法:在控制节点上执行nova-manage cell_v2 discover_hosts --verbose
2.报错信息:
错误: Build of instance e2c92441-c02f-49f1-ac40-693763fc532c aborted: Volume 5f7fbb11-9627-4f9c-8f8f-3c55c8c996b0 did not finish being created even after we waited 0 seconds or 1 attempts. And its status is error.].
删除不可用的存储节点后解决
3.报错信息:
查看nova-scheduler.log日志 default default] No compute service record found for host openstack-2
解决方法:查询nova数据库,找到compute_nodes表项,删除host为openstack-2的节点,删除方法delete from compute_nodes where host = “openstack-2”
详见:https://blog.csdn.net/wylfengyujiancheng/article/details/80011212
4.报错信息:
错误: 实例 “test” 执行所请求操作失败,实例处于错误状态。: 请稍后再试 [错误: 未知].
计算节点的 /var/log/nova/nova-compute.log日志报错:ERROR nova.compute.manager [req-924844f4-7856-49a0-a149-1d555a0e1659 baf95b30c7cc486a9ebb7982dc67f2a2 d03155ae4b3c46e29149b69d948f4b22 - default default] Instance failed nraise neutron_client_exc.Unauthorized(message=err_msg)etwork setup after 1 attempt(s): Unauthorized: Unknown auth type: None
解决方法:计算节点nova.conf未配置[neutron]部分的认证
配置:
[neutron]
url = http://controller:9696
auth_url = http://controller:35357
auth_type = password
project_domain_name = default
user_domain_name = default
region_name = RegionOne
project_name = service
username = neutron
password = PASSWORD