找回密码
 注册
查看: 666|回复: 0

Host 'compute01' is not mapped to any cell ,openstack 创建虚机报错

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2022-5-8 21:17:00 | 显示全部楼层 |阅读模式
Host 'compute01' is not mapped to any cell  报错
  X" h' b4 [' D6 B% t4 ?" k7 O2 o* UHost 'compute01' is not mapped to any cell' a( s8 A1 i. D, R& R

. O% L% e3 L- i! f. I% x2 X0 D8 m) Q6 f8 j2 e2 x
原因是:openstack nova节点没有注册到平台上
  F) W, G8 O$ P9 E& c
1 X" v) m( F, m8 e/ q: B解决办法:
, B0 H2 b6 s) Z8 s3 k9 { nova-manage cell_v2 discover_hosts --verbose
+ D6 d3 z0 [+ w# E; P( ?Found 2 cell mappings.' @5 D; N" k% u' a! P2 O" U, {, `3 i
Skipping cell0 since it does not contain hosts.
; m8 V: I) J+ O( A5 T$ XGetting computes from cell 'cell1': dff201f1-c25b-4814-9ead-f50b2d928a4d, w! R$ u; g  R$ S" c# f% H+ K( \
Checking host mapping for compute host 'compute01': ca1ce737-e21b-4737-88c0-cc79663e06a82 D* }% V( O+ ]& m# k9 D
Creating host mapping for compute host 'compute01': ca1ce737-e21b-4737-88c0-cc79663e06a8
- N0 r6 w( u) y9 G% s( ^Found 1 unmapped computes in cell: dff201f1-c25b-4814-9ead-f50b2d928a4d
% @3 i5 d. J; I' }
1 T1 G9 R5 w( U( o3 |* ^* @/ X" }重新创建虚机,成功。
6 C4 N/ e1 Y) J- U4 I& K! B
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 00:09 , Processed in 0.026020 second(s), 23 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表