Project

General

Profile

Bug #2367

nodeId same as IP address in aggregated log records

Added by Dave Vieglais almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Metacat
Start date:
2012-02-22
Due date:
% Done:

100%

Milestone:
CCI-1.0.0
Product Version:
*
Story Points:
Sprint:

Description

these records were coming from the metacat running on the cn

https://cn-dev.dataone.org/knb/d1/mn/v1/log

SOLR query response contains the same value for nodeId and ipAddress (the latter appears correct).

Perhaps the value is not being set correctly during index generation?

e.g.:

https://cn-dev.dataone.org/solr/d1-cn-log/select?q=pid:BAYXXX_015ADCP015R00_20051215.50.9

History

#1 Updated by Rob Nahf almost 13 years ago

Current status:
a) the ip address seems resolves to Roger's client? machine (an nm.comcast.net machine)
b) cn-dev identifies gmn-dev as 'urn:node:mnDevGMN'
c) gmn-dev identifies itself as 'r2d2'

in gmn-dev logs, the nodeIdentifier element has the value 'gmn-dev', which matches the name element in gmn-dev's node document.

the following returns the logs from gmn-dev with a from date later than lastModifiedDate on the object in question.

https://gmn-dev.test.dataone.org/mn/v1/log?fromDate=2012-02-20T21:18:46.000000
(for me it lists latest at the top, so near the bottom of the list, see entryID 79238, although all log entries use this same value for nodeIdentifier)

part of the answer is to update gmn-dev to it's current official identifier (urn:node:mnDevGMN) and make sure that value is used in log entries, instead of the node.name element.

#2 Updated by Robert Waltz almost 13 years ago

  • Category changed from d1_log_aggregation to Metacat

#3 Updated by Robert Waltz almost 13 years ago

  • Assignee changed from Robert Waltz to Chris Jones

#4 Updated by Chris Jones almost 13 years ago

  • Status changed from New to Closed

D1NodeService.getLogRecords() was setting the nideId to the IP address. Fixed.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)