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: NEW --- QA Contact: Matt Clay <mclay>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.10   
Target Milestone: rc   
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: 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.