Ask Your Question
0

changing ip-address of controller and compute nodes

asked 2015-10-13 05:26:23 -0600

Yas51ne gravatar image

updated 2015-10-13 11:52:03 -0600

rbowen gravatar image

I installed openstack Kilo using the Quick Start RDO and i added a compute node to my controller, now i have :

controller : 192.168.10.195
compute node : 192.168.10.196

But i would like to change the ip adresses of my two nodes from a 192.168.10.x to 172.16.5.x without reinstalling all services because i don't want to lose all my data and configurations.

Thanks

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-10-13 16:04:07 -0600

mpetason gravatar image

Your best bet is going to be using the installation guides here:

http://docs.openstack.org/

You'll be doing a bit of grep -r 192.168.10.195 /etc/ and so on to find all of the configuration files that contain the values you have set.

If you do not have a good understanding of OpenStack and need to do this quickly then you are better off redeploying. If you want to use this as a learning experience to figure out how OpenStack works then you should use the guides and find every section where you set the IP address.

There are also going to be values set in your DB based on these, such as which networks you configured and so on based on the network your controller was on.

edit flag offensive delete link more

Comments

thanks. I'll try grep before redeploying.

Yas51ne gravatar imageYas51ne ( 2015-10-16 03:07:46 -0600 )edit
0

answered 2015-10-14 03:16:56 -0600

dbaxps gravatar image

Per @mpetason :-

There are also going to be values set in your DB based on these, such as which networks you configured and so on based on the network your controller was on.

It's too hard to fix. You would better redeploy with needed IPs.

edit flag offensive delete link more

Comments

The problem is that it's a production environement, and i dont want lose all the instance running :(

Yas51ne gravatar imageYas51ne ( 2015-10-14 03:40:27 -0600 )edit

It is a bad luck. I don't know how to fix

dbaxps gravatar imagedbaxps ( 2015-10-14 03:56:09 -0600 )edit

thanks. I'll try grep before redeploying.

Yas51ne gravatar imageYas51ne ( 2015-10-16 03:07:06 -0600 )edit

Please share how did you solved it. I face a same problem, thanks!

Mohamedsaqib gravatar imageMohamedsaqib ( 2018-08-10 06:16:20 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-10-13 05:26:23 -0600

Seen: 2,201 times

Last updated: Oct 14 '15