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 1982956 - ipatests: NAMED_CRYPTO_POLICY_FILE not defined for RHEL
Summary: ipatests: NAMED_CRYPTO_POLICY_FILE not defined for RHEL
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: ipa
Version: 8.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: Thomas Woerner
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-16 06:14 UTC by Alexander Bokovoy
Modified: 2021-11-10 00:01 UTC (History)
6 users (show)

Fixed In Version: idm-DL1-8050020210722074330.3d2c466f
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-09 18:29:52 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FREEIPA-7286 0 None None None 2021-11-09 18:32:52 UTC
Red Hat Product Errata RHBA-2021:4230 0 None None None 2021-11-09 18:30:16 UTC

Description Alexander Bokovoy 2021-07-16 06:14:39 UTC
This bug was initially created as a copy of Bug #1982952

I am copying this bug because: 



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 1 Florence Blanc-Renaud 2021-07-16 06:19:57 UTC
Upstream ticket:
https://pagure.io/freeipa/issue/8925

Comment 2 Florence Blanc-Renaud 2021-07-16 13:39:59 UTC
Fixed upstream
master:
https://pagure.io/freeipa/c/178fb134fb4f4f465376020292f111a7aa099f30

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

Comment 7 Ganna Kaihorodova 2021-08-04 13:16:45 UTC
Bugzilla tested and verified with existing automation with latest rhel8.5 compose

ipa-server-4.9.6-4.module+el8.5.0+11912+1b4496cf.x86_64.rpm 

Passed	test_integration/test_upgrade.py::TestUpgrade::()::test_named_conf_crypto_policy	0.04	
------------------------------ Captured log call -------------------------------
transport.py               436 INFO     GET /etc/named.conf
transport.py               513 DEBUG    RUN ['cat', '/etc/named.conf']
transport.py               217 DEBUG    Exit code: 0

Comment 9 errata-xmlrpc 2021-11-09 18:29:52 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (ipa bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:4230


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