Bugzilla – Bug 1117643
[Build 20181127] yast ldap server module does not report error about missing package
Last modified: 2019-07-02 13:58:28 UTC
Created attachment 791151 [details] YaST logs ## Observation In our test we do basic LDAP setup using YaST module, press Ok, and then application doesn't close and stays on the same screen. No errors reported. There is an issue with 389-ds package being missing, (see https://bugzilla.opensuse.org/show_bug.cgi?id=1116552), but previously we got error reported: https://openqa.opensuse.org/tests/798945#step/yast2_samba/19 As of now app is open without notifying user about any issue. Steps to reproduce: 1. Install TW with X11 2. Start yast ldap-server 3. Complete configuration and press Ok 4. No errors reported, initial screen is shown 5. Expected result: either error is shown why configuration failed, or window is closed after pressing ok. Please, find logs in the attachment. openQA test in scenario opensuse-Tumbleweed-DVD-x86_64-yast2_ncurses@64bit fails in [yast2_samba](https://openqa.opensuse.org/tests/805243/modules/yast2_samba/steps/22) ## Reproducible Fails since (at least) Build [20181118](https://openqa.opensuse.org/tests/800448) ## Expected result Last good: [20181116](https://openqa.opensuse.org/tests/798945) (or more recent) ## Further details Always latest result in this scenario: [latest](https://openqa.opensuse.org/tests/latest?flavor=DVD&arch=x86_64&test=yast2_ncurses&version=Tumbleweed&distri=opensuse&machine=64bit)
Is there also /root/yast2-auth-server-dir-setup.log available ?
(In reply to Stefan Schubert from comment #1) > Is there also /root/yast2-auth-server-dir-setup.log available ? Not needed anymore. I see the error :-)
Tracked in Trello: https://trello.com/c/p991BuFb/2721-1117643-yast-ldap-server-module-does-not-report-error-about-missing-package
The code does not check if the package installation has been successfully finished.: https://github.com/yast/yast-auth-server/blob/master/src/lib/authserver/ui/new_dir_inst.rb#L101
Well, yast-ldap-server is dead, for 4 years already And Auth server is Peter's
(In reply to Lukas Ocilka from comment #5) > Well, yast-ldap-server is dead, for 4 years already > And Auth server is Peter's It looks like the yast2-auth-server, we are just calling the LDAP setup wizard using: $ yast2 ldap-server https://openqa.opensuse.org/tests/908109#step/yast2_samba/16 or 1. $ yast2 2. got to Network Services and Create New Directory Server Afterward, configure Directory Server with TLS and hit OK. Yast2 will print a message "Installing new instance, it may take a minute or two" and returns back to the filled form of LDAP settings wizard. Pressing OK button does not let the user continue further. From the logs, it looks like Yast is able to set the LDAP hostname, install missing required rpms, but there are many dbus eeror messages in the logs Apr 16 07:39:42 openqa.ldaptest.org dbus-daemon[2959]: [system] Failed to reset fd limit before activating service: org.freedesktop.DBus.Error.AccessDenied: Failed to restore old fd limit: Operation not permitted Apr 16 07:39:42 openqa.ldaptest.org dbus-daemon[861]: [system] Successfully activated service 'org.opensuse.Snapper' Apr 16 07:40:21 openqa.ldaptest.org dbus-daemon[861]: [system] Activating via systemd: service name='org.freedesktop.resolve1' unit='dbus-org.freedesktop.resolve1.service' requested by ':1.6' (uid=0 pid=962 comm="/usr/sbin/NetworkManager --no-daemon ") Apr 16 07:40:21 openqa.ldaptest.org dbus-daemon[861]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.resolve1.service': Unit dbus-org.freedesktop.resolve1.service not found
Created attachment 803039 [details] journalctl
Created attachment 803040 [details] y2logs from opensuse-Tumbleweed-DVD-x86_64-Build20190414-yast2_ncurses
yast2-maintainers@suse.com is the wrong maintainer for this package. yast2-ldap is now maintained by the Samba team. Reassigning.
still failing very reproducibly: https://openqa.opensuse.org/tests/971783 Setting blocker flag (as should be done for all bugs that make tests fail). I guess also no one would mind when we make it CONFIRMED?