Problem:
In one of my foreman instances, I cannot edit interfaces anymore when creating hosts. Values for MAC and IP are always populated with the same values from one server I deployed a while ago. It reverts back to these values after I change them.
foreman db only shows the MAC in the nics and puppet_facts tables, witch is correct I guess
When I create a host, only the initially created interface has this issue. A workaround is do delete the interface created by the host creation wizard and create a new one
Where could the values for mac and interface name coming from?
Is the host creation performed on discovered host? Otherwise I can’t see where the values would be taken from. Perhaps some browser cache? Do you see these values if you do Host -> Create or do you start with blank form and old values appear only on submitting the modal window?
I cleared cookies first and still had the issue. It was stored/cached data in Chrome. I can confirm after clearing it my issue is solved. I used empty cache and hard reload described here.
Note, my AdBlocker was on all the time.
In case it makes any diffrence, the data came from one of the machines I provisioned using foreman-discovery.