Instance getting two IP addresses

asked 2015-11-27 08:17:13 -0600

gdupont gravatar image

I'm loading a stack in HEAT and get a rather strange issue: some of my instances randomly get a double IPs on the network. I made a screenshot of the network topology but can't upload yet (not enough karma).

Simply, there is 2 IPs associated by the DHCP. It doesn't happen all the time and it's not linked to a particular network, instance, nor HOT template... The instance itself doesn't get 2 network interfaces and only one is correctly configured with an IP. So everything works normally except that I'm using too much IP in my DHCP pool.

Anyone having seen this behavior? Any way to fix this?

Some context:

  • OpenStack kilo
  • deployed with packstack with neutron
  • happened on 2 different OpenStack instances with different hardware.
edit retag flag offensive close merge delete


I use Mitaka and I'm still facing this issue sometimes. I don't have a clue how to fix it yet, anyone else?

eblock gravatar imageeblock ( 2016-07-28 05:26:39 -0600 )edit

just found the same question (here)

eblock gravatar imageeblock ( 2016-07-28 05:37:19 -0600 )edit

3 answers

Sort by ยป oldest newest most voted

answered 2017-06-08 22:25:22 -0600

Yaguang gravatar image

You have to remove retry filter from scheduler filters, when the first schedule fails, it may try to reschedule which cause allocate fixed ip twice.

edit flag offensive delete link more

answered 2017-07-19 05:05:13 -0600

TijoV gravatar image

we have tried above answer and it fixed our instance getting 2 IP address on Openstack Ocata. Thanks Yaguang.

edit flag offensive delete link more



Please can you tell the exact configuration file to change so as to solve this problem?

infinitydon gravatar imageinfinitydon ( 2017-09-22 08:51:33 -0600 )edit

answered 2017-09-06 06:52:45 -0600

hcotuk gravatar image

Yaguang's advice fixed the problem for us. Thanks

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2015-11-27 08:15:19 -0600

Seen: 2,335 times

Last updated: Jul 19 '17