Bug #4887

[API] Make sure the local dns records for old compute nodes are updated if there's a conflict with a new compute node

Added by Ward Vandewege over 6 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Start date:
12/30/2014
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Story points:
0.5

Subtasks

Task #4890: review 4887-invalidate-duplicate-ip-on-old-compute-nodesResolvedWard Vandewege


Related issues

Related to Arvados - Bug #4891: [Node Manager] Should not associate node with incorrect arvados node objectClosed

Associated revisions

Revision 5aa470ef (diff)
Added by Ward Vandewege over 6 years ago

Cleanups:

  • Remove old commented out code
  • Remove superfluous test for presence of file on disk

refs #4887

Revision b06785a7 (diff)
Added by Ward Vandewege over 6 years ago

Detect stale compute node records with the same IP address as the new
node on its first ping. Clear the ip_address field on the stale nodes.

Refs #4887

Revision a1d0dc23 (diff)
Added by Ward Vandewege over 6 years ago

Address review comments:

  • change stale_conflicting_nodes to a local variable
  • minor performance optimization: add an additional check for ip_address being nil

refs #4887

Revision 49b58cc4
Added by Ward Vandewege over 6 years ago

Merge branch '4887-invalidate-duplicate-ip-on-old-compute-nodes'

closes #4887

History

#1 Updated by Ward Vandewege over 6 years ago

  • Assigned To set to Ward Vandewege

#2 Updated by Ward Vandewege over 6 years ago

  • Status changed from New to In Progress

#3 Updated by Ward Vandewege over 6 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Applied in changeset arvados|commit:49b58cc43218106f1633c389598894d59447a26b.

Also available in: Atom PDF