Bug 2185002

Summary: spec: Remove doc fragments from vendored modules
Product: Red Hat Enterprise Linux 9 Reporter: Sergei Petrosian <spetrosi>
Component: rhel-system-rolesAssignee: Sergei Petrosian <spetrosi>
Status: CLOSED ERRATA QA Contact: Vaclav Danek <vdanek>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.3CC: djez, jharuda, rmeggins, spetrosi, vdanek
Target Milestone: rcKeywords: Triaged
Target Release: 9.3Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhel-system-roles-1.22.0-0.6.el9 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 2186198 (view as bug list) Environment:
Last Closed: 2023-11-07 08:29:39 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:    
Bug Blocks: 2186198    

Description Sergei Petrosian 2023-04-06 13:00:15 UTC
Description of problem:
Import of collection into Automation Hub gives this error

ERROR! module redhat.rhel_system_roles.rhsm_release missing documentation (or could not parse documentation): unknown doc_fragment(s) in file /tmp/tmps6nwd83z/ansible_collections/redhat/rhel_system_roles/plugins/modules/rhsm_release.py: redhat.rhel_system_roles.attributes

The rhsm_release.py includes doc fragments like this:

extends_documentation_fragment:
  - community.general.attributes

Because the vendored modules are to used by the roles internally only, we can remove the fragments instead of shipping them.

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

Comment 14 errata-xmlrpc 2023-11-07 08:29:39 UTC
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 (rhel-system-roles bug fix and enhancement 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/RHEA-2023:6390