services:satellite
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| services:satellite [2022/06/09 16:19] – [Summary] djgalloway | services:satellite [2023/11/30 19:57] (current) – [Summary] dmick | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| **Web Login**: https:// | **Web Login**: https:// | ||
| - | **Username**: | + | **Username**: |
| **Password**: | **Password**: | ||
| Line 24: | Line 24: | ||
| # First get the list of available products | # First get the list of available products | ||
| - | hammer> product list --organization-id | + | hammer> product list --organization-id |
| ----|----------------------------------------------------------------------------------|-------------|--------------|--------------|------------------ | ----|----------------------------------------------------------------------------------|-------------|--------------|--------------|------------------ | ||
| ID | NAME | DESCRIPTION | ORGANIZATION | REPOSITORIES | SYNC STATE | ID | NAME | DESCRIPTION | ORGANIZATION | REPOSITORIES | SYNC STATE | ||
| ----|----------------------------------------------------------------------------------|-------------|--------------|--------------|------------------ | ----|----------------------------------------------------------------------------------|-------------|--------------|--------------|------------------ | ||
| - | 234 | Red Hat Enterprise Linux Server | + | 712 | Red Hat Enterprise Linux Server |
| - | 58 | + | 746 | Red Hat Enterprise Linux High Availability for RHEL Server |
| # Next get all the repositories available for that product (This will take a LONG time to return) | # Next get all the repositories available for that product (This will take a LONG time to return) | ||
| - | hammer> repository-set list --organization-id | + | hammer> repository-set list --organization-id |
| -----|-----------|--------------------------------------------------------------------------------- | -----|-----------|--------------------------------------------------------------------------------- | ||
| ID | TYPE | NAME | ID | TYPE | NAME | ||
| Line 42: | Line 42: | ||
| 2476 | yum | Red Hat Enterprise Linux 7 Server - Supplementary (RPMs) | 2476 | yum | Red Hat Enterprise Linux 7 Server - Supplementary (RPMs) | ||
| - | hammer> repository-set list --organization-id | + | hammer> repository-set list --organization-id |
| 2762 | yum | Red Hat Enterprise Linux High Availability (for RHEL 7 Server) (RPMs) | 2762 | yum | Red Hat Enterprise Linux High Availability (for RHEL 7 Server) (RPMs) | ||
| # Next, enable the new version of RHEL for those repos | # Next, enable the new version of RHEL for those repos | ||
| - | hammer> repository-set enable --id 2463 --product-id | + | hammer> repository-set enable --id 2463 --product-id |
| Repository enabled. | Repository enabled. | ||
| - | hammer> repository-set enable --id 2456 --product-id | + | hammer> repository-set enable --id 2456 --product-id |
| Repository enabled. | Repository enabled. | ||
| - | hammer> repository-set enable --id 2476 --product-id | + | hammer> repository-set enable --id 2476 --product-id |
| Repository enabled. | Repository enabled. | ||
| - | hammer> repository-set enable --id 2762 --product-id | + | hammer> repository-set enable --id 2762 --product-id |
| Repository enabled. | Repository enabled. | ||
| </ | </ | ||
| Line 59: | Line 59: | ||
| **SHORT VERSION FOR RHEL7.9** | **SHORT VERSION FOR RHEL7.9** | ||
| < | < | ||
| - | for id in 2463 2456 2476; do hammer -c / | + | RELEASEVER=7.9; |
| - | hammer -c / | + | hammer -c / |
| </ | </ | ||
| Line 66: | Line 66: | ||
| < | < | ||
| - | hammer> repository-set list --organization-id | + | hammer> repository-set list --organization-id |
| -----|-----------|-------------------------------------------------------------------- | -----|-----------|-------------------------------------------------------------------- | ||
| ID | TYPE | NAME | ID | TYPE | NAME | ||
| Line 92: | Line 92: | ||
| -----|-----------|-------------------------------------------------------------------- | -----|-----------|-------------------------------------------------------------------- | ||
| - | hammer> repository-set enable --organization-id | + | hammer> repository-set enable --organization-id |
| Repository enabled. | Repository enabled. | ||
| - | hammer> repository-set enable --organization-id | + | hammer> repository-set enable --organization-id |
| Repository enabled. | Repository enabled. | ||
| - | hammer> repository-set list --organization-id | + | hammer> repository-set list --organization-id |
| -----|------|---------------------------------------------------------------- | -----|------|---------------------------------------------------------------- | ||
| ID | TYPE | NAME | ID | TYPE | NAME | ||
| Line 105: | Line 105: | ||
| 7956 | yum | Red Hat CodeReady Linux Builder for RHEL 8 x86_64 (Source RPMs) | 7956 | yum | Red Hat CodeReady Linux Builder for RHEL 8 x86_64 (Source RPMs) | ||
| -----|------|---------------------------------------------------------------- | -----|------|---------------------------------------------------------------- | ||
| - | hammer> repository-set enable --organization-id | + | hammer> repository-set enable --organization-id |
| Repository enabled. | Repository enabled. | ||
| + | </ | ||
| + | |||
| + | **SHORT VERSION FOR RHEL8.6** | ||
| + | < | ||
| + | RELEASEVER=8.6; | ||
| </ | </ | ||
| Line 130: | Line 135: | ||
| ===== Errors and Fixes ===== | ===== Errors and Fixes ===== | ||
| - | === Unable to verify server' | + | ==== Error: Loading repository ' |
| + | If RHEL clients are failing to perform yum/dnf transactions, | ||
| + | |||
| + | < | ||
| + | [root@smithi077 ~]# dnf -v update | ||
| + | Loaded plugins: builddep, changelog, config-manager, | ||
| + | Updating Subscription Management repositories. | ||
| + | DNF version: 4.7.0 | ||
| + | cachedir: / | ||
| + | User-Agent: constructed: | ||
| + | repo: using cache for: copr: | ||
| + | copr: | ||
| + | repo: using cache for: epel | ||
| + | epel: using metadata from Tue 09 Aug 2022 02:13:36 AM UTC. | ||
| + | repo: using cache for: lab-extras | ||
| + | lab-extras: using metadata from Thu 28 Jan 2021 11:16:50 PM UTC. | ||
| + | Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs) | ||
| + | reviving: ' | ||
| + | rhel-8-for-x86_64-appstream-rpms: | ||
| + | Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs) | ||
| + | reviving: ' | ||
| + | loading repo ' | ||
| + | Error: Loading repository ' | ||
| + | </ | ||
| + | |||
| + | After you resolve the OOM issue, you will need to resync the repository. | ||
| + | < | ||
| + | for id in $(hammer -c / | ||
| + | </ | ||
| + | |||
| + | ==== Unable to verify server' | ||
| < | < | ||
| mv -f / | mv -f / | ||
| Line 137: | Line 172: | ||
| yum reinstall http:// | yum reinstall http:// | ||
| </ | </ | ||
| + | |||
| + | ==== The DMI UUID of this host (00000000-0000-0000-0000-0CC47AD93748) matches other registered hosts ==== | ||
| + | Satellite 6.4 and before didn't care if you reused a hostname and the UUID was never checked. | ||
| + | |||
| + | An option to ignore this was [[https:// | ||
| + | |||
| + | < | ||
| + | [root@satellite ~]# grep uuid / | ||
| + | candlepin.use_system_uuid_for_matching=false | ||
| + | </ | ||
| + | |||
| + | Turns out this doesn' | ||
| + | < | ||
| + | # diff / | ||
| + | 92c92,93 | ||
| + | < | ||
| + | --- | ||
| + | > # registration_error(" | ||
| + | > | ||
| + | </ | ||
| + | |||
| + | None of this actually ended up working so... | ||
| + | |||
| + | ====== Solved On SATELLITE 6.12 ====== | ||
| + | |||
| + | Despite this, in Jan 2023 we had to install a new Satellite instance, and it's version 6.12; this was chosen for allowing continued support, but initially suffered from the same issue. | ||
| + | https:// | ||
services/satellite.1654791551.txt.gz · Last modified: by djgalloway
