|
|
楼主 |
发表于 2023-9-18 16:44:52
|
显示全部楼层
在数据库里清理(nova库)
0 B( N2 ]" ?' x# w5 W[root@nova-node1 ~]# mysql -p
6 c7 P% z! e5 b& mEnter password:
7 W6 P& o9 S- L3 q9 Q% r& J+ UWelcome to the MariaDB monitor. Commands end with ; or g.
* U$ s0 W+ V; C6 p$ t- b( o8 g) _Your MariaDB connection id is 230863
2 c7 N6 e& Z. T" c( ?) |" `+ ~. RServer version: 5.5.50-MariaDB MariaDB Server
8 ~1 O/ c5 T1 v4 z( [+ n8 X' n# ^. ^2 X. z
Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
4 m- x/ `+ Y# O4 I( Z
! i! I2 p8 n3 `; [8 q8 k+ P6 YType 'help;' or 'h' for help. Type 'c' to clear the current input statement.
6 ?( _: S5 l" m# i+ q: S' E8 f& I w* f/ v7 z [- W) R. ^2 {- z
MariaDB [(none)]> use nova;
- Y+ g, }% f8 i% ODatabase changed# f7 t% ~4 Q$ Y/ A* ^+ {+ A
MariaDB [nova]> delete from nova.services where host="nova-node2.openstack";
- S5 L! U: K4 B/ f- _5 wQuery OK, 1 row affected (0.00 sec)
/ n" {( D8 q B; O7 s! NMariaDB [nova]> delete from compute_nodes where hypervisor_hostname="nova-node2.openstack";; F- B; d8 j, h: ?/ Z
Query OK, 1 row affected (0.00 sec) |
|