Remote execution keys regenerated on Katello 3.6 -> 3.7 upgrade

Following a Katello 3.6 - > 3.7 upgrade, the remote execution keys were wiped out and regenerated.

Expected outcome:

Keys to remain in place

Foreman and Proxy versions:

Foreman and Proxy plugin versions:

Other relevant data:
[e.g. logs from Foreman and/or the Proxy, modified templates, commands issued, etc]

do you have installer log from the upgrade?

There is an issue in the installer that it isn’t aware of the new location we chose for this. Generating files in /usr/share/foreman-proxy is a bad practice so in our RPM packaging we moved it to /var/lib/foreman-proxy. We still need to do the same on the Debian side and make the installer aware of this. For now the workaround is to set --foreman-proxy-plugin-remote-execution-ssh-identity-dir /var/lib/foreman-proxy/.ssh. The RPM package should have moved your keys there as well.


I used --foreman-proxy-plugin-remote-execution-ssh-ssh-identity-dir /var/lib/foreman-proxy/ssh and it fixed me right up.

I appreciate the pointer and I totally agree with moving this location. It never felt right having this live in /usr/share.