-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
None
Description of problem:
Trying to register an existing RHEL9 client system to my Satellite or Capsule and enabling REX pull mode there via registration template, the bash registration script fails on installing `foreman_ygg_worker` package.
The reason is `satellite-client-6-for-rhel-9-x86_64-rpms` has been disabled - probably from past. And registering the system within the bash script does not update this.
Before installing the package, we should enable the relevant repo.
How reproducible:
100% I guess
Steps to Reproduce:
1. have an existing RHEL9 client system, optionally with explicitly disabled `satellite-client-6-for-rhel-9-x86_64-rpms` repository.
2. generate a global registration bash script with REX pull mode enabled
3. run the curl ... | bash script on the RHEL9 client
Actual behavior:
3. fails with:
```
Starting deployment of REX pull provider
#
- Installing packages
#
Updating Subscription Management repositories.
Red Hat Enterprise Linux 9 for x86_64 - BaseOS (RPMs) 148 kB/s | 4.1 kB 00:00
Red Hat Enterprise Linux 9 for x86_64 - AppStream (RPMs) 169 kB/s | 4.5 kB 00:00
No match for argument: foreman_ygg_worker
Error: Unable to find a match: foreman_ygg_worker
Host [pmoravec-rhel9.EXAMPLE.com] initial configuration failed
```
.. and `/etc/yum.repos.d/redhat.repo` has the `satellite-client-6-for-rhel-9-x86_64-rpms` repo disabled.
Expected behavior:
Register succeeds as therepo is enabled.
- is related to
-
SAT-26924 [rhel9.5 interop testing] -- global registration fails to enable yggdrasil on client
- Closed