Bug 1968728
| Summary: | BackPort Ansible to Include Support for Rocky Linux ansible_os_family change | ||
|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Gabriel Graves <nebraskacoder> |
| Component: | ansible | Assignee: | Kevin Fenzi <kevin> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | epel8 | CC: | a.badger, adminsys, kevin, maxim, patrick, redhat-bugzilla |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ansible-2.9.23-1.fc35 ansible-2.9.24-2.el7 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-08-13 00:30:42 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
Gabriel Graves
2021-06-07 21:09:44 UTC
Sure. Can try and get this added. Can you all test this scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=70442850 I want to push this out with the next 2.9.x upstream release (which I think is in a week or so). I can confirm that this works! "ansible_os_family": "RedHat" Looks like 2.9.23 is planned for monday (day after tomorrow), so I will push this what that update. :) Thank you very much! FEDORA-2021-93c2b59729 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-93c2b59729 FEDORA-2021-93c2b59729 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report. Hello, We still have this issue Here is the info about my server : root@serverrocky1:/# cat /etc/os-release NAME="Rocky Linux" VERSION="8.4 (Green Obsidian)" ID="rocky" ID_LIKE="rhel fedora" VERSION_ID="8.4" PLATFORM_ID="platform:el8" PRETTY_NAME="Rocky Linux 8.4 (Green Obsidian)" ANSI_COLOR="0;32" CPE_NAME="cpe:/o:rocky:rocky:8.4:GA" HOME_URL="https://rockylinux.org/" BUG_REPORT_URL="https://bugs.rockylinux.org/" ROCKY_SUPPORT_PRODUCT="Rocky Linux" ROCKY_SUPPORT_PRODUCT_VERSION="8" --- I'm launching ansible from a Centos 7 server with ansible 2.9.23-1.el7 I still have this output "ansible_os_family": "Rocky" I've narrowed the issue to this file /usr/lib/python2.7/site-packages/ansible/module_utils/facts/system/distribution.py In this Array, there is not Rocky. OS_FAMILY_MAP = {'RedHat': ['RedHat', 'Fedora', 'CentOS', 'Scientific', 'SLC', 'Ascendos', 'CloudLinux', 'PSBM', 'OracleLinux', 'OVS', 'OEL', 'Amazon', 'Virtuozzo', 'XenServer', 'Alibaba', 'AlmaLinux'], Can you provide output of: rpm -qi ansible Perhaps you installed from ansible.com ? Hello, I installed from epel repository rpm -qi ansible Name : ansible Version : 2.9.23 Release : 1.el7 Architecture: noarch Install Date: Wed 28 Jul 2021 05:45:44 PM GMT Group : Unspecified Size : 108146083 License : GPLv3+ Signature : RSA/SHA256, Wed 23 Jun 2021 12:26:04 AM GMT, Key ID 6a2faea2352c64e5 Source RPM : ansible-2.9.23-1.el7.src.rpm Build Date : Wed 23 Jun 2021 12:18:38 AM GMT Build Host : buildvm-ppc64le-30.iad2.fedoraproject.org Relocations : (not relocatable) Packager : Fedora Project Vendor : Fedora Project URL : http://ansible.com Bug URL : https://bugz.fedoraproject.org/ansible Summary : SSH-based configuration management, deployment, and task execution system Description : Ansible is a radically simple model-driven configuration management, multi-node deployment, and remote task execution system. Ansible works over SSH and does not require any software or daemons to be installed on remote nodes. Extension modules can be written in any language and are transferred to managed machines automatically. I see the issue. ;( Look for a new update in a min here. FEDORA-EPEL-2021-85cfa9cb1c has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-85cfa9cb1c Okay, cool ! The patch is working. Do you know generally how long for it to merge in epel-release centos 7 ? FEDORA-EPEL-2021-85cfa9cb1c has been pushed to the Fedora EPEL 7 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-85cfa9cb1c See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. Thanks ! I can't create a fedora account. I get this "Something went wrong while creating your account, please try again later." This is https://pagure.io/fedora-infrastructure/issue/10126 again it seems. We are working to fix it. FEDORA-EPEL-2021-85cfa9cb1c has been pushed to the Fedora EPEL 7 stable repository. If problem still persists, please make note of it in this bug report. |