difference in geeting ip from horizon and actual vm ip

asked 2020-04-02 11:20:45 -0500

akarki gravatar image

updated 2020-04-02 11:35:58 -0500

Hi, I am currently using my lab dhcp server instead of openstack dhcp network. so dhcp is disabled in my openstack flat network the ip shown in horizon is always diffrent from actual vm ip. Why is this difference happing. is this some issue of metadata service?

Also one more doubt how do i get metadata if i disable: enable_isolated_metadata to false?

PS: setup via kolla-ansible train branch

Any help would be much aprreciated

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2020-04-02 11:44:37 -0500

raj1801 gravatar image

That's usual if your DHCP server is running outside of OpenStack , neutron doesn't know what IP has been allocated to it & henceforth neither nova knows it.

edit flag offensive delete link more

Comments

Any. Way to resolve this.. Also if I set unternal DHCP there are some ver few cases when ip.dont match...how do I resolve those

akarki gravatar imageakarki ( 2020-04-02 13:29:27 -0500 )edit

If you have external DHCP server,best way to create a port with fixed ip from same dhcp range & assign this port during VM creation,in this way it will be in sync.

raj1801 gravatar imageraj1801 ( 2020-04-03 05:34:17 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2020-04-02 11:20:45 -0500

Seen: 39 times

Last updated: Apr 02