Bug 2165906
Summary: | inconsistent metadata expiration times cause patch jobs to return no updates available | |||
---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Taft Sanders <tasander> | |
Component: | Candlepin | Assignee: | ojanus | |
Status: | CLOSED ERRATA | QA Contact: | Gaurav Talreja <gtalreja> | |
Severity: | high | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 6.12.1 | CC: | ahumbe, bbuckingham, cdonnell, chrobert, gpayelka, iballou, jlenz, jpasqual, msunil, nmoumoul, ojanus, onerleka, pcreech, pdwyer, pmoravec, rlavi, sadas, wpinheir | |
Target Milestone: | 6.14.0 | Keywords: | Triaged | |
Target Release: | Unused | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | candlepin-4.1.22-1, candlepin-4.2.14-1 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 2172535 2172537 2172538 2211963 (view as bug list) | Environment: | ||
Last Closed: | 2023-11-08 14:18:18 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | 2172535, 2172537, 2172538 | |||
Bug Blocks: |
Description
Taft Sanders
2023-01-31 12:50:53 UTC
Is this a regression from 6.11? Thanks! Brad, This has been there since 6.0 After discussion with Candlepin team and rjerrido, setting component to Candlepin. For standalone Candlepin, metadataExpire should be getting set to 1 during manifest import. This was fixed in Candlepin 4.2. A note on this: Once you upgrade to a candlepin version with the fix for this, you will need to refresh your manifest for the metadataexpire value in the database to change Is there a version of candlepin 4.3.z that this fix is in? Patrick- I'm not sure. Nikos would know better.. @nmoumoul (In reply to Patrick Creech from comment #10) > Is there a version of candlepin 4.3.z that this fix is in? This fix should be in all 4.3.z versions (starting with 4.3.0), since it was fixed before the bump to 4.3. I would recommend using the latest as of now (4.3.6) Verified. Tested on Satellite 6.14.0 Snap 6.0 Version: candlepin-4.3.1-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 metadata_expire = 1 metadata_expire = 1 metadata_expire = 1 metadata_expire = 1 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 (Important: Satellite 6.14 security and bug fix 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/RHSA-2023:6818 |