Project

General

Profile

Bug #18510

ceph-ansible task needs fix in the way key creation is done

Added by Tamilarasi muthamizhan over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
01/12/2017
Due date:
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:

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"

History

#1 Updated by Tamilarasi muthamizhan over 2 years ago

currently, the task ceph_ansible has client.admin hardcoded and so it fails to create keyring files for client.*

#2 Updated by Tamilarasi muthamizhan over 2 years ago

  • Status changed from New to Closed

issue 18528 explains it better

Also available in: Atom PDF