The label of unreachable auto-discovered nodes is set to the IP after a rescan.

Description

When adding nodes through auto-discover and the FQDN of the IP associated with the newSuspect is defined on DNS, the FQDN will be used for the node's label.

If the DNS is updated, the node's label is updated after a rescan.

Now, if the node is unreachable by the time Provisiond rescans the node (due to a regular scheduled rescan, or a forceRescan), the node's label is set to the IP of the node, which is not expected.

The FQDN (once it is saved correctly) should not be replaced by an IP. The only valid use case is when the DNS reports a different name.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Benjamin Reed November 10, 2016 at 10:32 AM

Alejandro Galue November 9, 2016 at 3:37 PM

In case it is not obvious, besides not updating the node's label, the ipHostName for each available IP interface should not be touched when the node is unreachable during a rescan.

Fixed

Details

Assignee

Reporter

Components

Affects versions

Priority

PagerDuty

Created November 9, 2016 at 3:33 PM
Updated November 10, 2016 at 4:29 PM
Resolved November 10, 2016 at 11:30 AM