#9714 [ipatests] failures against certbot 3.0
Closed: duplicate by slev. Opened by slev.

With certbot 3.0 several tests fail:

FAILED test_integration/test_acme.py::TestACME::test_certbot_dns - subprocess.CalledProcessError: Command '['certbot', '--server', 'https://ip...
FAILED test_integration/test_acme.py::TestACMEwithExternalCA::test_certbot_dns - subprocess.CalledProcessError: Command '['certbot', '--server', 'https:
//ip...
...
test_integration/test_acme.py::TestACME::test_certbot_dns [ipatests.pytest_ipa.integration.host.Host.client1.IPAOpenSSHTransport] RUN ['certbot', '--server', 'https://ipa-ca.ipa.test/acme/directory', 'certonly', '--non-interactive', '--domain', 'client1.ipa.test', '--preferred-challenges', 'dns', '--manual', '--manual-public-ip-logging-ok', '--manual-auth-hook', '/usr/libexec/ipa/acme/certbot-dns-ipa', '--manual-cleanup-hook', '/usr/libexec/ipa/acme/certbot-dns-ipa', '--key-type', 'rsa']
[ipatests.pytest_ipa.integration.host.Host.client1.cmd135] RUN ['certbot', '--server', 'https://ipa-ca.ipa.test/acme/directory', 'certonly', '--non-interactive', '--domain', 'client1.ipa.test', '--preferred-challenges', 'dns', '--manual', '--manual-public-ip-logging-ok', '--manual-auth-hook', '/usr/libexec/ipa/acme/certbot-dns-ipa', '--manual-cleanup-hook', '/usr/libexec/ipa/acme/certbot-dns-ipa', '--key-type', 'rsa']
[ipatests.pytest_ipa.integration.host.Host.client1.cmd135] usage:               
[ipatests.pytest_ipa.integration.host.Host.client1.cmd135]   certbot [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] ...
[ipatests.pytest_ipa.integration.host.Host.client1.cmd135]                      
[ipatests.pytest_ipa.integration.host.Host.client1.cmd135] Certbot can obtain and install HTTPS/TLS/SSL certificates.  By default,
[ipatests.pytest_ipa.integration.host.Host.client1.cmd135] it will attempt to use a webserver both for obtaining and installing the
[ipatests.pytest_ipa.integration.host.Host.client1.cmd135] certificate.         
[ipatests.pytest_ipa.integration.host.Host.client1.cmd135] certbot: error: unrecognized arguments: --manual-public-ip-logging-ok
[ipatests.pytest_ipa.integration.host.Host.client1.cmd135] Exit code: 2         
[ipatests.pytest_ipa.integration.host.Host.client1.cmd135] stderr: usage:       
  certbot [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] ...                    
Certbot can obtain and install HTTPS/TLS/SSL certificates.  By default,         
it will attempt to use a webserver both for obtaining and installing the        
certificate.                                                                    
certbot: error: unrecognized arguments: --manual-public-ip-logging-ok

https://github.com/certbot/certbot/blob/main/certbot/CHANGELOG.md#300---2024-11-05

The --manual-public-ip-logging-ok command line flag was removed.

Removed in:
https://github.com/certbot/certbot/pull/9991


duplicate of https://pagure.io/freeipa/issue/9724

Metadata Update from @slev:
- Issue close_status updated to: duplicate
- Issue status updated to: Closed (was: Open)

Metadata