Reviewed: https://review.opendev.org/677166 Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=4afba466e04fb74c8915f9f1b40686008b2503fb Submitter: Zuul Branch: master
commit 4afba466e04fb74c8915f9f1b40686008b2503fb Author: zhanghao <[email protected]> Date: Sun Nov 17 20:17:35 2019 -0500 Make network support read and write separation When 'slave_connection' is configured in neutron.conf, executing the 'neutron port-show' command will read the port information from the slave database nodes, but the network will not be able to read the information from the slave database nodes. Change-Id: I572cecace1016740584757e5f926d246ead2d9a0 Closes-Bug: #1840638 ** Changed in: neutron Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1840638 Title: network/subnet resources cannot be read and written separated Status in neutron: Fix Released Bug description: openstack environment: 1 controller 1 compute(install mariadb) neutron.conf [database] connection = mysql+pymysql://neutron:***@controller/neutron slave_connection = mysql+pymysql://neutron: ***@compute/neutron create network(name=net10)、subnet(name=subnet10)、port(name=port01) in controller node. sync controller node database to compute node. update network.name=test_net10、subnet.name=test_subnet10、port.name=test_port01 in compute node database. neutron port-show PORT_ID name:test_port01 neutron net-show NET_ID name:net10 neutron subnet-show SUBNET_ID name:subnet10 When slave_connection is configured in neutron.conf, executing the 'neutron port-show' command will read the port information from the slave database nodes, but the network/subnet will not be able to read the information from the slave database nodes. To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1840638/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

