[Openstack] Disable distributed loadbalancers (LBaaSv2)?

Turbo Fredriksson turbo at bayour.com
Mon Sep 25 21:34:33 UTC 2017


On 21 Sep 2017, at 04:45, Kevin Benton <kevin at benton.pub> wrote:

> If you wanted to do it purely with an SQL hack you might be able to set distributed to False in the router_extra_attributes table. Additionally you would need to delete any entries from the routerports table with the type 'network:router_centralized_snat' and update any with the type 'network:router_interface_distributed' to 'network:router_interface’.

Thanx! That seems to have done the trick. I think:

bladeA01:~# neutron router-list
+--------------------------------------+----------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+-------+
| id                                   | name           | external_gateway_info                                                                                                                                                                | distributed | ha    |
+--------------------------------------+----------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+-------+
| d9c39638-51b5-481a-a60d-df79b6a06f9d | infrastructure | {"network_id": "b74570c9-f40f-4c64-9e4c-9bf0c9978d2e", "enable_snat": true, "external_fixed_ips": [{"subnet_id": "7bc73f7a-f07e-4ad7-bcd8-1fd77f46c888", "ip_address": "10.0.5.1"}]} | False       | False |
| dac1e4f4-dd02-4f97-bc77-952906e8daa7 | tenant         | {"network_id": "b74570c9-f40f-4c64-9e4c-9bf0c9978d2e", "enable_snat": true, "external_fixed_ips": [{"subnet_id": "ab4da704-0ed2-4e54-89e4-afc98b8bb631", "ip_address": "10.0.6.1"}]} | False       | False |
+--------------------------------------+----------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------+———+

The “external_gateway_info” still say “enable_snat=true” on both of them…
Is that correct?

But at least both “distributed” and “ha” is “False” now, so there’s a lot
of progress! :). Million thanx.


All my compute nodes are still down, haven’t dared start them up yet.
Any way I can know for sure that this actually worked, without spinning
up everything?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20170925/2b2b12bc/attachment.sig>


More information about the Openstack mailing list