-
Notifications
You must be signed in to change notification settings - Fork 0
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
registry-manager won't set archive-status on some collections #97
Comments
@alexdunnjpl once we get the DOI Service updates wrapped up. we are going to move over the registry loader tools 🎉 |
@alexdunnjpl could you look at this ticket when you have a chance ? After the version bug would be a good time, this bug is higher priority. |
hopefully it is fixed by #118 ... |
@rchenatjpl is it possible for you to repeat these tests with a build from the latest snapshot version of registry-common? No problem if not, it just saves some risk re "be careful". |
@alexdunnjpl Sure, but I'll need a little time, both because I'm busy and because I have no memory of this issue. |
@rchenatjpl No worries - alternatively (if it's faster), if you could run the commands again and provide a full output, and flick me the bundle in question, I can start taking a look myself - I have access to pdscloud-prod1, but apparently not to the pds4 user (given that it's asking for a password). If it's just warning messages and not an actual failure to process, there may not be anything to fix - it's not totally clear from the original post. |
Hi, @alexdunnjpl, are you ok if I punt on this? I don't know how to build from the source code, and I'm not sure what I'd be building - registry-manager, not harvest, right? And looking back at my test procedure, I think there's a decent chance I'd be wiping out other people's data. |
@rchenatjpl for sure - in that case could you LFT me the affected bundle so I can examine/test locally? I don't have access to that host. |
Holy cow, it's hard to reconstruct what I did. I think I left the test config file in pdscloud-prod1:/home/pds4/test/, but it's not there now. It looks like I was trying to ingest the bundle with all context products, which from pdscloud-prod1 or -prod2 or -gamma is at /data/pds4/context-pds4/, though there was a soft link problem, so /data/pds4/1700/PDS4_context_bundle_20180723/ |
With the content from @jordanpadams @rchenatjpl suggest closing as already fixed. |
Closed per other big fixes since 3.6.0 release |
thanks for checking on this @alexdunnjpl |
'registry-manager set-archive-status' fails to do so for some collections for no reason I can see.
📜 To Reproduce
Steps to reproduce the behavior:
From pds4@pdscloud-prod1:
I don't know why those two WARNings come up. Maybe registry-manager doesn't like the bundle's naughtiness in that more than one collection sits in a directory. Something else? So I wanted to pare down the input directory to help find the bug, so I copied the bundle's entire directory and removed two probably uninvolved directories, but then a different collection ended up in the WARNing:
Long story short: why does registry-manager not process the two collections the first time and an entirely different collection the second time?
🕵️ Expected behavior
registry-manager should have been able to set every product's archive-status.
📚 Version of Software Used
Harvest version: 3.6.0
Build time: 2022-04-13T17:42:54Z
Registry Manager version: 4.4.0
Build time: 2022-04-13T18:24:45Z
🩺 Test Data / Additional context
Please be careful. The first test above accesses the operational bundle of context products. And I put the killme/ directory in an operational area.
🦄 Related requirements
⚙️ Engineering Details
The text was updated successfully, but these errors were encountered: