Hi all, no luck with foreman upgrades.
I’m having an issue with Foreman upgrade from version 3.3 to 3.4.
yum update was successfully but the command
foreman-installer --scenario katello --upgrade
ends with:
Upgrade Step: clean_backend_objects (this may take a while) …
rake aborted!
RestClient::ServiceUnavailable: Katello::Resources::Candlepin::Consumer: 503 Service Unavailable {“displayMessage”:“Candlepin is in Suspend mode, please check /status resource to get more details”,“requestUuid”:“00ff119f-e4ed-43e7-8268-169dd5ffc9d2”} (GET /candlepin/consumers/6f1f5183-e960-4a2a-b592-6907ccb01eff)
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.8.0/lib/restclient/abstract_response.rb:74:inreturn!' /opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.8.0/lib/restclient/request.rb:495:in
process_result’
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.8.0/lib/restclient/request.rb:421:inblock 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:inexecute' /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:51:inget' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.4.5/app/lib/katello/http_resource.rb:84:in
get’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.4.5/app/lib/katello/resources/candlepin.rb:104:inget' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.4.5/lib/katello/tasks/clean_backend_objects.rake:23:in
block in test_candlepin’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.4.5/lib/katello/tasks/clean_backend_objects.rake:32:intest_method' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.4.5/lib/katello/tasks/clean_backend_objects.rake:23:in
test_candlepin’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.4.5/lib/katello/tasks/clean_backend_objects.rake:6:inblock in cleanup_hosts' /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/relation/batches.rb:51:in
block (2 levels) in find_each’
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/relation/batches.rb:51:ineach' /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/relation/batches.rb:51:in
block in find_each’
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/relation/batches.rb:124:infind_in_batches' /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/relation/batches.rb:50:in
find_each’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.4.5/lib/katello/tasks/clean_backend_objects.rake:5:incleanup_hosts' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.4.5/lib/katello/tasks/clean_backend_objects.rake:67:in
block (2 levels) in <top (required)>’
Tasks: TOP => katello:clean_backend_objects
(See full trace by running task with --trace)
foreman-rake katello:clean_backend_objects COMMIT=true failed! Check the output for error!
Upgrade step clean_backend_objects failed. Check logs for more information.
Upgrade Step: clean_backend_objects (this may take a while) …
rake aborted!
RestClient::ServiceUnavailable: Katello::Resources::Candlepin::Consumer: 503 Service Unavailable {“displayMessage”:“Candlepin is in Suspend mode, please check /status resource to get more details”,“requestUuid”:“00ff119f-e4ed-43e7-8268-169dd5ffc9d2”} (GET /candlepin/consumers/6f1f5183-e960-4a2a-b592-6907ccb01eff)
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.8.0/lib/restclient/abstract_response.rb:74:inreturn!' /opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.8.0/lib/restclient/request.rb:495:in
process_result’
/opt/theforeman/tfm/root/usr/share/gems/gems/rest-client-1.8.0/lib/restclient/request.rb:421:inblock 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:inexecute' /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:51:inget' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.4.5/app/lib/katello/http_resource.rb:84:in
get’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.4.5/app/lib/katello/resources/candlepin.rb:104:inget' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.4.5/lib/katello/tasks/clean_backend_objects.rake:23:in
block in test_candlepin’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.4.5/lib/katello/tasks/clean_backend_objects.rake:32:intest_method' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.4.5/lib/katello/tasks/clean_backend_objects.rake:23:in
test_candlepin’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.4.5/lib/katello/tasks/clean_backend_objects.rake:6:inblock in cleanup_hosts' /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/relation/batches.rb:51:in
block (2 levels) in find_each’
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/relation/batches.rb:51:ineach' /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/relation/batches.rb:51:in
block in find_each’
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/relation/batches.rb:124:infind_in_batches' /opt/rh/sclo-ror42/root/usr/share/gems/gems/activerecord-4.2.5.1/lib/active_record/relation/batches.rb:50:in
find_each’
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.4.5/lib/katello/tasks/clean_backend_objects.rake:5:incleanup_hosts' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.4.5/lib/katello/tasks/clean_backend_objects.rake:67:in
block (2 levels) in <top (required)>’
Tasks: TOP => katello:clean_backend_objects
(See full trace by running task with --trace)
foreman-rake katello:clean_backend_objects COMMIT=true failed! Check the output for error!
Upgrade step clean_backend_objects failed. Check logs for more information.
We use Red Hat Content with version 3.3. is this a problem?
Thanks! BR,
cnu80