Problem:
Hello team, I have successfully upgraded from 3.9 with katello 4.11 to 3.10 with katello 4.12.
But, after restoring the backup,
foreman-maintain restore --whitelist=“installer-upgrade,restore-installer-reset” /var/katello-backup-2024-12-02-17-25-19
we are not able to get the foreman-proxy and smart proxy up
Expected outcome:
I want to restore the previous version backup in new version 3.10
Foreman and Proxy versions:
3.10 with katello 4.12
Foreman and Proxy plugin versions:
Distribution and version:
Other relevant data:
Error:-
[root@foremanvm centos]# sudo systemctl status foreman-proxy
● foreman-proxy.service - Foreman Proxy
Loaded: loaded (/usr/lib/systemd/system/foreman-proxy.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/foreman-proxy.service.d
└─90-limits.conf
Active: failed (Result: exit-code) since Wed 2024-12-04 14:31:22 UTC; 20min ago
Process: 859 ExecStart=/usr/share/foreman-proxy/bin/smart-proxy (code=exited, status=1/FAILURE)
Main PID: 859 (code=exited, status=1/FAILURE)
Dec 04 14:31:02 foremanvm smart-proxy[859]: from /usr/share/gems/gems/logging-2.3.1/lib/logging/diagnostic_context.rb:474:in block in create_with_logging_context' Dec 04 14:31:22 foremanvm smart-proxy[859]: #<Thread:0x000055e7d04b1410 /usr/share/gems/gems/logging-2.3.1/lib/logging/diagnostic_context.rb:471 aborting> terminated with exception (report_on_exception is tru> Dec 04 14:31:22 foremanvm smart-proxy[859]: /usr/share/gems/gems/smart_proxy_monitoring-0.3.0/lib/smart_proxy_monitoring_icinga2/icinga2_api_observer.rb:51:in
ensure in monitor’: undefined local variable or >
Dec 04 14:31:22 foremanvm smart-proxy[859]: from /usr/share/gems/gems/smart_proxy_monitoring-0.3.0/lib/smart_proxy_monitoring_icinga2/icinga2_api_observer.rb:51:in monitor' Dec 04 14:31:22 foremanvm smart-proxy[859]: from /usr/share/gems/gems/smart_proxy_monitoring-0.3.0/lib/smart_proxy_monitoring_icinga2/icinga2_api_observer.rb:55:in
block in do_start’
Dec 04 14:31:22 foremanvm smart-proxy[859]: from /usr/share/gems/gems/logging-2.3.1/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context’
Dec 04 14:31:22 foremanvm smart-proxy[859]: Errors detected on startup, see log for details. Exiting: Address already in use - bind(2) for [::]:9090
Dec 04 14:31:22 foremanvm systemd[1]: foreman-proxy.service: Main process exited, code=exited, status=1/FAILURE
Dec 04 14:31:22 foremanvm systemd[1]: foreman-proxy.service: Failed with result ‘exit-code’.
Dec 04 14:31:22 foremanvm systemd[1]: Failed to start Foreman Proxy.
Smart proxies error:-
WebUI:- for features
Failure: ERF50-5345 [Foreman::WrappedException]: Unable to connect ([ProxyAPI::ProxyException]: ERF12-7885 [ProxyAPI::ProxyException]: Unable to fetch logs ([OpenSSL::SSL::SSLError]: SSL_connect returned=1 errno=0 state=error: wrong version number) for proxy https://foremanvm.walllab.com:9090/logs)
For notification when feature is refreshed
Danger alert:Error
ERF12-9411 [ProxyAPI::ProxyException]: Unable to fetch public key ([OpenSSL::SSL::SSLError]: SSL_connect returned=1 errno=0 state=error: wrong version number) for proxy https://foremanvm.walllab.com:9090/ssh