RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1954747 - Bug fixes for Collection/Automation Hub
Summary: Bug fixes for Collection/Automation Hub
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: rhel-system-roles
Version: 8.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: 8.5
Assignee: Noriko Hosoi
QA Contact: David Jež
Eliane Ramos Pereira
URL:
Whiteboard:
Depends On:
Blocks: 1957484
TreeView+ depends on / blocked
 
Reported: 2021-04-28 17:48 UTC by Noriko Hosoi
Modified: 2021-11-09 20:34 UTC (History)
6 users (show)

Fixed In Version: rhel-system-roles-1.2.2-3.el8
Doc Type: Bug Fix
Doc Text:
.The `requirements.txt` file no longer missing in the Ansible collection Previously, the `requirements.txt` file, responsible for specifying the python dependencies, was missing in the Ansible collection. This fix adds the missing file with the correct dependencies at the `/usr/share/ansible/collections/ansible_collections/redhat/rhel_system_roles/requirements.tx` path.
Clone Of:
: 1957484 (view as bug list)
Environment:
Last Closed: 2021-11-09 17:45:25 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2021:4159 0 None None None 2021-11-09 17:45:49 UTC

Description Noriko Hosoi 2021-04-28 17:48:59 UTC
Description of problem:
This bz covers multiple of bug fixes.

1. nbde_client - broken README.md due to the Automation Hub renderer.

    https://github.com/linux-system-roles/nbde_client/pull/46
    README.md - Adding a blank line after nbde_client_bindings -- merged

    VERIFICATION STEPS:
    Import the fixed nbde_client to AH and render the README.md.

2. SAP issue - lsr_role2collection.py does not convert the legacy role path 
   if the role is not the one to be converted.

    https://github.com/linux-system-roles/auto-maintenance/issues/65
    https://github.com/linux-system-roles/auto-maintenance/pull/68

    VERIFICATION STEPS:
    Convert sap-hana-preconfigure to the collection format using 
    lsr_role2collection.py having the pr/68 fix with the option
    --extra-mapping "timesync:redhat.rhel_system_roles.timesync,sap-base-settings:sap-base-settings,sap-preconfigure:sap-preconfigure"
    Check the converted README.md to have:
      - 'redhat.rhel_system_roles.timesync'
      - 'microsoft.rhel.sap-base-settings' (for RHEL 7.x until RHEL 7.5)
      - 'microsoft.rhel.sap-preconfigure' (for RHEL 7.6 and later and RHEL 8.x)
          - { role: microsoft.rhel.sap-base-settings }
          - { role: microsoft.rhel.sap-hana-preconfigure }
    Note: the namespace and the collection name of SAP might not be accurate.
    Before verifying this bug fix, please get the accurate names.
    

3. Collections - add requirements.txt, bindep.txt for requirements 
   [RHELPLAN-76440]

    https://github.com/linux-system-roles/auto-maintenance/pull/69
    Improve dependencies in the packaging #69

    https://src.fedoraproject.org/rpms/linux-system-roles/pull-request/7#
    #7 collections - add requirements.txt, bindep.txt for requirements

    VERIFICATION STEPS:
    Install rhel-system-roles rpm package and check this file exists.
    /usr/share/ansible/collections/ansible_collections/redhat/rhel_system_roles/requirements.txt
    and it contains these python dependencies:
    ==> /usr/share/ansible/collections/ansible_collections/redhat/rhel_system_roles/requirements.txt <==
    jmespath
    netaddr

Comment 1 Noriko Hosoi 2021-04-28 18:13:58 UTC
A correction: the item 2 "SAP issue" should be separated as it does not belong to the "rhel-system-roles package".

Comment 5 Rich Megginson 2021-05-18 00:30:40 UTC
@nhosoi Can you provide the verification steps?

Comment 22 errata-xmlrpc 2021-11-09 17:45:25 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/RHBA-2021:4159


Note You need to log in before you can comment on or make changes to this bug.