New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dogtag: search past the first 100 certificates #359
Conversation
|
With this fix, more than 100 certificates are displayed and click-able from WebUI overview. However, I'm still getting an error message pop up saying And there is also this message at the bottom of the page: |
|
This change is working for me, including having the expected behaviour for WebUI. @tomaskrizek please provide steps to reproduce your WebUI behaviour. |
|
@frasertweedale Please let me know if you are able to reproduce the issue in this way. It might be possible some unrelated issues may be the cause here. |
|
@tomaskrizek yes, I can reproduce with your steps. |
|
@tomaskrizek @HonzaCholasta it looks like the problem is:
The simplest way to resolve this is (I think) to forcibly execute IMO |
|
@frasertweedale if I tried to briefly go through the cert plugin code but it's a bit messy so my only hope is that the correct filter is indeed used there. On the way through it, though, I found something that seems like another size limit bug: https://github.com/freeipa/freeipa/blob/master/ipaserver/plugins/cert.py#L1306 -> which will not set our "unlimited" if |
|
@stlaz as I see it, the Anyhow I leave to Honza to comment further; he probably understands the code better than me :) |
Dogtag requires a size limit to be specified when searching for certificates. When no limit is specified in the dogtag plugin, a limit of 100 entries is assumed. As a result, an unlimited certificate search returns data only for a maximum of 100 certificates. Raise the "unlimited" limit to the maximum value Dogtag accepts. https://fedorahosted.org/freeipa/ticket/6564
|
I have identified some issues in search limit handling in |
If search limits are not specified in cert-find, use the configured limits. This applies to the certificate search in the CA as well. Detect and report if size limit was exceeded in the certificate search in the CA. Do not apply limits to the internal ca-find call. https://fedorahosted.org/freeipa/ticket/6564
|
I think the behaviour of the command is correct now, but the Web UI is now limited |
|
The behavior of the command seems to be correct now, but I'm also not sure about the WebUI. There seems to be a limit of 20 items when displayed in WebUI (with pagination). I'm not sure if it's possible to configure that. @pvomacka Were there any recent changes in the WebUI pagination? Is it possible to configure how many items should be displayed? |
|
We examined the WebUI side and it behaves as expected - the size limit is respected when viewing certificates. |
Dogtag requires a size limit to be specified when searching for
certificates. When no limit is specified in the dogtag plugin, a limit of
100 entries is assumed. As a result, an unlimited certificate search
returns data only for a maximum of 100 certificates.
Raise the "unlimited" limit to the maximum value Dogtag accepts.
https://fedorahosted.org/freeipa/ticket/6564