scality / spark

Apache License 2.0
3 stars 0 forks source link

RING-46131 Add new reverse lookup script s3_fsck_p2_revlookup.py #50

Closed scality-fno closed 3 months ago

scality-fno commented 5 months ago

More on the context here: https://scality.atlassian.net/wiki/spaces/~696793679/pages/2323054719/Spark+usage+hunt+S3+orphans+down.#4.1.2-%E2%9A%99%EF%B8%8F-%F0%9F%AA%84--automated-approach

scality-fno commented 5 months ago

I understand that the code needs to ssh to localhost, in order to "get out" of the Docker container and use the nasdk tools. Couldn't we have a way to embark scality's Python SDK and use it instead of ssh+binaries?

💡 Yes, why not. At this stage, I'm not sure how to achieve this, though. I was told we could also map the proper volumes so the container can reach them, but that's not guaranteed to work fully, because of potential differences between the host's OS (RHEL flavour) and the container's OS (Alpine).