[root@controller ~]# mysql -uroot -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 145 Server version: 5.1.73 Source distribution Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> show databases; +--------------------+ | Database | +--------------------+ | information_schema | | cinder | | glance | | heat | | keystone | | mysql | | neutron | | nova | +--------------------+ 8 rows in set (0.00 sec) mysql> use neutron; Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed mysql> show tables; +------------------------------+ | Tables_in_neutron | +------------------------------+ | agents | | alembic_version | | allowedaddresspairs | | arista_provisioned_nets | | arista_provisioned_tenants | | arista_provisioned_vms | | cisco_ml2_credentials | | cisco_ml2_nexusport_bindings | | consistencyhashes | | dnsnameservers | | externalnetworks | | extradhcpopts | | floatingips | | ipallocationpools | | ipallocations | | ipavailabilityranges | | ml2_brocadenetworks | | ml2_brocadeports | | ml2_flat_allocations | | ml2_gre_allocations | | ml2_gre_endpoints | | ml2_network_segments | | ml2_port_bindings | | ml2_vlan_allocations | | ml2_vxlan_allocations | | ml2_vxlan_endpoints | | networkdhcpagentbindings | | networks | | ports | | quotas | | routerl3agentbindings | | routerroutes | | routers | | securitygroupportbindings | | securitygrouprules | | securitygroups | | servicedefinitions | | servicetypes | | subnetroutes | | subnets | +------------------------------+ 40 rows in set (0.00 sec) mysql> select * from ml2_gre_endpoints; +---------------+ | ip_address | +---------------+ | 172.16.10.21 | | 172.16.10.31 | | 192.168.25.12 | +---------------+ 3 rows in set (0.00 sec) mysql> delete from ml2_gre_endpoints where ip_address = '192.168.25.12'; Query OK, 1 row affected (0.03 sec) mysql> select * from ml2_gre_endpoints; +--------------+ | ip_address | +--------------+ | 172.16.10.21 | | 172.16.10.31 | +--------------+ 2 rows in set (0.00 sec) mysql> 网络节点重启openvswitch等服务之后,没有再次出现。 |
marsaber 发表于 2015-1-15 10:04 给力,确实是这样解决了问题,openstack自己的同步有问题,导致即使重启服务也不行,解决了,谢谢! |
langke93 发表于 2015-1-15 10:16 嗯,是的,非常感谢您的回复。 |
marsaber 发表于 2015-1-15 10:04 所以想真正删除,需要使用命令删除后,产生问题,还需要看看数据库 |