[Openstack] Disable distributed loadbalancers (LBaaSv2)?

Kevin Benton kevin at benton.pub
Fri Sep 29 02:20:24 UTC 2017


Not really. Just bring some stuff up. Even if the routers are messed up the
compute instances won't get hurt.

The snat stuff sounds right.

On Sep 25, 2017 2:45 PM, "Turbo Fredriksson" <turbo at bayour.com> wrote:

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?

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack at lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20170928/6056d6cd/attachment.html>


More information about the Openstack mailing list