Verified.
Tested on Satellite 6.13.2 Snap 2.0
Version: candlepin-4.2.15-1.el8sat.noarch
Steps:
1. Imported manifest, enabled few repositories, created and publish CV, Create AK with this CV
2. Register a client with AK create above and check /etc/yum.repos.d/redhat.repo for metadata_expire
# cat /etc/yum.repos.d/redhat.repo | grep metadata_expire
metadata_expire = 1
metadata_expire = 1
metadata_expire = 1
3. Also tried checking the candlepin DB for cp2_content table and there's also metadata_expire set 1
# sudo -u postgres psql -d candlepin -c "select distinct(metadataexpire) from cp2_content;"
could not change directory to "/root": Permission denied
metadataexpire
----------------
1
(1 row)
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Satellite 6.13.2 Async Update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2023:4043
Verified. Tested on Satellite 6.13.2 Snap 2.0 Version: candlepin-4.2.15-1.el8sat.noarch Steps: 1. Imported manifest, enabled few repositories, created and publish CV, Create AK with this CV 2. Register a client with AK create above and check /etc/yum.repos.d/redhat.repo for metadata_expire # cat /etc/yum.repos.d/redhat.repo | grep metadata_expire metadata_expire = 1 metadata_expire = 1 metadata_expire = 1 3. Also tried checking the candlepin DB for cp2_content table and there's also metadata_expire set 1 # sudo -u postgres psql -d candlepin -c "select distinct(metadataexpire) from cp2_content;" could not change directory to "/root": Permission denied metadataexpire ---------------- 1 (1 row)