This bug is created as a clone of upstream ticket:
The FreeIPA server itself only supports the default ID View, it does not work with customized views for host groups.
The Web UI/CLI should be extended with a validation, to forbid adding FreeIPA servers to the unsupported views. The validator would avoid user confusion when the custom ID View is not working.
Could we solve this also by admonition to
and mentioned that ID View cannot be applied to IPA servers? I am not sure it is mentioned somewhere.
(In reply to Martin Kosek from comment #1)
> Could we solve this also by admonition to
> and mentioned that ID View cannot be applied to IPA servers? I am not sure
> it is mentioned somewhere.
Sure, I cloned this BZ to create doc BZ#1405014.
Test case provided in ipatests/test_integration/test_idviews.py, hence adding TestCaseProvided keyword.
Fix verified on RHEL7.9 with compose RHEL-7.9-20200407.0
Using upstream automated test:
test_xmlrpc/test_idviews_plugin.py::test_idviews::test_command[0042: idview_apply: Apply idview1 to master.testrelm.test] PASSED [ 49%]
test_xmlrpc/test_idviews_plugin.py::test_idviews::test_command[0043: idview_apply: Apply idview1 to ipaservers] PASSED [ 49%]