|
|
楼主 |
发表于 2023-9-18 16:44:52
|
显示全部楼层
在数据库里清理(nova库)1 _( {' y6 t% X* x
[root@nova-node1 ~]# mysql -p
# |3 B. T9 p1 I! z# CEnter password:
3 r# r6 h! Q1 A/ R" _! M2 ~Welcome to the MariaDB monitor. Commands end with ; or g.8 ~ K# w- D5 Z0 p
Your MariaDB connection id is 230863
* X9 o: y; Z+ ]9 G) H, @8 IServer version: 5.5.50-MariaDB MariaDB Server5 q- p6 c- J" l0 e
2 j! _% L, N! ~ {# ?Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
1 ]) `% b! {3 R5 D9 M2 R! P2 \ y7 a; P" T! s
Type 'help;' or 'h' for help. Type 'c' to clear the current input statement.
: z0 E6 U3 V+ O) o0 a- t$ G8 V- B8 {& O' E
MariaDB [(none)]> use nova;4 f% B; c0 f# W4 C
Database changed8 L# O- ]) O+ ^0 o& I
MariaDB [nova]> delete from nova.services where host="nova-node2.openstack";
. }1 Q2 j) E3 x( y1 RQuery OK, 1 row affected (0.00 sec)8 d+ C3 H2 I0 |' q K
MariaDB [nova]> delete from compute_nodes where hypervisor_hostname="nova-node2.openstack";
, p! V) N7 p) [- b r, a% ^Query OK, 1 row affected (0.00 sec) |
|