Bug 1982956

Summary: ipatests: NAMED_CRYPTO_POLICY_FILE not defined for RHEL
Product: Red Hat Enterprise Linux 8 Reporter: Alexander Bokovoy <abokovoy>
Component: ipaAssignee: Thomas Woerner <twoerner>
Status: CLOSED ERRATA QA Contact: ipa-qe <ipa-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.4CC: amore, frenaud, gkaihoro, rcritten, sumenon, tscherf
Target Milestone: betaKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: idm-DL1-8050020210722074330.3d2c466f Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-09 18:29:52 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 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