http://bugzilla.opensuse.org/show_bug.cgi?id=1189868 http://bugzilla.opensuse.org/show_bug.cgi?id=1189868#c4 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(dimstar@opensuse. | |org) | --- Comment #4 from Dominique Leuenberger <dimstar@opensuse.org> --- The entire test code is documented in https://openqa.opensuse.org/tests/1925185/modules/openldap_to_389ds/steps/1/... The test downloads a pre-installed disk image (See Logs&Assets of the referenced, always latest build) boots it, then does: zypper in 389-ds sssd sssd-tools zypper in info 389-ds # Install openldap since we need use slaptest tools zypper in openldap2 sssd-ldap openldap2-client # Disable and stop the nscd daemon because it conflicts with sssd systemctl --no-pager disable nscd systemctl --no-pager stop nscd # On newer environments, nsswitch.conf is located in /usr/etc # Copy it to /etc directory f=/etc/nsswitch.conf; [ ! -f $f ] && cp /usr$f $f # Configure nsswitch with sssd sed -i 's/^passwd:.*/passwd: compat sss/' /etc/nsswitch.conf sed -i 's/^group:.*/group: compat sss/' /etc/nsswitch.conf cat /etc/nsswitch.conf <===> This is a bit special - it downloads the data from https://github.com/os-autoinst/os-autoinst-distri-opensuse/tree/master/data/... proxied through openQA and puts it into a 'test' directory) # Prepare test env assert_script_run "cd; curl -L -v " . autoinst_url . "/data/openldap_to_389ds > openldap_to_389ds.data && cpio -id < openldap_to_389ds.data && mv data test && ls test"; <===> cd test # We need start openldap to kick out date base file which stored in directory mkdir /tmp/ldap-sssdtest slapd -h 'ldap:///' -f slapd.conf ldapadd -x -D 'cn=root,dc=ldapdom,dc=net' -wpass -f db.ldif killall slapd ps -aux | grep slapd # setup sssd cp ./sssd.conf /etc/sssd/sssd.conf systemctl stop sssd rm -rf /var/lib/sss/db/* systemctl restart sssd systemctl status sssd # Prepare data file for migration sed -i 's/^root_password.*/root_password = $password/' ./instance.inf mkdir slapd.d dscreate from-file ./instance.inf dsctl localhost status The last command, dsctl localhost status is the one failing and returning Error: 'NoneType' object has no attribute 'get' -- You are receiving this mail because: You are on the CC list for the bug.