Bug 1985360

Summary: Content without architecture is missing from SCA and Entitlement certificates
Product: [Community] Candlepin Reporter: Nikos Moumoulidis <nmoumoul>
Component: candlepinAssignee: candlepin-bugs
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.1CC: candlepin-bugs, dsynk, jturel, nmoumoul, redakkan
Target Milestone: ---   
Target Release: 3.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: candlepin-3.1.30-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1984984 Environment:
Last Closed: 2021-07-28 08:41:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nikos Moumoulidis 2021-07-23 13:50:43 UTC
+++ This bug was initially created as a clone of Bug #1984984 +++

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:

--- Additional comment from Nikos Moumoulidis on 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.