"roles/kubernetes-apps/ansible/templates/kubedns-deploy.yml" did not exist on "8b91a43576db8e67ec8cd949cfe76f9925479de0"
- Aug 30, 2022
-
-
Rafael Guterres Jeffman authored
This patch allows local execution of playbook tests using ustream CI testing images. Either 'podman' or 'docker' can be used to execute the tests.
-
- Aug 29, 2022
-
-
Thomas Woerner authored
upstream CI: Fix list evaluation in IPA_ENABLED/IPA_DISABLED tests
-
- Aug 26, 2022
-
-
Rafael Guterres Jeffman authored
Fix short_description flag in plugins, role modules and templates
-
Thomas Woerner authored
Before "short description" was used in most plugins, modules and also in the new module templates. ansible-doc was therefore not showing the short description. To fix the issue the flag was renamed to short_description instead. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2121362 'ansible-doc' -l lists most idm modules as 'UNDOCUMENTED'
-
- Aug 25, 2022
-
-
Rafael Guterres Jeffman authored
When enabling or disabling multiple tests, a comma separated list must be used, but current code is using a colon to split the list. This patch fixes this behavior.
-
Rafael Guterres Jeffman authored
Merge pull request #876 from t-woerner/ipareplica_do_not_overwrite_ipaclient_no_ntp_for_client_part_deployment ipareplica: Do not overwrite ipaclient_no_ntp for client part deployment
-
Thomas Woerner authored
ipauser: Add note on attributes 'first' and 'last' requirements
-
Thomas Woerner authored
upstream CI: enable/disable tests based on test image
-
Rafael Guterres Jeffman authored
Attributes 'first' and 'last' are required if user does not exist, but current documentation doesn't make it clear. This patch adds a note on both attributes to make clear the cases where the attribute is required
-
- Aug 24, 2022
-
-
Rafael Guterres Jeffman authored
Since test configuration can vary in different scenarios (test images) this patch adds a script to list the scenarios configuration, and a step to the playbook test jobs to display the scenario configuration.
-
Rafael Guterres Jeffman authored
Currently, all tests are scheduled to execution, even those that are not executed due to being absent from the list of enabled tests configured in the IPA_ENABLED_* variables. The tests that are not executed are marked 'skipped'. This patch change this behavior by not scheduling tests that are not configured to be executed. It means that tests not the IPA_DISABLED_* lists are not skipped anymore, but not scheduled to be executed. If any test is in IPA_ENABLED_* lists, only those tests are marked for execution. A side effect is that there is no visual feedback on which tests were not executed, as disabled tests are not evaluated anymore. Also, when IPA_SERVER_HOST was not set, all tests were skipped, but an error should raised in this case, as there are no hosts to run the tests against. This patch modifies this behavior to fail the test with an exception if IPA_SERVER_HOST is not set.
-
Rafael Guterres Jeffman authored
Sometimes, mostly due do differences in package versions, there are some tests that fail on a single distribution which cannot be fixed by ansible-freeipa, requiring that the offending package is fixed. To keep tests running succesfully we have options to disable the failing tests, but this changes are globally applied, meaning that, by disabling a test, it is disable in all tested distributions. This patch allows tests to be enabled or disabled for a specific distribution, by setting the configuration on the 'variable' template for the specific testing scenario.
-
Thomas Woerner authored
ipasudorule: Fix usage of 'action' and 'state' in examples.
-
- Aug 23, 2022
-
-
Rafael Guterres Jeffman authored
Some examples in ipasudorule were using `action: enabled` when it should've been `state: enabled`. The examples were fixed.
-
- Aug 18, 2022
-
-
Thomas Woerner authored
The NTP server chrony was always enabled and set up due to overwriting the parameter ipaclient_no_ntp for the client part deployment. For IPA deployments up to 4.6 no_ntp was always used for the client part deployment in ipa-replica-install. But afterwards ntp was configured in the replica deployment part if no_ntp was not set. The ipareplica roles always relied on the client for setting up the NTP server but overwrote the setting for the client deployment part. This did not result in a failure to enable the chrony server in RHEL and Fedora based distributions as NTP server was always required by the ipa-server package. Fixes: #871 (ipa-replica-install with no-ntp is ignored)
-
- Aug 16, 2022
-
-
Varun Mylaraiah authored
ipavault: Fix missing whitespace after keyword issue
-
Varun Mylaraiah authored
ipareplica: ipareplica_setup_adtrust fails while updating ipaNTFlatName
-
Thomas Woerner authored
flake8 reports an issue in ipavault: plugins/modules/ipavault.py:528:20: E275 missing whitespace after keyword The missing whitespace has been added: "and not(" -> "and not ("
-
- Aug 15, 2022
-
-
Thomas Woerner authored
The internal parameter sid_generation_always is generated in ipareplica_test to enable SID generation if ipareplica_setup_adtrust is not enabled. This parameter was not used for ipareplica_prepare though, therefore adtrust.install_check was not executed and did not set the attribute adtrust.netbios_name. As a result adtrust.netbios_name was None and the try to use this as the new NetBIOS domain name failed with an INVALID_SYNTAX error in adtrustinstance while executing ipareplica_setup_adtrust. This issue only occurs if SIDs are not enabled in the domain yet for example with an old deployment.
-
- Jul 28, 2022
-
-
Thomas Woerner authored
ipaclient: Removed invalid call `logger.info()`
-
Varun Mylaraiah authored
ipaserver/ipareplica: Always generate SIDs
-
- Jul 27, 2022
-
-
jpclipffel authored
- Call was responsible for a `TypeError` exception - Call was not useful (already followed by a proper `logger.warning` call) Should fix issue #865: https://github.com/freeipa/ansible-freeipa/issues/865
-
Thomas Woerner authored
The SID is always generated in the command line installers in newer IPA versions. This also needs to be done in the ipaserver and ipareplica roles. For the IPA versions that are supporting this, the adtrust setup is always executed to generated the SIDs, but only configures AD trust if ipaserver_setup_adtrust or ipareplica_setup_adtrust is also enabled. A check has been added to ipaserver_test and ipareplica_test to only enable the SID generation for the IPA versions supporting this. This is related to https://pagure.io/freeipa/8995 Fixes: - https://bugzilla.redhat.com/show_bug.cgi?id=2110478 - https://bugzilla.redhat.com/show_bug.cgi?id=2110491
-
- Jul 25, 2022
-
-
Varun Mylaraiah authored
ipaserver,ipareplica: Fix Random Serial Numbers always enabled
-
Thomas Woerner authored
ipadnsconfig: Fix boolean values comparison
-
Thomas Woerner authored
The option _random_serial_numbers was using with the wrong type in ipaserver_setup_ca.py and ipareplica_setup_ca.py. Therefore RSN was always enabled. Fixes: - https://bugzilla.redhat.com/show_bug.cgi?id=2110523 - https://bugzilla.redhat.com/show_bug.cgi?id=2110526
-
- Jul 21, 2022
-
-
Rafael Guterres Jeffman authored
This patch disables only the tests that are failing due to python-dns issue in FreeIPA, allowing other tests in the test suite to be executed.
-
Rafael Guterres Jeffman authored
Due to an issue with python-dns, FreeIPA is raising an expection when setting a DNS forwarder with a custom port. Separating the test for ipadnsconfig that use forwarders with custom allows the other tests to be correctly executed.
-
Rafael Guterres Jeffman authored
-
Rafael Guterres Jeffman authored
IPA 4.9.10+ handles LDAP boolean values correctly, and the comparison should be executed with the values itself, instead of a string representation.
-
- Jul 08, 2022
-
-
Thomas Woerner authored
upstream CI: enable tests on Fedora Rawide.
-
Thomas Woerner authored
sanity.sh: Allow use of podman instead of docker
-
Rafael Guterres Jeffman authored
ansible_freeipa_module: Use ipaplatform.tasks.parse_ipa_version
-
Rafael Guterres Jeffman authored
When running tests/sanity/sanity.sh locally, podman might be available instead of Docker. Due to current configuration, only Docker is used by sanity.sh. This patch searches for the availability of docker, which is kept as the default container engine to use, and use podman only if docker is not found. This change also allows the execution of the script from a directory other than the repository root.
-
Thomas Woerner authored
api_check_ipa_version was using packaging.version. IPA is using pkg_resources.parse_version in ipaplatform.tasks.parse_ipa_version. With this change tasks.parse_ipa_version from ipaplatform is used to have exactly the same version comparison that also IPA has. Additionally tasks is added to __all__.
-
- Jul 07, 2022
-
-
Rafael Guterres Jeffman authored
This patch enable upstream CI to build a testing Fedora Rawhide container and enables its use in nightly and weekly test runs.
-
- Jul 06, 2022
-
-
Thomas Woerner authored
Fix handling of boolean values for FreeIPA 4.9.10+
-
Rafael Guterres Jeffman authored
Provide own getargspec for roles and modules with Python 3.11
-
Rafael Guterres Jeffman authored
Evaluating boolean values output by FreeIPA must use regular expressions to handle both "TRUE/FALSE" and "True/False".
-
Rafael Guterres Jeffman authored
Checking if some output is present or absent from standard streams was done by simple string searching. Due to recent changes in FreeIPA, this search is not effective due to capitalization differences in boolean values output. Changing the string searching to regular expression searches fixes this behavior for current and previous versions of FreeIPA. This patch also adds more information on the assert tests in case of an error, so that it is easier to understand why the test failed.
-