|
|
楼主 |
发表于 2023-9-18 16:44:52
|
显示全部楼层
在数据库里清理(nova库)3 M6 j" G4 F. p) n: R. b
[root@nova-node1 ~]# mysql -p9 t) g; g7 E9 F& c
Enter password:
, W: J6 U) h! V# @* |- EWelcome to the MariaDB monitor. Commands end with ; or g.
/ V/ E& Q: U2 jYour MariaDB connection id is 230863
& V2 J M' o$ X% f' }- J; P: `Server version: 5.5.50-MariaDB MariaDB Server6 c4 M* s6 V: n
# N8 S; n* d1 K/ ?: R/ ~Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others. r; `/ r7 T1 \$ h4 O, j/ n
' p3 q$ J% R: [1 V* |" ~
Type 'help;' or 'h' for help. Type 'c' to clear the current input statement." ~: ]; h/ u o
3 d0 V+ z/ @/ n( x2 tMariaDB [(none)]> use nova;
0 T7 ^$ z, j- H5 i. \! \8 D* @9 cDatabase changed9 D4 p8 v" I2 W; j; q
MariaDB [nova]> delete from nova.services where host="nova-node2.openstack";
% c# X( z" y1 W; I! n- TQuery OK, 1 row affected (0.00 sec)
9 F3 ~! J' P0 mMariaDB [nova]> delete from compute_nodes where hypervisor_hostname="nova-node2.openstack";: p. C% ? b& A5 n# @$ [5 ] E, |
Query OK, 1 row affected (0.00 sec) |
|