Ask Your Question
0

Instance getting two IP addresses

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

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

Comments

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 -0500 )edit

just found the same question https://ask.openstack.org/en/question/93524/why-would-dhcp-intermittently-assign-2-ip-addresses/ (here)

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

3 answers

Sort by » oldest newest most voted
4

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

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
0

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

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

Comments

Hi,

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 -0500 )edit
0

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

hcotuk gravatar image

Yaguang's advice fixed the problem for us. Thanks

edit flag offensive delete link more

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

2 followers

Stats

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

Seen: 2,017 times

Last updated: Jul 19 '17