Project

General

Profile

Task #8124

MNDeployment #3186: USA-NPN (USA National Phenology Network)

NPN MN deprecation activities

Added by Laura Moyers almost 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
2018-06-18
Due date:
% Done:

100%

Story Points:
Sprint:

Description

NPN (urn:node:USANPN) has decided to close their DataONE MN. In future they plan to deposit their content at a USGS repository, likely the Science Data Catalog. SDC currently has a DataONE MN (urn:node:USGS_SDC), so any NPN content deposited there will be discoverable by DataONE users. The general plan for the deprecation of the NPN MN is to ensure that all content is replicated at KNB (urn:node:KNB) who has graciously agreed to host/own the content in future and that the authoritative MN is changed from NPN to KNB on all content. When the content is officially hosted at KNB, the NPN MN may be officially shut down.

NPN's content varies from "trying things out" to valid, production content. Most (all?) of the "trying things out" content has been obsoleted by improved/corrected content. There was a successful replication policy in place for the content, some of which is already replicated at KNB. As of 7/7/17, there are seven data packages discoverable in production DataONE (https://search.dataone.org/index.html#profile/USANPN).

There are 38 NPN objects to be managed. Mark and Roger have done a thorough analysis of the content to determine each object's current disposition and what action(s) must be taken. Mark's analysis follows with a link to detailed, by-object information:


There are a total of 38 objects from USANPN that exist as replicated objects on the CN or on other MNs. Of these 38 objects, 19 are science metadata objects, 13 are data objects, and 6 are OREs.

The desired outcome is to have all 38 objects replicated to KNB and have the "authoritative MN" attribute in the object's system metadata be set to "urn:node:KNB". Sixteen of the 38 objects have already been replicated on KNB through the normal DataONE replication process.

The proposed approach to replicate the remaining 22 objects is to manually create the objects on the KNB member node and, once all 38 objects are replicated to KNB, set their "authoritative MN" attribute to KNB accordingly. Object creation for objects not currently replicated on KNB should use the corresponding file system object in the NPN source directory. In addition, all replica metadata in the system metadata for each object should be updated to indicate that the now defunct "urn:node:USANPN" member node does not contain a viable replica.

Of the 38 objects, two science metadata objects have incorrect size/checksum values, which must be corrected by manually by modifying system metadata in both the KNB (for doi:10.5066/F7028PJS.1) and CN (for doi:10.5066/F7028PJS.1 and 10.5066/F7833Q2V.0) databases; any replicas should be marked for deletion from the non-KNB/CN replication target member node and then re-replicated to meet replication policy criteria.

Object creation on KNB may have to be time-ordered based on existing obsolescence. One of either Jing Tao, Bryce Mecum, Chris Jones, or Matt Jones is recommended to perform object creation and Metacat database modifications on KNB.

One of either Jing Tao, Rob Nahf, or Dave Vieglais is recommended to perform the Metacat database modifications on the CN. Please see the following Google Speadsheet for detailed information about individual objects: https://docs.google.com/spreadsheets/d/1a5oRV6_OVc6O0g2HWfzQK7bWqLpPmsVC_4XvQpBI3Zo/edit?usp=sharing.


For the two objects with size/checksum mis-matches, we originally thought we might be able to manually modify the size/checksum on either KNB or the CNs, but size and checksum are immutable. We need to examine other options for managing this content.

The suggested order of operations is (at present):
- deal with the mis-matched objects
- add objects not currently on KNB to the KNB repository/MN
- for all objects, change the authoritativeMN from NPN to KNB
- for all "replicas", indicate that NPN is no longer viable (i.e. the "replica" hosted there is no longer available)

When all NPN objects have been transferred to KNB, notify Lee Marsh at NPN, and "turn off" the NPN MN in production.


Subtasks

Task #8620: NPN: move to contributing repositoryClosedDave Vieglais

History

#1 Updated by Amy Forrester over 6 years ago

epad Notes Consolidation

11/12/17: Process to replicate to EDI is now in progress; completing testing of GMN 2.4.0 in EDI prior to completion of deprecation

11/20: Preparation for replication to EDI now in process.

11/27: Process to replicate to EDI is now in progress; completing testing of GMN 2.4.0 in EDI prior to completion of deprecation
* Need future meeting to discuss use cases of MN status and how to display them on Member Node dashboard - Dave will set up this call

12/18: Testing for content replication in other MNs

#2 Updated by Mark Servilla about 6 years ago

It was suggested that existing USANPN content may perhaps already be replicated on another MN as duplicate content, but under the guise of a different identifier. If this were the case, then there should be multiple records in the CN Metacat systemmetadata table with identical checksum values, but with different identifiers and origin member nodes (assuming the same checksum algorithm was used; USANPN was not consistent with checksum algorithms and utilized both MD5 and SHA-1).

Each checksum was queried in the Metacat systemmetadata table to determine if any object duplication occurred. There were no multi-node duplicates, but 3 objects from USANPN were duplicates of themselves and identified with different identifiers:

1. USA_NPN.3.1 == USANPN_SPECIES_LIST1.1
2. USA_NPN.6.1 == USANPN_PHENOPHASE_L1ST.1
3. USANPN_2012.0.0 == USANPN_2013.0.0

#3 Updated by Mark Servilla about 6 years ago

31 of 38 have been successfully replicated to urn:node:EDI, along with resetting the authoritative MN to urn:node:EDI. The following objects would not allow a replica to be acknowledged in the CN context:

  • USA_NPN.3.1
  • USA_NPN.5.3
  • USA_NPN.6.1

In addition, there is still the issue of incorrect checksums and their related sibling objects to be addressed for the following:

  • 10.5066/F7028PJS.0
  • doi:10.5066/F7028PJS.1 (checksum error)
  • doi:10.5066/F7028PJS.2
  • 10.5066/F7833Q2V.0 (checksum error)

#4 Updated by Mark Servilla about 6 years ago

New attempt to set replica for USA_NPN.3.1 fails with exception:

[ INFO] 2018-04-16 12:01:18,131 [ProcessDaemonTask2]  (SyncObjectTask:executeTransferObjectTask:293) Task-urn:node:EDI-USA_NPN.3.1 received
[ INFO] 2018-04-16 12:01:18,132 [ProcessDaemonTask2]  (SyncObjectTask:executeTransferObjectTask:310) Task-urn:node:EDI-USA_NPN.3.1 submitted for execution
[ INFO] 2018-04-16 12:01:18,132 [SynchronizeTask18242]  (V2TransferObjectTask:call:202) Task-urn:node:EDI-USA_NPN.3.1 -  Locking task, attempt 1
[ INFO] 2018-04-16 12:01:18,178 [SynchronizeTask18242]  (V2TransferObjectTask:call:207) Task-urn:node:EDI-USA_NPN.3.1 -  Processing SyncObject
[ INFO] 2018-04-16 12:01:18,396 [SynchronizeTask18242]  (V2TransferObjectTask:retrieveMNSystemMetadata:317) Task-urn:node:EDI-USA_NPN.3.1 -  Retrieved SystemMetadata Identifier:USA_NPN.3.1 from node urn:node:EDI for ObjectInfo Identifier USA_NPN.3.1
[ INFO] 2018-04-16 12:01:19,817 [SynchronizeTask18242]  (V2TransferObjectTask:createObject:730) Task-urn:node:EDI-USA_NPN.3.1 - Start CreateObject
[ INFO] 2018-04-16 12:01:21,133 [SynchronizeTask18242]  (V2TransferObjectTask:call:234) Task-urn:node:EDI-USA_NPN.3.1 -  Unlocked Pid.
[ERROR] 2018-04-16 12:01:21,133 [SynchronizeTask18242]  (V2TransferObjectTask:call:269) Task-urn:node:EDI-USA_NPN.3.1 - UnrecoverableException: USA_NPN.3.1 cn.createObject failed: The identifier is already in use by an existing object. - InvalidRequest - The identifier is already in use by an existing object.
[ WARN] 2018-04-16 12:01:21,133 [SynchronizeTask18242]  (SyncFailedTask:submitSynchronizationFailed:116) Task-urn:node:EDI-USA_NPN.3.1 - SynchronizationFailed: detail code: 6001 id:USA_NPN.3.1 nodeId:urn:node:CNUCSB1 description:Synchronization task of [PID::] USA_NPN.3.1 [::PID] failed. Cause: InvalidRequest: The identifier is already in use by an existing object.
[ INFO] 2018-04-16 12:01:21,288 [SynchronizeTask18242]  (V2TransferObjectTask:call:294) Task-urn:node:EDI-USA_NPN.3.1 -  exiting with callState: FAILED
[ INFO] 2018-04-16 12:02:15,324 [SynchronizationQuartzScheduler_Worker-4]  (SyncQueueFacade:<init>:143) org.dataone.cn.batch.synchronization.type.SyncQueueFacade@5404dc3a added 'urn:node:EDI' to its queue round-robin. size: 0
[ INFO] 2018-04-16 12:02:18,267 [ProcessDaemonTask2]  (SyncObjectTask:reapFutures:372) Task-urn:node:EDI-USA_NPN.3.1 SyncObjectState: FAILED

#5 Updated by Amy Forrester almost 6 years ago

  • Assignee changed from Dave Vieglais to Mark Servilla

#6 Updated by Amy Forrester almost 6 years ago

6/4/18: call
• Christopher Jones
• Mark Servilla
• Amy Forrester
• Jeanette Clark

Alyssa Rosemartin reached out to Chris et al. regarding updating their data in KNB. Internal discussion to share info

Chris to address:
* Work needed to clean up replicas on KNB (maybe others)
* communicate to NPN:
1. can still contribute new data to KNB, but KNB will be authoritative MN
2. Data in EDI will be static & EDI is authoritative MN of that data

6/18: *need to follow-up with Chris status + where is the link break re: KNB not updating authoritative MN -- CN issue?

#7 Updated by Amy Forrester over 5 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Closed

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)