-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
missing objects on service disk 5? (was: C2M existence check failed for druid:cm180ts4203) #1177
Comments
here's another similar thing, also on service disk 5, but this came up when doing checksum validation... https://app.honeybadger.io/projects/54415/faults/49685373
the druid wasn't readily available in the error info captured by honeybadger, but the ID for the > cm = CompleteMoab.find('...')
=> #<CompleteMoab:0x...
id: ...,
version: 6,
preserved_object_id: ...,
moab_storage_root_id: 4,
created_at: Sun, 21 Jan 2018 09:00:46 UTC +00:00,
updated_at: Wed, 17 Apr 2019 13:23:35 UTC +00:00,
last_moab_validation: Mon, 12 Nov 2018 20:30:43 UTC +00:00,
last_checksum_validation: Thu, 14 Feb 2019 15:14:23 UTC +00:00,
size: 227050284340,
status: "ok",
last_version_audit: Fri, 15 Feb 2019 10:05:17 UTC +00:00,
last_archive_audit: Wed, 17 Apr 2019 13:23:35 UTC +00:00>
>
> ChecksumValidator.new(cm).validate_checksums
NoMethodError: undefined method `version_pathname' for nil:NilClass
from /opt/app/pres/preservation_catalog/releases/20190701161459/app/services/checksum_validator.rb:151:in `latest_signature_catalog_path'
Caused by NoMethodError: undefined method `signature_catalog' for nil:NilClass
from /opt/app/pres/preservation_catalog/releases/20190701161459/app/services/checksum_validator.rb:156:in `latest_signature_catalog_entries'
>
> exit
$
$ ls /services-disk05/sdr2objects/vx/143/
vh
$ ls /services-disk05/sdr2objects/vx/143/vh/
$ worriesome for both of the same reasons as the prior example (seems like something is missing, status is still ok). as with the other one, this object is in argo: https://argo.stanford.edu/view/druid:vx143vh9242 (and is part of the same collection). FWIW, it seems like the fix for the status thing should be pretty straight-forward: make sure we do some error handling to catch the error that's being raised, and set the status accordingly. probably still want to alert through honeybadger, since this should be a pretty exceptional occurrence, hopefully. and good thing honeybadger alerted us here. |
if these errors were a result of moving the moab, it would seem that the procedure wasn't followed completely, and the old record wasn't cleaned up: https://github.com/sul-dlss/preservation_catalog/wiki/A-Moab-Has-Moved but it also seems like M2C would've caught the unexpected object in its new location, and then errored when trying to insert it into the catalog, because there's a unique constraint on the |
I found cm180ts4203 on disk 16:
and vx143vh9242 on disk 16 also:
and also:
there are 942 occurrences of https://app.honeybadger.io/projects/54415/faults/45795762 ... |
per honeybadger showing 8 recurring errors on a weekly basis, these seem to be the 8 errant druids:
All were on disk05 and are now on disk16 |
yay! sounds like an incomplete manual move, which is better than inexplicably disappearing moabs. |
I have updated the preservation_catalog for the 8 Moabs indicated; I have manually run M2C from the rails console for these 8 objects and all have run cleanly. Since the errors that triggered this ticket have already been marked resolved in Honeybadger, we should see at least the same sort of Honeybadger alerts for failed audits until Issues #1184 and #1185 are addressed. |
looked into this alert: https://app.honeybadger.io/projects/54415/faults/45795762
Errno::ENOENT: No such file or directory @ dir_initialize - /services-disk05/sdr2objects/cm/180/ts/4203/cm180ts4203
i went to manually check up on things via the unix and rails consoles on prod. indeed, the object seems to be missing from preservation:
so two things seem amiss here, both of which seem like a big deal:
CatalogToMoab
audit is running against it and erroring, status remainsok
it does appear to be in DOR, as it shows up in argo: https://argo.stanford.edu/view/druid:cm180ts4203
hopefully i'm mistaken, and it's preserved somewhere? but there was only one
CompleteMoab
for thePreservedObject
for the druid in question, so if it is preserved somewhere, pres cat is currently unaware of the copy.The text was updated successfully, but these errors were encountered: