-
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
remediate moabs for mg599hw5271 and py880rz2144 (service disk 8) #1398
Comments
questions for all of these remediations: have the moabs in question been replicated? if so, do the archives need to be re-pushed? related useful query: https://github.com/sul-dlss/preservation_catalog/tree/master/db#view-the-zip-parts-for-a-given-druid input> druid = 'ab123cd4567'
input> ZipPart.joins(zipped_moab_version: [{ complete_moab: [:preserved_object] }, :zip_endpoint]).where(preserved_objects: { druid: druid }).pluck(:druid, 'current_version AS highest_version', 'zipped_moab_versions.version AS zip_version', :endpoint_name, :status) |
andrew will try to look into this, and we may also pair on this next week when looking at some other moab remediations. |
The Moab for py880rz2144 has now been remediated, the workflow service now has the correct data for the current version, and a new version representing the current state of the object has been accessioned. [8] pry(main)> Audit::Checksum.validate_druid('py880rz2144')
I, [2020-04-06T18:32:31.090982 #23483] INFO -- : 2020-04-07T01:32:31Z CV validate_druid starting for py880rz2144
D, [2020-04-06T18:32:31.093661 #23483] DEBUG -- : Found 1 complete moabs.
I, [2020-04-06T18:34:17.481107 #23483] INFO -- : validate_checksums(py880rz2144, services-disk08) checksum(s) match
I, [2020-04-06T18:34:17.481243 #23483] INFO -- : validate_checksums(py880rz2144, services-disk08) CompleteMoab status changed from unexpected_version_on_storage to ok
I, [2020-04-06T18:34:17.586397 #23483] INFO -- : [{:moab_checksum_valid=>"checksum(s) match"}, {:cm_status_changed=>"CompleteMoab status changed from unexpected_version_on_storage
to ok"}] for py880rz2144
I, [2020-04-06T18:34:17.586527 #23483] INFO -- : 2020-04-07T01:34:17Z CV validate_druid ended for py880rz2144
=> [#<AuditResults:0x00000000073b2c78
@actual_version=nil,
@check_name="validate_checksums",
@druid="py880rz2144",
@log_msg_prefix="validate_checksums(py880rz2144, services-disk08)",
@moab_storage_root=
#<MoabStorageRoot:0x00000000073b2d90
id: 7,
name: "services-disk08",
created_at: Thu, 18 Jan 2018 18:55:35 UTC +00:00,
updated_at: Thu, 18 Jan 2018 18:55:35 UTC +00:00,
storage_location: "/services-disk08/sdr2objects">,
@result_array=[{:moab_checksum_valid=>"checksum(s) match"}, {:cm_status_changed=>"CompleteMoab status changed from unexpected_version_on_storage to ok"}],
@string_prefix="validate_checksums (actual location: services-disk08; )">] |
The Moab for mg599hw5271 has now been remediated, the workflow service now has the correct data for the current version, and a new version representing the current state of the object has been accessioned. [9] pry(main)> Audit::Checksum.validate_druid('mg599hw5271')
I, [2020-04-06T20:16:22.201246 #8112] INFO -- : 2020-04-07T03:16:22Z CV validate_druid starting for mg599hw5271
D, [2020-04-06T20:16:22.205444 #8112] DEBUG -- : Found 1 complete moabs.
I, [2020-04-06T20:30:03.789367 #8112] INFO -- : validate_checksums(mg599hw5271, services-disk08) checksum(s) match
I, [2020-04-06T20:30:03.789603 #8112] INFO -- : [{:moab_checksum_valid=>"checksum(s) match"}] for mg599hw5271
I, [2020-04-06T20:30:03.789789 #8112] INFO -- : 2020-04-07T03:30:03Z CV validate_druid ended for mg599hw5271
=> [#<AuditResults:0x0000000008be1a88
@actual_version=nil,
@check_name="validate_checksums",
@druid="mg599hw5271",
@log_msg_prefix="validate_checksums(mg599hw5271, services-disk08)",
@moab_storage_root=
#<MoabStorageRoot:0x0000000008be1b00
id: 7,
name: "services-disk08",
created_at: Thu, 18 Jan 2018 18:55:35 UTC +00:00,
updated_at: Thu, 18 Jan 2018 18:55:35 UTC +00:00,
storage_location: "/services-disk08/sdr2objects">,
@result_array=[{:moab_checksum_valid=>"checksum(s) match"}],
@string_prefix="validate_checksums (actual location: services-disk08; )">] |
Investigate what the names of the files should be.
Either:
spawned from #1324
somewhat like #1395, both of these moabs have audit results indicating a grab bag of extra files, missing files, and checksum mismatches:
The text was updated successfully, but these errors were encountered: