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)
Updated by Yama Kasi over 9 years ago
I see the following happening on new hosts:
- Create a host
- Give it classes and paramaters,
- Check YAML, all classes and paramaters are in
- Install server
- Check YAML again, all parameters are gone
- Check host, all classes and parameters are there.
I don't see it on my working ones.
Updated by Lukas Zapletal over 8 years ago
- Related to Refactor #13848: Refactor Discovery STI to Facets added
Actions