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 1957484 - Bug fixes for Collection/Automation Hub [rhel-9.0.0]
Summary: Bug fixes for Collection/Automation Hub [rhel-9.0.0]
Keywords:
Status: CLOSED DUPLICATE of bug 1961404
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: rhel-system-roles
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: 9.0 Beta
Assignee: Rich Megginson
QA Contact: David Jež
URL:
Whiteboard:
Depends On: 1954747
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-05 20:35 UTC by Noriko Hosoi
Modified: 2021-06-11 16:39 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1954747
Environment:
Last Closed: 2021-05-23 21:47:42 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)

Description Noriko Hosoi 2021-05-05 20:35:22 UTC
+++ This bug was initially created as a clone of Bug #1954747 +++

I am cloning this bug because: 
This BZ is to ensure that change made on 8.5.0 is propagated to 9.0.0.

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

--- Additional comment from Noriko Hosoi on 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 1 Noriko Hosoi 2021-05-17 21:37:57 UTC
Hi David,

This bz is part of the rhel-9.0.0 beta branch's rebasing to the latest 8.5.0.

This is the scratch build from my private branch to open a merge request for centos 9 stream.
Task info: https://kojihub.stream.rdu2.redhat.com/koji/taskinfo?taskID=267844
https://kojihub.stream.rdu2.redhat.com/koji/taskinfo?taskID=267846

Could you please give a qa_ack+? Thanks!!

Comment 2 Noriko Hosoi 2021-05-23 21:47:42 UTC
No need to have a separate clone for rhel-9.

*** This bug has been marked as a duplicate of bug 1961404 ***


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