Bug 1499402

Summary: upgrade from 6.2.11 -> 6.3 failed at step: katello:clean_backend_objects
Product: Red Hat Satellite Reporter: Sachin Ghai <sghai>
Component: UpgradesAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: inecas, mbacovsk
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-10 13:05:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1458642    
Attachments:
Description Flags
foreman-debug none

Description Sachin Ghai 2017-10-07 07:21:01 UTC
Created attachment 1335624 [details]
foreman-debug

Description of problem:

upgrade from 6.2.11 -> 6.3 failed at step: katello:clean_backend_objects

[SERVER] out: Upgrade Step: clean_backend_objects (this may take a while) ...
[SERVER] out: rake aborted!
[SERVER] out: Not all the services have been started. Check the status report above and try again.
[SERVER] out: /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.4.5.6/lib/katello/tasks/reimport.rake:10:in `block (2 levels) in <top (required)>'
[SERVER] out: Tasks: TOP => katello:clean_backend_objects => katello:check_ping
[SERVER] out: (See full trace by running task with --trace)
[SERVER] out: {:services=>
[SERVER] out:   {:pulp=>{:status=>"ok", :duration_ms=>"95"},
[SERVER] out:    :pulp_auth=>{:status=>"ok", :duration_ms=>"80"},
[SERVER] out:    :candlepin=>{:status=>"ok", :duration_ms=>"46"},
[SERVER] out:    :candlepin_auth=>{:status=>"ok", :duration_ms=>"62"},
[SERVER] out:    :foreman_tasks=>
[SERVER] out:     {:status=>"FAIL",
[SERVER] out:      :message=>
[SERVER] out:       "some executors are not responding, check /foreman_tasks/dynflow/status"}},
[SERVER] out:  :status=>"FAIL"}
[SERVER] out: foreman-rake katello:clean_backend_objects COMMIT=true failed! Check the output for error!
[SERVER] out: Upgrade step clean_backend_objects failed. Check logs for more information.

Version-Release number of selected component (if applicable):
6.2.11 -> 6.3

How reproducible:


Steps to Reproduce:
1.  satellite-installer --scenario satellite --upgrade
2.
3.

Actual results:


Expected results:


Additional info:

Looks like it related to bz: https://bugzilla.redhat.com/show_bug.cgi?id=1493046

Comment 2 Sachin Ghai 2017-10-07 08:17:00 UTC
on re-running the installer: upgrade failed at:correct_puppet_environments step


Upgrade Step: correct_puppet_environments (this may take a while) ...
rake aborted!
Not all the services have been started. Check the status report above and try again.
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.4.5.6/lib/katello/tasks/reimport.rake:10:in `block (2 levels) in <top (required)>'
Tasks: TOP => katello:correct_puppet_environments => katello:check_ping
(See full trace by running task with --trace)
{:services=>
  {:pulp=>{:status=>"ok", :duration_ms=>"218"},
   :pulp_auth=>{:status=>"ok", :duration_ms=>"81"},
   :candlepin=>{:status=>"ok", :duration_ms=>"52"},
   :candlepin_auth=>{:status=>"ok", :duration_ms=>"65"},
   :foreman_tasks=>
    {:status=>"FAIL",
     :message=>
      "some executors are not responding, check /foreman_tasks/dynflow/status"}},
 :status=>"FAIL"}
foreman-rake katello:correct_puppet_environments COMMIT=true failed! Check the output for error!
Upgrade step correct_puppet_environments failed. Check logs for more information.

Comment 3 Ivan Necas 2017-10-10 13:05:39 UTC

*** This bug has been marked as a duplicate of bug 1493046 ***