|
|
楼主 |
发表于 2023-9-18 16:44:52
|
显示全部楼层
在数据库里清理(nova库)+ Q( i: I' y4 n) U
[root@nova-node1 ~]# mysql -p
# _: F. W" h8 h, B9 ~Enter password:
. A1 v" C3 [9 f! a. ]Welcome to the MariaDB monitor. Commands end with ; or g.8 s b% D! d: B3 t$ K# r5 j% n
Your MariaDB connection id is 230863+ V3 ] e: P! V7 F1 w: b
Server version: 5.5.50-MariaDB MariaDB Server' x/ N, R1 o4 W- g7 G- \
2 z% ^5 @8 j3 B2 d+ TCopyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.0 |! W. o% Q Q C) s( I
5 z& D1 h& A+ D( z7 g/ y5 ^
Type 'help;' or 'h' for help. Type 'c' to clear the current input statement.
, k4 W* n8 Z5 z1 X. C3 O9 y& x) Z# {1 L# W# s3 y8 I
MariaDB [(none)]> use nova;# i" Y2 C& z5 k% i, X
Database changed
# T L1 G! S0 V; p6 Y& lMariaDB [nova]> delete from nova.services where host="nova-node2.openstack";' d) @; l2 D9 ^! e1 C: L1 F0 o
Query OK, 1 row affected (0.00 sec)
, \$ H& R4 ~4 h% P/ fMariaDB [nova]> delete from compute_nodes where hypervisor_hostname="nova-node2.openstack";6 T6 V( M- j) j9 D# f: ~: ]) F
Query OK, 1 row affected (0.00 sec) |
|