kayobe overcloud service deploy fails at TASK [manila : Mount cephfs]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Fix Released
|
Medium
|
Skylar Tristan Kelty | ||
Wallaby |
Fix Released
|
Medium
|
Unassigned | ||
Xena |
Fix Released
|
Medium
|
Unassigned | ||
Yoga |
Fix Released
|
Medium
|
Skylar Tristan Kelty |
Bug Description
When I run kayobe overcloud service deploy, TASK [manila : Mount cephfs] fails.
OS: CentOS Stream
Release: Wallaby
Images built from source
TASK [manila : include_tasks]
*******
included:
/root/kayobe/
for ctrl-s1-001, ctrl-s1-002, ctrl-s2-001, ctrl-s2-002
TASK [manila : Check /tmp/cephfs path]
*******
ok: [ctrl-s1-001]
TASK [manila : Create /tmp/cephfs path]
*******
changed: [ctrl-s1-001]
TASK [manila : Get monitor dump]
*******
ok: [ctrl-s1-001]
TASK [manila : Get cephfs addr]
*******
ok: [ctrl-s1-001]
TASK [manila : Get cephfs secret]
*******
ok: [ctrl-s1-001]
TASK [manila : Umount cephfs]
*******
ok: [ctrl-s1-001]
TASK [manila : Mount cephfs]
*******
fatal: [ctrl-s1-001]: FAILED! => {"changed": false, "cmd": ["docker",
"exec", "-u", "0", "manila_share", "mount", "-t", "ceph", "10.244.0.5:6789,
10.244.
"name=manila,
"0:00:00.162060", "end": "2021-07-08 19:55:06.926873", "msg": "non-zero
return code", "rc": 32, "start": "2021-07-08 19:55:06.764813", "stderr":
"mount error 13 = Permission denied", "stderr_lines": ["mount error 13 =
Permission denied"], "stdout": "", "stdout_lines": []}
I have attached the manila-share.log on ctrl-s1-001 too.
Then I ran
read -d '' MON_CAPS << EOF
allow r,
allow command "auth del",
allow command "auth caps",
allow command "auth get",
allow command "auth get-or-create"
EOF
AND
ceph auth caps client.manila -o manila.keyring mds 'allow *' osd 'allow rw'
mgr 'allow r' mon "$MON_CAPS"
on a ceph node, and redeployed using kayobe. It completed as expected. The issue is the manila capabilities working here is for Victoria.
Wallaby has a different set of capabilities.
When communicated with manila, they suggested an update in kolla-ansible.
Please see bug report: https:/
Kolla-Ansible patch suggestion: https:/
Changed in kolla-ansible: | |
assignee: | nobody → Skylar Tristan Kelty (skylarkelty) |
ceph capabilities used originally was
ceph auth caps client.manila mon 'allow r' mgr 'allow rw'
as suggested in https:/ /docs.openstack .org/manila/ wallaby/ admin/cephfs_ driver. html