Bug 2227934 - Required to test 'passlib library' for deprecation warning of Python crypt module.
Summary: Required to test 'passlib library' for deprecation warning of Python crypt mo...
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: ansible-core
Version: 8.10
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Dimitri Savineau
QA Contact: Matt Clay
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-31 21:02 UTC by Mohit Kushwah
Modified: 2023-08-14 04:24 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FREEIPA-10206 0 None None None 2023-07-31 21:03:29 UTC
Red Hat Issue Tracker RHELPLAN-163949 0 None None None 2023-07-31 21:03:34 UTC

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.


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