标题: openstack pike 启动实例报:Host 'controller' is not mapped to any cell [打印本页] 作者: 郑全 时间: 2017-11-2 11:20 标题: openstack pike 启动实例报:Host 'controller' is not mapped to any cell 错误:实例 "sztech1" 执行所请求操作失败,实例处于错误状态。: 请稍后再试 [错误: Host 'controller' is not mapped to any cell].
原因是没有映射主机,解决办法:
执行以下命令后解决:
# su -s /bin/sh -c "nova-manage cell_v2 discover_hosts --verbose" nova
实际执行结果:
[root@controller ~]# 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': b098f80b-42c6-453c-992d-4a0784877fb4
Found 1 unmapped computes in cell: b098f80b-42c6-453c-992d-4a0784877fb4
Checking host mapping for compute host 'controller': 8f7b9bef-f8fd-4547-9b71-97ec9c5799f3
Creating host mapping for compute host 'controller': 8f7b9bef-f8fd-4547-9b71-97ec9c5799f3