Error log from ironicclient about duplicate MAC confuses people

Bug #1464184 reported by Dmitry Tantsur
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic Inspector
Fix Released
Medium
Dmitry Tantsur

Bug Description

People see the following message in log:

 ERROR:ironicclient.common.http:Error contacting Ironic server: A port with MAC address 00:5f:08:71:32:13 already exists. (HTTP 409). Attempt 6 of 6

which make them think something is wrong. But it's not, we just don't have a race-free way to check whether MAC already exists, so we just try adding it.

However, we can try racy version before, assuming that user won't delete MAC in the middle (we anyway can't protect against it).

Dmitry Tantsur (divius)
Changed in ironic-inspector:
status: Triaged → In Progress
assignee: nobody → Dmitry Tantsur (divius)
Dmitry Tantsur (divius)
Changed in ironic-inspector:
status: In Progress → Fix Committed
Dmitry Tantsur (divius)
Changed in ironic-inspector:
status: Fix Committed → Fix Released
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.