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 1982952 - ipatests: NAMED_CRYPTO_POLICY_FILE not defined for RHEL
Summary: ipatests: NAMED_CRYPTO_POLICY_FILE not defined for RHEL
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: ipa
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: Florence Blanc-Renaud
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-16 05:58 UTC by anuja
Modified: 2021-12-07 21:31 UTC (History)
4 users (show)

Fixed In Version: ipa-4.9.6-4.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-12-07 21:30:47 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Pagure freeipa issue 8925 0 None None None 2021-07-16 06:18:21 UTC
Red Hat Issue Tracker FREEIPA-7436 0 None None None 2021-12-02 14:30:33 UTC

Description anuja 2021-07-16 05:58:11 UTC
Description of problem:
Upstream test test_named_conf_crypto_policy failing on RHEL


Version-Release number of selected component (if applicable):
ipa-4.9.6-1.el9


Steps to Reproduce:
1. run upstream ipatests/test_integration/test_upgrade.py::test_named_conf_crypto_policy()

Actual results:
>       assert paths.NAMED_CRYPTO_POLICY_FILE in named_conf
E       TypeError: 'in <string>' requires string as left operand, not NoneType

TypeError: 'in <string>' requires string as left operand, not NoneType

Comment 2 Alexander Bokovoy 2021-07-16 06:13:59 UTC
NAMED_CRYPTO_POLICY_FILE constant defined in 'fedora' backend needs to be propagated to 'rhel' backend as we have the same crypto-policies there in RHEL 8.4+

Comment 3 Florence Blanc-Renaud 2021-07-16 06:18:19 UTC
Upstream ticket:
https://pagure.io/freeipa/issue/8925

Comment 4 Florence Blanc-Renaud 2021-07-16 13:40:21 UTC
Fixed upstream
master:
https://pagure.io/freeipa/c/178fb134fb4f4f465376020292f111a7aa099f30

Comment 5 Florence Blanc-Renaud 2021-07-16 17:19:08 UTC
Fixed upstream
ipa-4-9:
https://pagure.io/freeipa/c/1a5159b216455070eb51b6a11ceaf0033fc8ce4c

Comment 10 Kaleem 2021-07-29 07:42:00 UTC
Test( test_named_conf_crypto_policy ) is executed and successful in nightly, based on this info moving it to verified

snip from automation log files:

(1) test-result.txt.gz

============================= test session starts ==============================
platform linux -- Python 3.9.6, pytest-6.2.2, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3
cachedir: /home/cloud-user/.pytest_cache
collecting ... collected 9 items

test_integration/test_upgrade.py::TestUpgrade::test_named_conf_crypto_policy PASSED [ 33%]

(2) runner.log 

2021-07-29T06:59:45+0000 ok: [master.testrelm.test] => (item=ipa-server) => 
2021-07-29T06:59:45+0000   msg:
2021-07-29T06:59:45+0000   - arch: x86_64
2021-07-29T06:59:45+0000     epoch: null
2021-07-29T06:59:45+0000     name: ipa-server
2021-07-29T06:59:45+0000     release: 4.el9
2021-07-29T06:59:45+0000     source: rpm
2021-07-29T06:59:45+0000     version: 4.9.6


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