Actions
Bug #18510
closedceph-ansible task needs fix in the way key creation is done
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
% Done:
0%
Source:
Q/A
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):
Description
ceph-ansible task should be able to add key creation, the way ceph task currently does it.
currently, it works for client.0 and NOT when mentioned "all" in the yaml.
pasting below the error received, when tried with all:
an excerpt from config.yaml:
tasks: - ceph-fuse: - workunit: clients: all: - suites/blogbench.sh
an excerpt from teuthology.log below:
2017-01-12T21:40:24.739 INFO:tasks.cephfs.fuse_mount.ceph-fuse.0.vpm163.stdout:ceph-fuse[19523]: starting ceph client 2017-01-12T21:40:24.743 INFO:tasks.cephfs.fuse_mount.ceph-fuse.0.vpm163.stderr:2017-01-12 21:40:24.711119 7fc2290efec0 -1 init, newargv = 0x7fc234548900 newargc=11 2017-01-12T21:40:24.746 INFO:tasks.cephfs.fuse_mount.ceph-fuse.0.vpm163.stderr:2017-01-12 21:40:24.711340 7fc2290efec0 -1 auth: unable to find a keyring on /etc/ceph/ceph.client.0.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin: (2) No such file or directory 2017-01-12T21:40:24.750 INFO:tasks.cephfs.fuse_mount.ceph-fuse.0.vpm163.stderr:ceph-fuse[19523]: ceph mount failed with (95) Operation not supported 2017-01-12T21:40:24.753 INFO:tasks.cephfs.fuse_mount.ceph-fuse.0.vpm163.stderr:2017-01-12 21:40:24.715564 7fc2290efec0 -1 monclient(hunting): authenticate NOTE: no keyring found; disabled cephx authentication
expected result: it should work when mentioned both with specific clients[client.0, client.1] or "all"
Updated by Tamilarasi muthamizhan over 7 years ago
currently, the task ceph_ansible has client.admin hardcoded and so it fails to create keyring files for client.*
Updated by Tamilarasi muthamizhan over 7 years ago
- Status changed from New to Closed
issue 18528 explains it better
Actions