Fix failure to mount cephfs
Commit 2f6b1c6890
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
This commit is contained in:
parent
847729fb09
commit
42dd7784de
@ -24,7 +24,7 @@
|
|||||||
# use 10.66.1.5:6789
|
# use 10.66.1.5:6789
|
||||||
regex: "[^/]*"
|
regex: "[^/]*"
|
||||||
set_fact:
|
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
|
run_once: true
|
||||||
|
|
||||||
- name: Get cephfs secret
|
- name: Get cephfs secret
|
||||||
|
Loading…
Reference in New Issue
Block a user