Description of problem: TLS-E on pre-provisioned nodes fail with: TASK [ipaclient : Install - IPA client test] *********************************** Tuesday 01 September 2020 03:01:10 -0400 (0:00:00.189) 0:12:23.307 ***** fatal: [controller-2]: FAILED! => {"changed": false, "msg": "--server cannot be used without providing --domain"} fatal: [controller-3]: FAILED! => {"changed": false, "msg": "--server cannot be used without providing --domain"} fatal: [controller-1]: FAILED! => {"changed": false, "msg": "--server cannot be used without providing --domain"} Sep 1 07:01:11 controller-1 platform-python[46861]: ansible-ipaclient_test Invoked with domain= servers=[''] hostname=controller-1.redhat.local no_ntp=False force_ntpd=False no_nisdomain=False kinit_attempts=5 configure_firefox=False all_ip_addresses=False on_master=False enable_dns_updates=False realm=None ntp_servers=None ntp_pool=None nisdomain=None ca_cert_files=None firefox_dir=None ip_addresses=None Setting below manually workarounds it. IdMServer: <ipa server ip> IdMDomain: <ipa domain> This need a code fix and doc change to document the workaround till the code is fixed. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
The pagure linked to is pretty old. But the log here comes from the ipaclient ansible module. The problem is probably something in the way that we call things, because even though Sadique did not specify either the Server or the Domain, we run into this issue. It likely has to do with the defaults we use when calling this module. We need to make sure to omit correctly if there are no values provided.
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 (Red Hat OpenStack Platform 16.1.4 director bug fix advisory), 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:0817