错误显示:
解决办法:
compute2是新加的节点。
在controller控制节点输入:
nova-manage cell_v2 discover_hosts --verbose
结果显示:
[root@controller ~]# nova-manage cell_v2 discover_hosts --verbose
Found 2 cell mappings.
Skipping cell0 since it does not contain hosts.
Getting computes from cell 'cell1': 280f2ba1-3961-4483-a872-0df488379011
Checking host mapping for compute host 'compute2': d39b802d-d0cf-4818-9232-39a851322122
Creating host mapping for compute host 'compute2': d39b802d-d0cf-4818-9232-39a851322122
Found 1 unmapped computes in cell: 280f2ba1-3961-4483-a872-0df488379011
之后重新创建实例就OK了。