How to make changes permanent in Qrouter or Qbaas ?

asked 2017-05-23 06:56:54 -0500

PeterX gravatar image

updated 2017-05-23 10:35:20 -0500

I am using OpenStack Killo & Newton, I have done some changes in qrouter and qlbaas and usually if I restart the neutron services those additional changes will wipe off. So wanted to save those changes in permanent. Can anyone please give me some pointer here ?

In case of qrouter I tried neutron router-update command but that allows me to save only 1 entry. But in LBAAS even that option is also not available :(

edit retag flag offensive close merge delete

Comments

If you talk about the network namespaces, they are rebuilt from database contents after restarting. What changes do you want to make persistent? What ip and router-update commands did you issue?

Bernd Bausch gravatar imageBernd Bausch ( 2017-05-23 17:23:21 -0500 )edit

In Lbaas v2 by default it takes the 1st IP of the VIP network as it's gateway but in my case 1st IP is not the gateway, which I had to change manually using route command and those changes I want make persistent.

In case of route also I added multiple routes, like default gateway etc

PeterX gravatar imagePeterX ( 2017-05-24 03:47:16 -0500 )edit

To add custom routes to the router:

openstack router set --route destination=<subnet>,gateway=<ip-address>.

To change the gateway address:

openstack router set --fixed-ip subnet=<subnet>,ip-address=<ip-address>.

I guess I don't understand enough about LBaaS - where does it have a gateway?

Bernd Bausch gravatar imageBernd Bausch ( 2017-05-24 05:43:08 -0500 )edit