multiple fixed ips assigned to newly spawned instance
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.
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