|
|
楼主 |
发表于 2023-9-18 16:44:52
|
显示全部楼层
在数据库里清理(nova库)! a9 a! q& h7 o+ p1 a6 w2 x# S
[root@nova-node1 ~]# mysql -p9 ] W B- s" I
Enter password:
( \( O6 | L% J) G6 W1 l0 b0 CWelcome to the MariaDB monitor. Commands end with ; or g.9 B) a, [' K- @
Your MariaDB connection id is 2308632 f, }: D/ L1 I% }' l& [
Server version: 5.5.50-MariaDB MariaDB Server
7 v2 S% N% @$ p& F: l" V- X B
B( y: T; G5 j1 t/ @4 L- [Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
. C, m5 c/ A& J m) C( s- I
3 z$ k, C+ K5 ^ S/ ?( m# RType 'help;' or 'h' for help. Type 'c' to clear the current input statement.
- {. p* z h; [! {6 m4 ?+ @2 n
MariaDB [(none)]> use nova;( E# J b5 O: F
Database changed$ p( _8 J) k) [4 P
MariaDB [nova]> delete from nova.services where host="nova-node2.openstack";% ]% q4 s/ S3 P y
Query OK, 1 row affected (0.00 sec). H" U6 _, u* d7 _! U
MariaDB [nova]> delete from compute_nodes where hypervisor_hostname="nova-node2.openstack";
0 Y# B# J1 Q# d/ FQuery OK, 1 row affected (0.00 sec) |
|