Project

General

Profile

Actions

Bug #11217

open

Unable to re-discover same host with different interface names

Added by Lukas Zapletal over 8 years ago. Updated over 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Discovery plugin
Difficulty:
Triaged:
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 1 (1 open0 closed)

Related to Discovery - Refactor #13848: Refactor Discovery STI to FacetsNew02/23/2016Actions
Actions #1

Updated by Yama Kasi over 8 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.

Actions #2

Updated by Lukas Zapletal about 8 years ago

Actions

Also available in: Atom PDF