- 积分
- 16844
在线时间 小时
最后登录1970-1-1
|

楼主 |
发表于 2023-9-18 16:44:52
|
显示全部楼层
在数据库里清理(nova库)* v+ G6 w# \* C: ~% G* z3 B
[root@nova-node1 ~]# mysql -p
. d% c! }) ?1 e8 u+ m2 ~/ UEnter password:, p# }9 Z* x( q1 R0 |0 y- a$ V5 V: t) z
Welcome to the MariaDB monitor. Commands end with ; or g., P" T& G6 }9 Z% `" k! X
Your MariaDB connection id is 230863
% T9 F6 C8 E8 W0 P- mServer version: 5.5.50-MariaDB MariaDB Server; E0 ?- i* r" g+ Y4 u1 N2 A
/ l0 e5 p* H1 ~, `4 d; Z
Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
9 Z4 s( D8 z. @* u% N
) b: _5 N) [5 u1 YType 'help;' or 'h' for help. Type 'c' to clear the current input statement.
5 C5 `: i; w" o& I% ]+ |7 O
, ]$ Z& E! k; a0 \' TMariaDB [(none)]> use nova;
8 d$ M+ r5 R4 L/ ]- `. IDatabase changed
6 w4 h4 q- p. v3 _ vMariaDB [nova]> delete from nova.services where host="nova-node2.openstack";
F# L5 e" X" H9 j: ^Query OK, 1 row affected (0.00 sec)7 ]) g9 m% I5 _5 a' ?2 j
MariaDB [nova]> delete from compute_nodes where hypervisor_hostname="nova-node2.openstack"; ?0 g8 G, A, b
Query OK, 1 row affected (0.00 sec) |
|