Bug 2227934

Summary: Required to test 'passlib library' for deprecation warning of Python crypt module.
Product: Red Hat Enterprise Linux 8 Reporter: Mohit Kushwah <mkushwah>
Component: ansible-coreAssignee: Dimitri Savineau <dsavinea>
Status: CLOSED MIGRATED QA Contact: Matt Clay <mclay>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.10Keywords: MigratedToJIRA
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-09-12 10:44:45 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 Mohit Kushwah 2023-07-31 21:02:34 UTC
Description of problem:


Getting a deprecation warning message while running the Ansible job from Satellite 6.13 on RHEL 8.

It is required to check the availability of passlib library so the functionality can be tested after removal or deprecation of 'Python crypt module'.





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


How reproducible:

- While running the Ansible role from Satellite 6.13 on RHEL 8.


Steps to Reproduce:

-Run the Ansible user module and the password_hash filter on my Satellite server (6.13) on rhel8.




Actual results:

~~~
"[DEPRECATION WARNING]: Encryption using the Python crypt module is deprecated. The Python crypt module is deprecated and will be removed from Python 3.13. Install the passlib library for continued encryption functionality. This feature will be removed in version 2.17. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg."
~~~


Expected results:

Requesting information for the availability of 'passlib' for the Ansible job. 


Additional info:

Comment 1 Christian Heimes 2023-08-14 04:24:19 UTC
The deprecation warning is not related to python-cryptography. The "crypt" module is part of Python's standard library. The warning is coming from Ansible.

Comment 2 RHEL Program Management 2023-09-12 10:16:37 UTC
Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug.

Comment 3 RHEL Program Management 2023-09-12 10:44:45 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.

Due to differences in account names between systems, some fields were not replicated.  Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.

To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer.  You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:

"Bugzilla Bug" = 1234567

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.