Hey @quba42 so I tried your instructions for modifying the sync.py file as per that github commit, and it didn’t resolve the matter by itself.
I made sure to remove the specific line and add the lines of code that the commit talks about, verified correct spacing, no silly hidden characters etc. I ran “foreman-maintain service restart” and the sync task kept complaining about “/var/lib/pulp/gpg-home/” (directory) not existing. I even tried a full reboot, same thing.
I verified the py file didn’t get reverted, or permissions changed on it, so I do believe I followed your instructions to the letter. I also followed your linked guide for getting the relevant PGP key (which btw helped a tonne!) and I do believe I have the correct key in-place now.
That being said, what I had to do to get the sync task actually executing (and it appears to be downloading content as I type this) is by making the “gpg-home” folder, that didn’t exist, in the /var/lib/pulp/ directory. I set it with 775 permissions, and set ownership of apache:pulp as that seemed like a logical configuration. I’m not sure if that’s the actual configuration I should have set, as I see the code talks about 700 modes being set, my set was best-effort.
So, I’m not sure why the code change didn’t fix it, since the code clearly talks about making the folder. Any idea why this failed?
Also, this is a dev box, but I am curious, will updates to these packages in the future from my repos eventually give me the newer pulp python scripts with the latest “fixed” code that has already been submitted? I’m curious about best-practices here, if I should change permissions/ownership of that folder, stuff like that.
Your help is greatly appreciated here, and without it I would really be so very stuck! So I look forward to your further thoughts on this topic.