Bug 1984984

Summary: Content without architecture is missing from SCA and Entitlement certificates
Product: [Community] Candlepin Reporter: Jonathon Turel <jturel>
Component: candlepinAssignee: candlepin-bugs
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.1CC: dsynk, nmoumoul, redakkan
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: candlepin-4.1.5-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1985359 1985360 (view as bug list) Environment:
Last Closed: 2021-08-03 15:21:10 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:

Description Jonathon Turel 2021-07-22 15:21:11 UTC
Description of problem:

When in SCA mode, Contents defined without an architecture (null) are filtered out of the resulting SCA certificate installed in /etc/pki/entitlement. This is a regression in that those contents should be available despite their null arch.


Version-Release number of selected component (if applicable): 4.1.4


How reproducible:


Steps to Reproduce:
1. Register an x86_64 consumer
2. Create a product and add a Content to it without an arch
3. Enable SCA mode

Actual results:

The content created in (2) is not represented in the SCA cert (verified with rct cat-cert)


Expected results:

The content path should be there

Additional info:

Comment 1 Nikos Moumoulidis 2021-07-23 13:47:49 UTC
Important note: This bug does not only happen in SCA mode. It also happens with normal Entitlement certificates.