Single Instance OpenStack IP Network Configuration

不想你离开。 提交于 2021-02-08 12:05:21

问题


Am curious about how OpenStack handles IP configuration, i have a complete working openstack dashboard with a static IP of 192.168.1.73/24 and i want to change it to something else. Running as a VM using RHEL\Scientific Linux\Centos 7.5 as the Guest Host.

Am running openstack-queens (repo) -- /etc/yum.repos.d

What i've tried and failed...

1.Changing static IP in /etc/sysconfig/network-scripts/ifcfg-eth0

2.Made sure in /etc/resolv.conf reflects my new configuration.

2.Replacing IP configuration in packstack-answerfile for the compute node and the rest of the services i've configured.

What i have noted!!!

1.systemctl status -l redis.service --- fails when i change the IP configuration, this is active (running) with its initial configuration.

2.Virtualization daemon also fails during boot--(running as KVM)

How "deep" does Networking go for OpenStack and how do i achieve my goals of setting a different IP and still have my dashboard up and running?


回答1:


This was Easy. What I missed to do is to only re-run my packstack answerfile.

First, change the IP address on the machine in /etc/sysconfig/network-scripts/ifcfg-br-ex thats if you already gone ahead in setting up networking for your OpenStack Env.

If you have done a backup of your ifcfg-eth0, revert to it and change to new IP configuration.

Second, Replace new IP configuration in packstack-answerfile for the compute node and the rest of the services configured.

Last But not Least: Requires Steady Internet Connection!!!

Last Step is to re-run your packstack-answerfile with the new IP configuration.



来源:https://stackoverflow.com/questions/54733186/single-instance-openstack-ip-network-configuration

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!