Project

General

Profile

Bug #25026

Candlepin throws 500 Internal Server Error for more than 40+ guests

Added by Justin Sherrill over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Candlepin
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Trying to post 40 virt-who guests to /rhsm/hypervisors but Satellite has thrown ISE Error and the guests were not posted.

Katello::Resources::Candlepin::Consumer: 500 Internal Server Error (GET /candlepin/consumers/?uuid=%255B%25226LONG_LIST_OF_UUIDS
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-2.0.1/lib/restclient/abstract_response.rb:223:in `exception_with_response'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-2.0.1/lib/restclient/abstract_response.rb:103:in `return!'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-2.0.1/lib/restclient/request.rb:809:in `process_result'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-2.0.1/lib/restclient/request.rb:725:in `block in transmit'
/opt/rh/rh-ruby24/root/usr/share/ruby/net/http.rb:877:in `start'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-2.0.1/lib/restclient/request.rb:715:in `transmit'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-2.0.1/lib/restclient/request.rb:145:in `execute'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-2.0.1/lib/restclient/request.rb:52:in `execute'
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-2.0.1/lib/restclient/resource.rb:51:in `get'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.7.0.28/app/lib/katello/http_resource.rb:84:in `get'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.7.0.28/app/lib/katello/resources/candlepin/consumer.rb:22:in `block in get'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.7.0.28/app/lib/katello/resources/candlepin.rb:65:in `block in fetch_paged'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.7.0.28/app/lib/katello/resources/candlepin.rb:63:in `loop'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.7.0.28/app/lib/katello/resources/candlepin.rb:63:in `fetch_paged'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.7.0.28/app/lib/katello/resources/candlepin/consumer.rb:21:in `get'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.7.0.28/app/lib/actions/katello/host/hypervisors_update.rb:37:in `load_resources'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.7.0.28/app/lib/actions/katello/host/hypervisors_update.rb:20:in `block in finalize'
/usr/share/foreman/app/models/concerns/foreman/thread_session.rb:94:in `as'
/usr/share/foreman/app/models/concerns/foreman/thread_s

Associated revisions

Revision b0a370d0 (diff)
Added by Justin Sherrill over 1 year ago

Fixes #25026 - format uuids on hypervisor checkin

The previous code was incorrectly UUID encoding a list of
uuids instead of passing each as a GET param.

History

#1 Updated by The Foreman Bot over 1 year ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7720 added

#2 Updated by Justin Sherrill over 1 year ago

  • Status changed from Ready For Testing to Closed

#3 Updated by John Mitsch over 1 year ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.9.0
  • Subject changed from Candlepin throws 500 Internal Server Error for more than 40+ guests to Candlepin throws 500 Internal Server Error for more than 40+ guests

#4 Updated by Justin Sherrill over 1 year ago

  • Target version changed from Katello 3.9.0 to Katello 3.7.1

#5 Updated by Jonathon Turel over 1 year ago

  • Target version changed from Katello 3.7.1 to Katello 3.9.0

Moving back to 3.9 due to need of correct upstream candlepin build

Also available in: Atom PDF