forked from theforeman/foreman-documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add troubleshooting rex timeout due to yggdrasil version
- Loading branch information
Showing
2 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
48 changes: 48 additions & 0 deletions
48
...modules/proc_troubleshooting-remote-jobs-timing-out-after-yggdrasil-update.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
[id="troubleshooting-remote-jobs-timing-out-after-yggdrails-update"] | ||
= Troubleshooting: Remote jobs timing out after `yggdrasil` update | ||
|
||
On hosts that have weak dependencies disabled and are configured to use the `yggdrasil` pull client, remote jobs can start failing due to timeouts after the `yggdrasil` package has been updated to version 0.4.z or later. | ||
|
||
The pull-based transport configuration relies on the Yggdrasil service and differs based on the version of the `yggdrasil` package that is installed on the host. | ||
For pull-based remote execution mode to work correctly after `yggdrasil` version 0.4.z is installed on the host, the Yggdrasil client configuration must be updated. | ||
Installing the `foreman_ygg_migration` package on the host ensures that {Project} applies the required changes to Yggdrasil configuration. | ||
|
||
On hosts with weak dependencies enabled, {Project} automatically installs the `foreman_ygg_migration` package. | ||
No further steps are required. | ||
|
||
On hosts with weak dependencies disabled, you must install the `foreman_ygg_migration` package manually. | ||
|
||
.Procedure | ||
. Determine which version of the `yggdrasil` package is installed on the host: | ||
+ | ||
[options="nowrap", subs="+quotes,verbatim,attributes"] | ||
---- | ||
$ rpm --query yggdrasil | ||
---- | ||
. If your host has `yggdrasil` version 0.4.z or later installed, the `yggdrasil` and `com.redhat.Yggdrasil1.Worker1.foreman` services are expected to be running. | ||
Check the status of these services: | ||
+ | ||
[options="nowrap", subs="+quotes,verbatim,attributes"] | ||
---- | ||
# systemctl status yggdrasil com.redhat.Yggdrasil1.Worker1.foreman | ||
---- | ||
+ | ||
If the above services are not running, it means that Yggdrasil might not be configured correctly. | ||
. Install the `foreman_ygg_migration` package manually: | ||
+ | ||
[options="nowrap", subs="+quotes,verbatim,attributes"] | ||
---- | ||
# dnf install foreman_ygg_migration | ||
---- | ||
+ | ||
Installing `foreman_ygg_migration` ensures that {Project} applies the required Yggdrasil configuration changes and enables remote execution in pull mode to work as expected. | ||
|
||
.Verification | ||
. Check the status of the Yggdrasil services again: | ||
+ | ||
[options="nowrap", subs="+quotes,verbatim,attributes"] | ||
---- | ||
# systemctl status yggdrasil com.redhat.Yggdrasil1.Worker1.foreman | ||
---- | ||
+ | ||
These services should now be running. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters