multiple fixed ips assigned to newly spawned instance

Bug #1649298 reported by victorhe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
New
Undecided
Unassigned
OpenStack-Ansible
Invalid
Undecided
Unassigned

Bug Description

Upon the creation of an instance where the network is attached, there is a possibility that the instance will be assigned 2 or more IPv4 addresses from the address pool of the network. Multiple ports are created along with the assignment of each address but only one of these ports is actually up.

Versions of relevant services:
neutron: 4.1.1
OpenStack-ansible: ansible-playbook 1.9.4
novaclient: 6.0.0
os_client_config: 1.24.0

What is expected:
An instance that is configured with a network is spawned and built with a single IPv4 address assigned to it.

What actually occurs:
An instance is spawned and built with two or more IPv4 addresses assigned to it. If an instance is spawned with 2 or more networks, 2 or more IPv4 addresses from each network are assigned to the instance.

How to recreate it:
Create an instance using the Horizon dashboard or create a server using the CLI.
In both cases, the network device needs to be specified during in the creation command.
It is not guaranteed that the issue will occur on every attempt to create the instance.
It has been noted that the probability of the instance being assigned two or more IPv4 addresses from the same network is higher when the instance is created with two or more networks devices attached.

Revision history for this message
victorhe (victor-estrada) wrote :
Revision history for this message
Jean-Philippe Evrard (jean-philippe-evrard) wrote :

I'm not sure immediately if it's an openstack-ansible bug.

Could you give us the version of openstack-ansible deployed? Is that mitaka?
I guess neutron 4.1.1 means neutronclient 4.1.1 under mitaka?

This should probably be targetted at nova/neutron

Revision history for this message
Jean-Philippe Evrard (jean-philippe-evrard) wrote :

This is an upstream issue. Linking bug to nova.

Changed in openstack-ansible:
status: New → Invalid
Revision history for this message
Major Hayden (rackerhacker) wrote :

I had this issue and it was due to multiple glance nodes using file storage: https://major.io/2016/08/03/openstack-instances-come-online-with-multiple-network-ports-attached/

Revision history for this message
Jean-Philippe Evrard (jean-philippe-evrard) wrote :
Revision history for this message
Michael Gugino (gugino-michael) wrote :
Revision history for this message
victorhe (victor-estrada) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.