Comment 66 for bug 1566508

Revision history for this message
Victor Tapia (vtapia) wrote :

# VERIFICATION FOR TRUSTY (LP#1566508)

- Version of the package: 1.11.8-0ubuntu0.7

$ ssh vtapia-trusty "dpkg -l | grep -i sssd"
Warning: Permanently added 'vtapia-trusty,10.5.1.100' (ECDSA) to the list of known hosts.
ii libsss-idmap0 1.11.8-0ubuntu0.7 amd64 ID mapping library for SSSD
ii sssd 1.11.8-0ubuntu0.7 amd64 System Security Services Daemon -- metapackage
ii sssd-ad 1.11.8-0ubuntu0.7 amd64 System Security Services Daemon -- Active Directory back end
ii sssd-ad-common 1.11.8-0ubuntu0.7 amd64 System Security Services Daemon -- PAC responder
ii sssd-common 1.11.8-0ubuntu0.7 amd64 System Security Services Daemon -- common files
ii sssd-ipa 1.11.8-0ubuntu0.7 amd64 System Security Services Daemon -- IPA back end
ii sssd-krb5 1.11.8-0ubuntu0.7 amd64 System Security Services Daemon -- Kerberos back end
ii sssd-krb5-common 1.11.8-0ubuntu0.7 amd64 System Security Services Daemon -- Kerberos helpers
ii sssd-ldap 1.11.8-0ubuntu0.7 amd64 System Security Services Daemon -- LDAP back end
ii sssd-proxy 1.11.8-0ubuntu0.7 amd64 System Security Services Daemon -- proxy back end

- Using the following script to confirm that the direct mountpoints are available after a reboot:

#!/bin/bash
OK=0
KO=0
while true ; do
VM="vtapia-trusty"
nova reboot ${VM}
sleep 40
nc -z cases 22 || sleep 20
ssh -o PreferredAuthentications=publickey -o PubkeyAuthentication=yes ubuntu@${VM} "tail /var/log/syslog -n200 | grep -Ei 'autofs|automount|sssd' | grep -v apparmor && ls /direct/ok"

if [ $? != 0 ] ; then
KO=$((KO + 1))
break
else
OK=$((OK + 1))
fi
echo "$OK $KO"
done

- The output shows 256 reboots without the race condition:

Warning: Permanently added 'vtapia-trusty,10.5.1.100' (ECDSA) to the list of known hosts.
Jun 6 10:10:35 vtapia-trusty sssd: Starting up
Jun 6 10:10:35 vtapia-trusty sssd[be[openstacklocal]]: Starting up
Jun 6 10:10:35 vtapia-trusty sssd[pam]: Starting up
Jun 6 10:10:35 vtapia-trusty sssd[autofs]: Starting up
Jun 6 10:10:35 vtapia-trusty sssd[nss]: Starting up
/direct/ok
256 0

- And to confirm, here's the output of running "mount" and "ls /direct""

ubuntu@vtapia-bastion:~/cases/sf00098162$ ssh vtapia-trusty "ls -acl /direct/; mount |grep nfs"
Warning: Permanently added 'vtapia-trusty,10.5.1.100' (ECDSA) to the list of known hosts.
total 8
drwxr-xr-x 2 ubuntu ubuntu 4096 May 30 2016 .
drwxr-xr-x 24 root root 4096 Jun 6 10:21 ..
-rw-rw-r-- 1 ubuntu ubuntu 0 May 30 2016 ok
nfs.cloud.sts:/home/ubuntu on /home/ubuntu type nfs (rw,nosuid,nodev,hard,intr,sloppy,vers=4,addr=10.5.1.84,clientaddr=10.5.1.100)
nfs.cloud.sts:/export/direct on /direct type nfs (rw,nosuid,nodev,hard,intr,rsize=8192,wsize=8192,sloppy,addr=10.5.1.84)