Project

General

Profile

Task #7930

MNDeployment #6485: The Digital Archaeology Record (tDAR)

verify obsoletion in tDAR sandbox

Added by Dave Vieglais over 7 years ago. Updated over 7 years ago.

Status:
In Progress
Priority:
Normal
Assignee:
Target version:
-
Start date:
2016-11-09
Due date:
% Done:

30%

Story Points:
Sprint:

Description

tDAR in sandbox has some old content to be obsoleted. This is a V2 MN and so is using the series identifiers. The obsoleted object and its system metadata is not available on the MN

old obsoleted object: @ doi:10.6067:XCV842960_meta&v=1412634899029 @
new obsoleting object: @ doi:10.6067:XCV842960_meta&v=1478622103227 @
series id: @ 42960_meta @


Related issues

Related to Infrastructure - Bug #7927: Archive operation not permitted for V1 readonly MNs Closed 2016-11-09

History

#1 Updated by Dave Vieglais over 7 years ago

Obsoleted sys meta from CN:

<?xml version="1.0" ?>

1
doi:10.6067:XCV842960_meta&v=1412634899029
http://ns.dataone.org/metadata/schema/onedcx/v1.0
1039
05b879c9b7bae22ae346a1d6430e83f9
adam brin
CN=tdar-svn@lists.asu.edu,O=TDAR,DC=org


public
read



false
2014-10-06T22:34:59.029Z
2014-10-06T22:34:59.029Z
urn:node:mnTestTDAR
urn:node:mnTestTDAR

urn:node:mnTestTDAR
completed
2016-10-14T20:12:48.313Z


urn:node:cnSandbox
completed
2016-10-14T20:12:48.318Z

42960_meta
/ns1:systemMetadata

Obsoleting sys meta from CN:

<?xml version="1.0" ?>

1
doi:10.6067:XCV842960_meta&v=1478622103227
http://ns.dataone.org/metadata/schema/onedcx/v1.0
2187
29e423a61b06319d19f774a1b90f67a3
adam brin
CN=tdar-svn@lists.asu.edu,O=TDAR,DC=org


public
read



doi:10.6067:XCV842960_meta&v=1412634899029
false
2016-11-08T16:21:43.227Z
2016-11-08T16:21:43.227Z
urn:node:mnTestTDAR
urn:node:mnTestTDAR

urn:node:mnTestTDAR
completed
2016-11-08T20:00:08.894Z


urn:node:cnSandbox
completed
2016-11-08T20:00:08.905Z

42960_meta
/ns1:systemMetadata

resolve of series id:

<?xml version="1.0"?>

doi:10.6067:XCV842960_meta&v=1478622103227

urn:node:mnTestTDAR
https://alpha.tdar.org/dataone/
v2
https://alpha.tdar.org/dataone/v2/object/doi:10.6067:XCV842960_meta&amp;v=1478622103227


urn:node:cnSandbox
https://cn-sandbox.test.dataone.org/cn
v1
v2
https://cn-sandbox.test.dataone.org/cn/v2/object/doi:10.6067:XCV842960_meta&amp;v=1478622103227

/ns2:objectLocationList

#2 Updated by Dave Vieglais over 7 years ago

Everything works fine except that the system metadata for the object being obsoleted has a different checksum value from the original.

In this case, XX obsoletes YY.

XX PID = doi:10.6067:XCV84318_meta&v=1480519333224
YY PID = doi:10.6067:XCV84318_meta&v=1284151520556

XX sysmeta on CN:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

1
doi:10.6067:XCV84318_meta&v=1480519333224
http://ns.dataone.org/metadata/schema/onedcx/v1.0
1726
2013d603e7f353279b79adf27172bf75
Shelby Manney
CN=tdar-svn@lists.asu.edu,O=TDAR,DC=org


public
read



doi:10.6067:XCV84318_meta&v=1284151520556
false
2016-11-30T15:22:13.224+00:00
2016-11-30T15:22:13.224+00:00
urn:node:mnTestTDAR
urn:node:mnTestTDAR

urn:node:mnTestTDAR
completed
2016-11-30T20:00:10.717+00:00


urn:node:cnSandbox
completed
2016-11-30T20:00:10.768+00:00

4318_meta
/ns3:systemMetadata

YY sysmeta on CN:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

1
doi:10.6067:XCV84318_meta&v=1284151520556
http://ns.dataone.org/metadata/schema/onedcx/v1.0
1575
b37a891fd0242e034f9b5d3ea8e63788
Shelby Manney
CN=tdar-svn@lists.asu.edu,O=TDAR,DC=org


public
read



false
2010-09-10T20:45:20.556+00:00
2010-09-10T20:45:20.556+00:00
urn:node:mnTestTDAR
urn:node:mnTestTDAR

urn:node:mnTestTDAR
completed
2016-11-04T20:16:42.888+00:00


urn:node:cnSandbox
completed
2016-11-04T20:16:42.892+00:00

4318_meta
/ns3:systemMetadata

YY sysmeta on MN:

<?xml version="1.0" encoding="UTF-8"?>

doi:10.6067:XCV84318_meta&v=1284151520556
http://ns.dataone.org/metadata/schema/onedcx/v1.0
1726
2013d603e7f353279b79adf27172bf75
Shelby Manney
CN=tdar-svn@lists.asu.edu,O=TDAR,DC=org


public
read


doi:10.6067:XCV84318_meta&v=1480519333224
true
2016-11-30T15:22:13.224+00:00
2016-11-30T15:22:13.224+00:00
urn:node:mnTestTDAR
urn:node:mnTestTDAR
4318_meta

#3 Updated by Dave Vieglais over 7 years ago

Calling CN.setObsoletedBy fails.

This is a bug in the CN that needs to be fixed in 2.3.1.

from d1_client import cnclient_2_0

c = cnclient_2_0.CoordinatingNodeClient_2_0("https://cn-sandbox-ucsb-1.test.dataone.org/cn",cert_path="urn_node_cnSandboxUCSB1.pem")

XX = 'doi:10.6067:XCV84318_meta&v=1480519333224'
YY = 'doi:10.6067:XCV84318_meta&v=1284151520556'

r = c.setObsoletedBy(YY, XX, 1)
ServiceFailure: name: ServiceFailure
errorCode: 500
detailCode: 4941
description: Couldn't determine the authoritative member node storage version for the pid doi:10.6067:XCV84318_meta&v=1284151520556

#4 Updated by Dave Vieglais over 7 years ago

  • Related to Bug #7927: Archive operation not permitted for V1 readonly MNs added

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)