-
Notifications
You must be signed in to change notification settings - Fork 54
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
Please add a switch to turn off avatar downloads #1817
Comments
FWIW, I believe failing to download the avatar (by the power of firewall) should not impact the correctness and success of the sync. And for the security concerns, the validity of the avatar is checked by it's sha256. Still one could add a tracker in the server of the avatar to gain intel on who is synching from a namespace. |
Thanks for your answer. I think you might be wrong though. Here are some old logs from when we were first experiencing the problem. We put the collection jfrog.platform in the requirements.yml and started a collection sync in PAH, but did not have a proxy rule to allow access to media.jfrog.com
|
Can you confirm that your version runs with this DeclarativeFailsafeArtifact statement? |
Seems like this was commit f56e097 and therefore released with 0.21.3 It seems we are on version 0.17.5 . But the fix is also included there. (I checked the code on our system and also there is this commit: 6c6fefb ) And additionally I just saw that the error message we receive wouldn't probably have been there before that commit. |
Oh, the skipping seems to work. But there's another bug appearing: "'NoneType' object is not iterable" |
Ah ok. "'NoneType' object is not iterable" should be fixed via #1813 according to Redhat support. But that has not made it in to a PAH release yet. So you say that the namespace avatar was never the problem? |
I'm saying the skipping of downloads works as advertised. But I don't yet understand the "real" cause of the stacktrace enough to say whether that is related. |
Can I provide any more information to help with that? |
If you want to do some debugging, It would be interesting to know which stage throws the error. |
Actually it seems that I am not able to reproduce the issue at the moment. :( Still got the old logs from January though. |
Thanks for looking into this. If you get to see it again, we should have bugreport issue for it. Let's keep this issue as a wishlist item. The original ask is valid as is (though rather low priority on our side). |
Is your feature request related to a problem? Please describe.
We sync collections with PAH from ansible galaxy. In this progress the namespace avatars are downloaded. But they can be from any third party source. This is bad because it seems to be a security issue and also it is difficult because of firewall rules that have to be adjusted potentially.
Describe the solution you'd like
For us it would be sufficient to have an option to disable avatar downloads.
And it would be great to also make this option accessable via PAH WebUI, but I think I would have to create an additional RFE there with Redhat, once this is implemented here.
Yours
David
The text was updated successfully, but these errors were encountered: