Project

General

Profile

Bug #11217

Unable to re-discover same host with different interface names

Added by Lukas Zapletal about 3 years ago. Updated about 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Discovery plugin
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

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)


Related issues

Related to Discovery - Refactor #13848: Refactor Discovery STI to FacetsNew2016-02-23

History

#1 Updated by Yama Kasi about 3 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.

#2 Updated by Lukas Zapletal over 2 years ago

Also available in: Atom PDF