-
Notifications
You must be signed in to change notification settings - Fork 138
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
Inadvertent sssd related calls in Leap 15.4 #2429
Comments
Thanks @phillxnet ! |
OK, so it looks like 'just-asking' dbus InfoPipe for group info via sssd results in the exact same sssd initialisation and consequent slowdown/timeout (but only in 15.4): On command line we do:
And experience a delay for our response (second line above).
We receive the, as per groups page visit of:
Where-as with our prior older InfoPipe etc in Leap 15.3 we have the following behaviour:
Where the above fails imidiately and doesn't try to start the related services.
So in Leap 15.3 we have an instant fail / return when we 'ask' for sssd stuff as sssd is not running (in both OS's above) but in Leap 15.4 we have a timeout and a resulting attempt to start the sssd service which, as it's not configured yet, fails. |
I think what we are seeing here is a difference in the systemd setup of InfoPipe between 15.3 and 15.4:
|
Where the new sssd-ifp.service associated with the newer 15.4 sssd-dbus package has an invocation thus:
|
Interestingly when we remove the pivital app in this case:
And then re-run our cli reproducer for our observed delay in groups page visit:
Re-indicating such a call does in fact now invoke our .service in a way it did not in Leap 15.3. |
Add simple sssd service running checks to avoid inadvertent slow-downs in Leap 15.4 where our InfoPipe requests initiated a previously not observed, in earlier Leap versions, sssd service start. Includes additional comments and TODO in services concerning speed-ups/simplifications regarding simple/fast service status enquiry.
…_calls_in_Leap_15.4 Inadvertent sssd related calls in Leap 15.4 #2429
Closing as: |
During experimental preparation for our re-basing on openSUSE Leap 15.4 via pending pr #2427 for issue #2424, it was discovered that we appear, in 15.4 only, to be calling on sssd inadvertently, prior to its configuration for AD/LDAP function, resulting in massive slow-downs in group and some deeper user page views:
Reproducer - visit/refresh groups page:
In the above we see that, as part of the initial diagnosis, we ended up installing the last of our sssd related dependencies before this issue was triggerable, the so-called InfoPipe, from:
unit='sssd-ifp.service' requested by ':1.33' (uid=0 pid=13385 comm="/usr/bin/python2 /opt/rockstor-dev/bin/gunicorn --")
which in turn finds our sssd not working, because there is no AD setup. Hence a suspected failing check on if AD / sssd is enabled.
Thanks to @FroggyFlox for assistance in the initial diagnosis of what might be going awry here.
The text was updated successfully, but these errors were encountered: