qa: use root to find client admin socket

Permissions on /var/run/ceph changed post-Mimic.

Fixes: http://tracker.ceph.com/issues/24872

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
This commit is contained in:
Patrick Donnelly 2018-07-11 11:28:20 -07:00
parent c05a7473d0
commit 4d3060b990
No known key found for this signature in database
GPG Key ID: 3A2A7E25BEA8AADB

View File

@ -394,7 +394,7 @@ print find_socket("{client_name}")
# Find the admin socket
p = self.client_remote.run(args=[
'python', '-c', pyscript
'sudo', 'python2', '-c', pyscript
], stdout=StringIO())
asok_path = p.stdout.getvalue().strip()
log.info("Found client admin socket at {0}".format(asok_path))