ipa-test-task(1)
π ipa-test-task β FreeIPA Manual Pages edition π
okay bestie, welcome to ipa-test-task(1), a page straight out of the FreeIPA Manual Pages. grab a strawberry π and let's get into it.
β¨ NAME β¨
ipa-test-task β run a task for FreeIPA testing π§
β¨ SYNOPSIS β¨
ipa-test-task -h
ipa-test-task [global-options] TASK [task-options]
β¨ DESCRIPTION β¨
So basically: this runs a task using your FreeIPA integration testing configuration. It's a tool meant to live inside scripts that test FreeIPA functionality, okay? If you wanna know about the config side of things, go read ipa-test-config(1) for the FreeIPA integration test configuration.
β οΈ NO CAP, LISTEN TO ME: this tool should never be run in a production environment. It is not designed with security in mind. Not even a little. Do not do it. π
β¨ GLOBAL OPTIONS β¨
-h,--helpβ prints out the command's usage and dips. and if you drop it after a subcommand? it prints that subcommand's usage message instead. cute, right? π--with-beakerlibβ turns on BeakerLib integration. log messages get reported throughbeakerlib(1)commands. heads up though: this option requires an active BeakerLib phase. no phase, no vibes. π
β¨ SUBCOMMANDS β¨
like. there are so many. let's go one by one, no skipping, we're doing all of them π«Ά
ipa-test-task install-master [--host HOST]β installs an initial IPA server on the host you give it, or on the configured master if you didn't pass--host.ipa-test-task install-replica [--master MASTER] HOSTβ installs an IPA replica on the given host. it gets initialized from the IPA server you name with--master, or from the configured master if--masterisn't there.ipa-test-task install-client [--master MASTER] HOSTβ installs an IPA client on the given host. same deal: initialized from the IPA server in--master, or the configured master if you skipped--master.ipa-test-task connect-replica HOST1 HOST2β creates a replication agreement between two given replicas. matchmaker energy π₯ipa-test-task disconnect-replica HOST1 HOST2β removes a replication agreement between two given replicas. it's giving breakup era πipa-test-task uninstall-server [HOST [HOST ...]]β uninstalls an IPA server (master or replica) on the given host(s), and restores the host(s) to the state they were in before installation. no host given? then it uninstalls all configured masters and replicas. and if no server is installed on a host, it just does nothing there. respectful. πipa-test-task uninstall-client [HOST [HOST ...]]β uninstalls an IPA client on the given host(s), and restores the host(s) to their pre-installation state. no host given? uninstalls all configured clients. if no client is installed on a host, it does nothing on that host.ipa-test-task uninstall-allβ uninstalls IPA from all configured master, replica and client hosts. it's exactly equivalent to runninguninstall-serveranduninstall-clientwith no arguments. the everything shower of cleanup πΏipa-test-task cleanup [HOST [HOST ...]]β restores system configuration (stuff like/etc/resolv.conf) on the given hosts back to its pre-installation state. no hosts given? it cleans up all configured hosts. lowkey though, this functionality is already included in theuninstall-*subcommands and is rarely useful on its own.ipa-test-task install-topo [--skip-master] [--skip-clients] [--master M] [--replicas R1 [R2...]] [--clients C1 [C2 ...]] TOPOβ installs a whole bunch of FreeIPA servers and clients in the given topology. want the list of available topologies? run thelist-topossubcommand, bestie.
Unless --skip-master is given, an initial server is installed on the host you pass to --master, or on the configured master if --master is missing.
Replicas get installed according to the selected topology on the hosts in --replicas, or on all configured replicas if you didn't give that option.
Unless --skip-clients is given, clients get installed on the hosts in --clients, or on all configured clients if --clients isn't given. and the servers used for client installation are selected in a round-robin fashion. rotating like a playlist π
ipa-test-task list-toposβ lists the topologies available for theinstall-toposubcommand. window shopping β¨ipa-test-task install-adtrust HOSTβ runsipa-adtrust-installon the IPA and generates SIDs for the entries in IPA.ipa-test-task configure-dns-for-trust HOST ADβ configures the IPA DNS for trust based on the relationship of the domains. note: AD DNS needs to be set up manually. that part's on you, babe.ipa-test-task establish-trust-with-ad HOST ADβ establishes trust with Active Directory. the trust type gets detected depending on whether the AD has SfU (Services for Unix) support. iykykipa-test-task remove-trust-with-ad HOST ADβ removes trust with Active Directory. also removes the associated ID range. it's giving closure πipa-test-task configure-auth-to-local-rule HOST ADβ configures theauth_to_localrule in/etc/krb5.confipa-test-task clear-sssd-cache HOSTβ clears the SSSD cache by removing the cache files. then restarts SSSD. fresh start, clean slate πΈipa-test-task setup-sssd-debugging HOSTβ sets up SSSD debugging. and restarts SSSD. πipa-test-task sync-time HOST SERVERβ syncs the time with the remote server. please note that this function leaveschronydstopped. like, it does not turn it back on. heads up!! β°ipa-test-task add-a-records-in-master-domain MASTERβ adds A records to the IPA master for all the hosts in the master domain.ipa-test-task add-a-record MASTER HOSTβ adds an A record for the host to the IPA master.
β¨ EXIT STATUS β¨
0if the command was successful π- nonzero if an error occurred π
β¨ REFERENCES β¨
a full description of the FreeIPA integration testing framework is available at http://www.freeipa.org/page/V3/Integration_testing π
that's the whole page, bestie!! this one's from the FreeIPA crew, dated Aug 29 2013, and it's literally titled ipa-test-task(1) β slay, go test some things, just not in prod πβ¨ππ¦
π¦ where this page comes from
- centos-stream 10: python3-ipatests 4.13.4-1.el10 Β· GPL-3.0-or-later
- centos-stream 9: python3-ipatests 4.13.4-1.el9 Β· GPL-3.0-or-later
- fedora 43: python3-ipatests 4.12.5-3.fc43 Β· GPL-3.0-or-later
- fedora 43: python3-ipatests 4.13.4-2.fc43
- fedora 43: python3-ipatests 4.13.4-3.fc43 Β· GPL-3.0-or-later
- fedora 44: python3-ipatests 4.13.1-9.fc44 Β· GPL-3.0-or-later
- fedora 44: python3-ipatests 4.13.4-2.fc44
- fedora 44: python3-ipatests 4.13.4-3.fc44 Β· GPL-3.0-or-later
- nixos 26.05: freeipa 4.12.5
- nixpkgs unstable: freeipa 4.13.1
- Copyright (C) 2013 Red Hat, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms