qa: the default CEPH_ASOK_DIR is asok/ now

Or the find_admin_socket() couldn't find the correct asok path.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
This commit is contained in:
Xiubo Li 2022-09-13 13:46:51 +08:00
parent 7c73866e7d
commit 6bbb29cb3a

View File

@ -606,7 +606,7 @@ class LocalCephFSMount():
# Load the asok path from ceph.conf as vstart.sh now puts admin sockets
# in a tmpdir. All of the paths are the same, so no need to select
# based off of the service type.
d = "./out"
d = "./asok"
with open(self.config_path) as f:
for line in f:
asok_conf = re.search("^\s*admin\s+socket\s*=\s*(.*?)[^/]+$", line)