Project

General

Profile

Actions

Bug #31678

closed

Repository Sync Fails with 500 internal server error

Added by Ranjit Chettiyar almost 4 years ago. Updated almost 4 years ago.

Status:
Rejected
Priority:
High
Assignee:
-
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Hi All,

Repository Sync Fails with 500 internal server error

Katello: katello-3.16.2-1.el7.noarch
Foreman: 2.1.4
OS: RHEL 7.9

[root@server]# hammer repository synchronize --product='Red Hat Enterprise Linux Server' --id=xxx
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:27: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:45: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:45: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:48: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:49: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:50: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:51: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:51: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:51: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:52: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:52: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:53: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:53: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:54: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:55: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:55: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:55: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:57: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:57: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:57: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:59: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:60: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:60: warning: constant ::Fixnum is deprecated
[..........................................................................................................................................] [100%]
Error: 500 Internal Server Error

Please find below hammer ping output
[root@servername]# hammer ping
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:27: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:45: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:45: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:48: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:49: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:50: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:51: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:51: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:51: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:52: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:52: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:53: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:53: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:54: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:55: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:55: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:55: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:57: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:57: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:57: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:59: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:60: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_import-0.11.3/lib/hammer_cli_import/persistentmap.rb:60: warning: constant ::Fixnum is deprecated
database:
Status: ok
Server Response: Duration: 0ms
candlepin:
Status: ok
Server Response: Duration: 59ms
candlepin_events:
Status: ok
message: 1367 Processed, 0 Failed
Server Response: Duration: 0ms
candlepin_auth:
Status: ok
Server Response: Duration: 54ms
katello_events:
Status: ok
message: 87 Processed, 1 Failed
Server Response: Duration: 0ms
pulp:
Status: ok
Server Response: Duration: 77ms
pulp_auth:
Status: ok
Server Response: Duration: 40ms
foreman_tasks:
Status: ok
Server Response: Duration: 6ms

Unable to sync any repository. Please let me know if any other logs are required

Actions

Also available in: Atom PDF