Actions
Bug #11217
openUnable to re-discover same host with different interface names
Status:
New
Priority:
Normal
Assignee:
-
Category:
Discovery plugin
Description
1. Create a host with primary interface eth0 and secondary eth1
2. Discover
3. Shutoff the host, create another one and keep the same primary eth0 (keep the MAC address) but change the eth1 MAC address
4. Discover again
2015-07-27T10:58:45 [app] [D] Body: {"message":"Validation failed: Interfaces some interfaces are invalid"} 2015-07-27T10:58:45 [app] [I] Completed 422 Unprocessable Entity in 81388.2ms (Views: 0.4ms | ActiveRecord: 13.4ms)
More info:
There are errors reported for each interface, we shoudl display them as well: self.interfaces.collect(&:errors)
Actions