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

楼主 |
发表于 2023-9-18 16:44:52
|
显示全部楼层
在数据库里清理(nova库) q0 m0 @5 b8 s4 b
[root@nova-node1 ~]# mysql -p7 Z5 Y8 _% {0 V& q
Enter password:# Q+ L3 Q( T, ^2 D l. x4 R
Welcome to the MariaDB monitor. Commands end with ; or g.
, t0 V, N" Y# w1 dYour MariaDB connection id is 2308639 e: H9 @" ~# X6 N
Server version: 5.5.50-MariaDB MariaDB Server
$ h1 o; t5 Q6 J+ X
$ y7 ^1 ~4 C5 k5 QCopyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others./ z; X' F6 H7 e: c# f5 i
' p# q& ^0 e4 V$ w( V
Type 'help;' or 'h' for help. Type 'c' to clear the current input statement.
$ O/ Q% @2 v' j x, Z
4 ~: R5 X& U- _0 z) LMariaDB [(none)]> use nova;% ^$ F! {' b& H) J7 B) I! O
Database changed
! G$ U2 J* e8 W2 T) }, ^- T) GMariaDB [nova]> delete from nova.services where host="nova-node2.openstack";
) V" ^6 \" I; q- p vQuery OK, 1 row affected (0.00 sec)& B) `) i) l, O) |7 V4 W( S4 A N% c
MariaDB [nova]> delete from compute_nodes where hypervisor_hostname="nova-node2.openstack";9 M b# Y! F7 S A4 ?' d+ {' i; @
Query OK, 1 row affected (0.00 sec) |
|