Problem:
By upgrading Katello from 3.18.4 to 4.0.1 i am getting this error:
2021-07-29 13:02:06 [ERROR ] [configure] ‘pulpcore-manager migrate --noinput’ returned 1 instead of one of [0] 2021-07-29 13:02:06 [ERROR ] [configure] /Stage[main]/Pulpcore::Database/Pulpcore::Admin[migrate --noinput]/Exec[pulpcore-manager migrate --noinput]/returns: change from ‘notrun’ to [‘0’] failed: ‘pulpcore-manager migrate --noinput’ returned 1 instead of one of [0]
Expected outcome:
Foreman and Proxy versions:
foreman-2.4.1-1.el7.noarch
katello-4.0.1-1.el7.noarch
Centos 7.9 Foreman and Proxy plugin versions:
> 2021-07-29 14:15:05 [NOTICE] [configure] System configuration has finished. > Executing: foreman-rake upgrade:run > ============================================= > Upgrade Step 1/3: katello:correct_repositories. This may take a long while. > Processing Repository 1/212: EPEL RHEL 8 (15) > Processing Repository 2/212: ELREPO RHEL 8 (16) > Processing Repository 3/212: Config Files (24) > Failed upgrade task: katello:correct_repositories, see logs for more information. > ============================================= > Upgrade Step 2/3: katello:correct_puppet_environments. This may take a long while. > Processing Puppet Environment 1/8: 5-OracleLinux_7_9-v10_0-puppet-b82f3dfc-12da-43ad-addc-bc7d630ebe77 (67) > Failed upgrade task: katello:correct_puppet_environments, see logs for more information. > ============================================= > Upgrade Step 3/3: katello:clean_backend_objects. This may take a long while. > 0 orphaned consumer id(s) found in candlepin. > Candlepin orphaned consumers: [] > Success!