Problem:
Hi,
I’m was starting to upgrade our Foreman 2.0.1 and Katello 3.15 to Foreman 2.3 and Katello 3.18.
As described in the documentation I’m doing this in 2 steps, first upgrading to Foreman 2.2 and Katello 3.17 and then to the latest version of both products.
However, the first upgrade step results in an error.
I followed all the steps described in Foreman :: Plugin Manuals
But it fails during the execution of the ‘foreman-installer’ command:
bootstrap # foreman-installer
Preparing installation Done
Something went wrong! Check the log for ERROR-level output
The full log is at /var/log/foreman-installer/katello.log
In the log I can see following:
[DEBUG 2021-03-02T09:32:01 main] Hook /usr/share/foreman-installer/katello/hooks/post/99-version_locking.rb returned nil
[ INFO 2021-03-02T09:32:01 main] All hooks in group post finished
[DEBUG 2021-03-02T09:32:01 main] Exit with status code: 6 (signal was 6)
[ERROR 2021-03-02T09:32:01 main] Errors encountered during run:
[ERROR 2021-03-02T09:32:01 main] foreman-maintain packages is-locked --assumeyes failed! Check the output for error!
[ERROR 2021-03-02T09:32:01 main] /Stage[main]/Pulpcore::Static/Pulpcore::Admin[collectstatic --noinput]/Exec[pulpcore-manager collectstatic --noinput]: Failed to call refresh: ‘pulpcore-manager collectstatic --noinput’ returned 1 instead of one of [0]
[ERROR 2021-03-02T09:32:01 main] /Stage[main]/Pulpcore::Static/Pulpcore::Admin[collectstatic --noinput]/Exec[pulpcore-manager collectstatic --noinput]: ‘pulpcore-manager collectstatic --noinput’ returned 1 instead of one of [0]
See also the complete log file (gzip) in attachment.
Thnx for any feedback/help.
Expected outcome:
Foreman and Proxy versions:
Foreman 2.0.1 -> 2.2
Katello 3.15 -> 3.17
Foreman and Proxy plugin versions:
Distribution and version:
CentOS 7
Other relevant data:
katello.log.gz (205.4 KB)