Skip to content
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

Provenance script failing on production registry #180

Closed
jordanpadams opened this issue Apr 4, 2023 · 6 comments
Closed

Provenance script failing on production registry #180

jordanpadams opened this issue Apr 4, 2023 · 6 comments
Assignees
Labels
B14.0 bug Something isn't working i&t.skip s.high High severity sprint-backlog

Comments

@jordanpadams
Copy link
Member

jordanpadams commented Apr 4, 2023

Checked for duplicates

Yes - I've already checked

🐛 Describe the bug

When I did a query for some NAIF SPICE data, I was unable to get a response

🕵️ Expected behavior

I expected to get a product back

📜 To Reproduce

  1. Go to https://search-naif-prod-pm7hsg36wqejex3whlnpj3d6ma.us-west-2.es.amazonaws.com/_dashboards/app/discover#/?_g=(filters:!(),query:(language:kuery,query:''),refreshInterval:(pause:!t,value:0),time:(from:now-10y,to:now))&_a=(columns:!('ops:Provenance%2Fops:superseded_by'),filters:!(),index:'04de9280-9067-11ed-aa4d-b9457fec4322',interval:auto,query:(language:kuery,query:'lidvid:%22urn:nasa:pds:mars2020.spice*%22'),sort:!())
  2. Or query for lid:"urn:nasa:pds:mars2020.spice", and not that there are 2 versions with no superseded_by set. I think this is confusing the API.

🖥 Environment Info

No response

📚 Version of Software Used

No response

🩺 Test Data / Additional context

Screenshot 2023-04-04 at 7 55 47 AM

🦄 Related requirements

No response

⚙️ Engineering Details

No response

@jordanpadams
Copy link
Member Author

Also found this issue for insight bundle:

Screenshot 2023-04-04 at 8 12 41 AM

@tloubrieu-jpl
Copy link
Member

@jordanpadams, @jimmie

The superseeded_by tag looks now good (since the work done by @jimmie on ticket NASA-PDS/registry-api#305 maybe).

But there is no archive_status available, see screnshot of the products in kibana:

image

Which makes the product unavailable in the API.

I will investigage further why that is.

@jimmie
Copy link
Member

jimmie commented Apr 6, 2023

@alexdunnjpl and I were discussing the missing archive_status' yesterday in the context of registry-api#305. There are two factors that were at hand in that issue; 1) inability to access a document via lidvid and 2) out of whack superseded_by and missing archive_status. As you noted @tloubrieu-jpl, the issue w/ the vid hierarchy has been fixed (after fixing the lidvid issue). We suspect the missing archive_status may be a result of the lidvid issue, but we're not sure. While we're close to having the issues resolved, the whole scenario is highly unusual and I really don't have any theories on how it all came to be.

@tloubrieu-jpl
Copy link
Member

Thanks @jimmie, let's discuss that at the breakout.
Maybe we should deploy a newer version of the API so to have API known bugs out of our way...

@jordanpadams
Copy link
Member Author

follow on to NASA-PDS/registry-api#305

@tloubrieu-jpl
Copy link
Member

This bug is fixed by :

See screenshot:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B14.0 bug Something isn't working i&t.skip s.high High severity sprint-backlog
Projects
None yet
Development

No branches or pull requests

3 participants