From 42dd7784de8d1b22cf18a7aefbc6783efe4bd7ea Mon Sep 17 00:00:00 2001 From: Pierre Riteau Date: Mon, 11 Mar 2019 18:26:12 +0000 Subject: [PATCH] Fix failure to mount cephfs Commit 2f6b1c6890cf7ea6b0dd33ac219646e4dcaf1fd6 changed the way the cephfs source path was generated and dropped the source path component, keeping only the list of IPs and ports. This results in failures to mount cephfs with the following message: source mount path was not specified failed to resolve source Change-Id: I94d18ec064971870264ae8d0b279564f2172e548 Closes-Bug: #1819502 --- ansible/roles/manila/tasks/fix_cephfs_owner.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/manila/tasks/fix_cephfs_owner.yml b/ansible/roles/manila/tasks/fix_cephfs_owner.yml index f792b48b95..ceb76788ad 100644 --- a/ansible/roles/manila/tasks/fix_cephfs_owner.yml +++ b/ansible/roles/manila/tasks/fix_cephfs_owner.yml @@ -24,7 +24,7 @@ # use 10.66.1.5:6789 regex: "[^/]*" set_fact: - cephfs_addr: "{{ ceph_monitor_dump.stdout | from_json | json_query(query) | map('regex_search', regex) | join(',') }}" + cephfs_addr: "{{ ceph_monitor_dump.stdout | from_json | json_query(query) | map('regex_search', regex) | join(',') }}:/" run_once: true - name: Get cephfs secret