Project

General

Profile

Actions

Bug #11217

open

Unable to re-discover same host with different interface names

Added by Lukas Zapletal over 9 years ago. Updated over 9 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

Also available in: Atom PDF