Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPA Replica install fails when ipaclient_no_ntp is set true #1171

Open
Aethylred opened this issue Nov 9, 2023 · 2 comments
Open

IPA Replica install fails when ipaclient_no_ntp is set true #1171

Aethylred opened this issue Nov 9, 2023 · 2 comments

Comments

@Aethylred
Copy link

When setting up an IPA replica with ipaclient_no_ntp: true I get the error:

TASK [freeipa.ansible_freeipa.ipareplica : Install - Replica installation test] ***********************************************************************************************************************************************************************************************************
Thursday 09 November 2023  01:50:23 +0000 (0:00:00.019)       0:00:19.524 ***** 
fatal: [ipa02]: FAILED! => {"changed": false, "msg": "NTP configuration cannot be updated during promotion"}

Looking at the line:

if options.no_ntp or options.ntp_servers or options.ntp_pool:

 # The NTP configuration can not be touched on pre-installed client:
        if options.no_ntp or options.ntp_servers or options.ntp_pool:
            ansible_module.fail_json(
                msg="NTP configuration cannot be updated during promotion")

Shouldn't that be if not options.no_ntp or... as this variable is True when NTP is not being configured.

@Aethylred
Copy link
Author

This only happens when if the replica is already installed as a client

@FF186
Copy link

FF186 commented Feb 5, 2024

+1. Face similar issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants