os-net-config should check for duplicate IPs

Bug #1836942 reported by Dan Sneddon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
os-net-config
Triaged
Medium
Dan Sneddon

Bug Description

When os-net-config configures static IPs for a host, it does not check to see if that IP is in use on the network. This causes failures which are difficult to diagnose in a TripleO deployment. To prevent these mystery failures, os-net-config should check to see if the IP is in use on the network before configuring the IP on the host.

This can be done with the 'arping' utility:

arping -D -I <interface-name> -c 2 <IP-ADDRESS-TO-CHECK>

The arping utility can be run on an interface even before an IP has been configured on that interface, so we can check to ensure that the desired IP is free.

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.