Not sure what I’m looking for …
The excerpt above is from /var/log/foreman-installer/katello.log and that is the only updated file in this directory.
Here are som more lines in the same file:
<snip>
[DEBUG 2020-10-06T11:13:32 main] Upgrade Step 1/3: katello:correct_repositories. This may take a long while.
[DEBUG 2020-10-06T11:13:32 main] Processing Repository 1/49: Epel7 (4)
[DEBUG 2020-10-06T11:13:32 main] Repository 4 Missing
[DEBUG 2020-10-06T11:13:32 main] Recreating 4
[DEBUG 2020-10-06T11:13:32 main] Failed upgrade task: katello:correct_repositories, see logs for more information.
[DEBUG 2020-10-06T11:13:32 main] =============================================
[DEBUG 2020-10-06T11:13:32 main] Upgrade Step 2/3: katello:correct_puppet_environments. This may take a long while.
[DEBUG 2020-10-06T11:13:32 main] Processing Puppet Environment 1/2: 1-CentOS8-v2020_80-puppet-18713aff-4dd0-45c2-a51f-ad0b613a38ab (3)
[DEBUG 2020-10-06T11:13:32 main] Processing Puppet Environment 2/2: 1-CentOS8-v2020_251-puppet-ea6e6427-073c-4fcd-99a5-b58c447cc192 (4)
[DEBUG 2020-10-06T11:13:32 main] =============================================
[DEBUG 2020-10-06T11:13:32 main] Upgrade Step 3/3: katello:clean_backend_objects. This may take a long while.
[DEBUG 2020-10-06T11:13:32 main] 0 orphaned consumer id(s) found in candlepin.
[DEBUG 2020-10-06T11:13:32 main] Candlepin orphaned consumers: []
[DEBUG 2020-10-06T11:13:32 main] 0 orphaned consumer id(s) found in pulp.
[DEBUG 2020-10-06T11:13:32 main] Pulp orphaned consumers: []
[DEBUG 2020-10-06T11:13:32 main] foreman-rake upgrade:run finished successfully!
[DEBUG 2020-10-06T11:13:32 main] Hook /usr/share/foreman-installer/hooks/post/30-upgrade.rb returned nil
[DEBUG 2020-10-06T11:13:32 main] Hook /usr/share/foreman-installer/hooks/post/99-post_install_message.rb returned nil
[DEBUG 2020-10-06T11:13:32 main] cdn_ssl_version already migrated, skipping
[DEBUG 2020-10-06T11:13:32 main] Hook /usr/share/foreman-installer/katello/hooks/post/31-cdn_setting.rb returned [#<Logging::Logger:0x0000000002641458 @name="main", @parent=#<Logging::RootLogger:0x0000000001cee810 @name="root", @appenders=[], @additive=false, @caller_tracing=false, @level=0>, @appenders=[#<Logging::Appenders::RollingFile:0x0000000002637408 @roller=#<Logging::Appenders::RollingFile::Roller:0x00000000026373e0 @fn="/var/log/foreman-installer/katello{{.%d}}.log", @roll_by=:number, @filename="/var/log/foreman-installer/katello.log", @roll=false, @keep=nil, @copy_file="/var/log/foreman-installer/katello.log._copy_", @glob="/var/log/foreman-installer/katello.*.log", @number_rgxp=/\/var\/log\/foreman-installer\/katello.(\d+).log/, @format="/var/log/foreman-installer/katello.%d.log">, @size=nil, @age_fn="/var/log/foreman-installer/katello.log.age", @age_fn_mtime=nil, @age=nil, @encoding=#<Encoding:UTF-8>, @mode="a+:UTF-8", @io=#<File:/var/log/foreman-installer/katello.log>, @close_method=:close, @buffer=[], @immediate=[], @auto_flushing=1, @async=false, @async_flusher=nil, @flush_period=nil, @name="configure", @closed=false, @filters=[], @mutex=#<ReentrantMutex:0x0000000002636d28 @locker=nil>, @layout=#<Logging::Layouts::Pattern:0x0000000001d031e8 @obj_format=:string, @backtrace=true, @utc_offset=nil, @cause_depth=8, @created_at=2020-10-06 11:10:38 +0200, @date_pattern="%Y-%m-%dT%H:%M:%S", @date_method=nil, @pattern="[%5l %d %c] %m\n", @color_scheme=nil>, @level=0, @write_size=500>], @additive=true, @level=0, @caller_tracing=false>, #<Logging::Logger:0x000000000262fcd0 @name="fatal", @parent=#<Logging::RootLogger:0x0000000001cee810 @name="root", @appenders=[], @additive=false, @caller_tracing=false, @level=0>, @appenders=[#<Logging::Appenders::Stderr:0x000000000262c1c0 @io=#<IO:<STDERR>>, @close_method=:close, @buffer=[], @immediate=[], @auto_flushing=1, @async=false, @async_flusher=nil, @flush_period=nil, @name="stderr", @closed=false, @filters=[], @mutex=#<ReentrantMutex:0x0000000002623e08 @locker=nil>, @layout=#<Logging::Layouts::Pattern:0x00000000019e1b40 @obj_format=:string, @backtrace=true, @utc_offset=nil, @cause_depth=8, @created_at=2020-10-06 11:10:38 +0200, @date_pattern="%Y-%m-%dT%H:%M:%S", @date_method=nil, @pattern="[%5l %d %c] %m\n", @color_scheme=#<Logging::ColorScheme:0x00000000019e3bc0 @scheme={"date"=>"\e[34m", "logger"=>"\e[36m", "line"=>"\e[33m", "file"=>"\e[33m", "method"=>"\e[33m", "info"=>"\e[32m", "warn"=>"\e[33m", "error"=>"\e[31m", "fatal"=>"\e[37m\e[41m"}, @lines=false, @levels=true>, @name_map_0=["DEBUG", "\e[32m INFO\e[0m", "\e[33m WARN\e[0m", "\e[31mERROR\e[0m", "\e[37m\e[41mFATAL\e[0m"]>, @level=0, @encoding=nil, @write_size=500>], @additive=true, @level=4, @caller_tracing=false>]
[DEBUG 2020-10-06T11:13:32 main] Hook /usr/share/foreman-installer/katello/hooks/post/99-version_locking.rb returned nil
[ INFO 2020-10-06T11:13:32 main] All hooks in group post finished
[DEBUG 2020-10-06T11:13:32 main] Exit with status code: 2 (signal was 2)
[ERROR 2020-10-06T11:13:32 main] Errors encountered during run:
[ERROR 2020-10-06T11:13:32 main] foreman-maintain packages is-locked --assumeyes failed! Check the output for error!
[DEBUG 2020-10-06T11:13:32 main] Cleaning /tmp/kafo_installation20201006-6939-imnz1i
[DEBUG 2020-10-06T11:13:32 main] Cleaning /tmp/kafo_installation20201006-6939-judmyb
[DEBUG 2020-10-06T11:13:32 main] Cleaning /tmp/default_values.yaml
[ INFO 2020-10-06T11:13:32 main] Installer finished in 168.181707015 seconds
I'm pretty sure that this is the output for this perticular run:
[root@server1745 adminchristianj]# foreman-installer
Preparing installation Done
Executing: foreman-rake upgrade:run
=============================================
Upgrade Step 1/3: katello:correct_repositories. This may take a long while.
Processing Repository 1/49: Epel7 (4)
Repository 4 Missing
Recreating 4
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/2: 1-CentOS8-v2020_80-puppet-18713aff-4dd0-45c2-a51f-ad0b613a38ab (3)
Processing Puppet Environment 2/2: 1-CentOS8-v2020_251-puppet-ea6e6427-073c-4fcd-99a5-b58c447cc192 (4)
=============================================
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: []
0 orphaned consumer id(s) found in pulp.
Pulp orphaned consumers: []
foreman-rake upgrade:run finished successfully!
Success!
* Foreman is running at https://server1745.dd.net
* To install an additional Foreman proxy on separate machine continue by running:
foreman-proxy-certs-generate --foreman-proxy-fqdn "$FOREMAN_PROXY" --certs-tar "/root/$FOREMAN_PROXY-certs.tar"
* Foreman Proxy is running at https://server1745.dd.net:9090
The full log is at /var/log/foreman-installer/katello.log
And from production.log around the same time:
2020-10-06T11:13:22 [I|app|] Rails cache backend: File
2020-10-06T11:13:25 [W|app|] Creating scope :completer_scope. Overwriting existing method Organization.completer_scope.
2020-10-06T11:13:26 [W|app|] Scoped order is ignored, it's forced to be batch order.
2020-10-06T11:13:26 [W|app|] Creating scope :completer_scope. Overwriting existing method Location.completer_scope.
2020-10-06T11:13:31 [I|kat|] GET: https://server1745.dd.net/pulp/api/v2/repositories/6793bfd7-17ff-4c40-bb46-566bd080bd51/?: {"content_type"=>"application/json", "accept"=>"application/json"}
404 Not Found: {"http_request_method": "GET", "exception": null, "error_message": "Missing resource(s): repository=6793bfd7-17ff-4c40-bb46-566bd080bd51", "_href": "/pulp/api/v2/repositories/6793bfd7-17ff-4c40-bb46-566bd080bd51/?", "http_status": 404, "error": {"code": "PLP0009", "data": {"resources": {"repository": "6793bfd7-17ff-4c40-bb46-566bd080bd51"}}, "description": "Missing resource(s): repository=6793bfd7-17ff-4c40-bb46-566bd080bd51", "sub_errors": []}, "traceback": null, "resources": {"repository": "6793bfd7-17ff-4c40-bb46-566bd080bd51"}}
2020-10-06T11:13:32 [W|app|] Failed upgrade task: katello:correct_repositories
2020-10-06T11:16:35 [I|app|2180e652] Started GET "/katello/api/repositories?page=1&per_page=1000" for 127.0.0.1 at 2020-10-06 11:16:35 +0200