Project

General

Profile

Actions

Bug #16896

closed

500 Internal Server Error After upgrading to 3.1

Added by Roderick Rabelo about 8 years ago. Updated over 6 years ago.

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

Description

Hi there,

I been trying to figure out what is going on with katello after I decided to upgrade it to the latest version but seems like I need help solving this one out, I keep getting this error when I run the foreman-installer --upgrade. I also cant sync my repos and getting pulp errors. I have attached the debug file to help troubleshoot this issue. I appreciate all the help

Upgrade Step: import_rpms (this may take a while) ...
rake aborted!
RestClient::InternalServerError: 500 Internal Server Error
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.8.0/lib/restclient/abstract_response.rb:74:in `return!'
/opt/theforeman/tfm/root/usr/share/gems/gems/runcible-1.7.2/lib/runcible/base.rb:79:in `block in get_response'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.8.0/lib/restclient/request.rb:493:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.8.0/lib/restclient/request.rb:493:in `process_result'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.8.0/lib/restclient/request.rb:421:in `block in transmit'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.8.0/lib/restclient/request.rb:413:in `transmit'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.8.0/lib/restclient/request.rb:176:in `execute'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.8.0/lib/restclient/request.rb:41:in `execute'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.8.0/lib/restclient/resource.rb:67:in `post'
/opt/theforeman/tfm/root/usr/share/gems/gems/runcible-1.7.2/lib/runcible/base.rb:78:in `get_response'
/opt/theforeman/tfm/root/usr/share/gems/gems/runcible-1.7.2/lib/runcible/base.rb:66:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/runcible-1.7.2/lib/runcible/resources/unit.rb:20:in `search'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.1.0.1/app/services/katello/pulp/pulp_content_unit.rb:49:in `fetch'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.1.0.1/app/services/katello/pulp/pulp_content_unit.rb:30:in `fetch_all'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.1.0.1/app/models/katello/concerns/pulp_database_unit.rb:40:in `import_all'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.1.0.1/lib/katello/tasks/upgrades/2.4/import_rpms.rake:8:in `block (4 levels) in <top (required)>'
Tasks: TOP => katello:upgrades:2.4:import_rpms
(See full trace by running task with --trace)
Importing Rpms

Actions #1

Updated by Roderick Rabelo about 8 years ago

Roderick Rabelo wrote:

Hi there,

I been trying to figure out what is going on with katello after I decided to upgrade it to the latest version but seems like I need help solving this one out, I keep getting this error when I run the foreman-installer --upgrade. I also cant sync my repos and getting pulp errors. I have the debug file but I cant upload it because is 6bm, if is needed I can email it. I appreciate all the help

Upgrade Step: import_rpms (this may take a while) ...
rake aborted!
RestClient::InternalServerError: 500 Internal Server Error
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.8.0/lib/restclient/abstract_response.rb:74:in `return!'
/opt/theforeman/tfm/root/usr/share/gems/gems/runcible-1.7.2/lib/runcible/base.rb:79:in `block in get_response'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.8.0/lib/restclient/request.rb:493:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.8.0/lib/restclient/request.rb:493:in `process_result'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.8.0/lib/restclient/request.rb:421:in `block in transmit'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.8.0/lib/restclient/request.rb:413:in `transmit'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.8.0/lib/restclient/request.rb:176:in `execute'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.8.0/lib/restclient/request.rb:41:in `execute'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.8.0/lib/restclient/resource.rb:67:in `post'
/opt/theforeman/tfm/root/usr/share/gems/gems/runcible-1.7.2/lib/runcible/base.rb:78:in `get_response'
/opt/theforeman/tfm/root/usr/share/gems/gems/runcible-1.7.2/lib/runcible/base.rb:66:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/runcible-1.7.2/lib/runcible/resources/unit.rb:20:in `search'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.1.0.1/app/services/katello/pulp/pulp_content_unit.rb:49:in `fetch'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.1.0.1/app/services/katello/pulp/pulp_content_unit.rb:30:in `fetch_all'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.1.0.1/app/models/katello/concerns/pulp_database_unit.rb:40:in `import_all'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.1.0.1/lib/katello/tasks/upgrades/2.4/import_rpms.rake:8:in `block (4 levels) in <top (required)>'
Tasks: TOP => katello:upgrades:2.4:import_rpms
(See full trace by running task with --trace)
Importing Rpms

Actions #2

Updated by Dominic Cleal about 8 years ago

  • Project changed from Foreman to Katello
Actions #3

Updated by Eric Helms about 8 years ago

  • Tracker changed from Support to Bug
  • Category set to 91
  • Status changed from New to Need more information

Hi Roderick,

Could you submit a foreman-debug with this issue so that we can see what Pulp is doing during the upgrade?

Actions #4

Updated by Roderick Rabelo about 8 years ago

Eric Helms wrote:

Hi Roderick,

Could you submit a foreman-debug with this issue so that we can see what Pulp is doing during the upgrade?

Thanks for the respond but I had no choice than to rebuild the server and re-install and registers all the servers again, but at least the error is gone I now get a DB error but is not related to this one so I am going so this ticket can be closed. Thanks again!

Actions #5

Updated by Justin Sherrill about 8 years ago

  • Status changed from Need more information to Rejected
  • Translation missing: en.field_release set to 166

Closing ticket per comment. Thanks!

Actions

Also available in: Atom PDF