Displaying help for the IdM command-line interface no longer takes unexpectedly long
When the user executes the *ipa* utility with the "--help" option, *ipa* gathers the required information from plug-ins and commands. Previously, the plug-ins and commands were Python modules. With this release, *ipa* generates the plug-ins and commands based on a schema downloaded from the server.
Because of this, displaying the help sometimes took significantly longer than in the previous version of Identity Management (IdM), especially if the help included lists of topics and commands. This bug has been fixed, which reduces the time required to execute *ipa* with "--help".
This bug is created as a clone of upstream ticket:
executing `ipa help <anything>` takes 6+ seconds. This is a performance regression caused by thin client effort.
`ipa help` should be at least as quick(1-2s?) as in versions prior 4.4. Ideally faster.
Verified the bug on the basis of following steps:
1. Verified that performance of 'ipa help commands' is significantly improved with latest ipa server version and corresponding regression issue mentioned in description is not observed.
2. Kindly refer the below console output:
#rpm -q ipa-server && time ipa help commands 1>/dev/null
# rpm -q ipa-server && time ipa help commands 1>/dev/null
Thus on the basis of above points marking status of bug to "VERIFIED"
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.