Project

General

Profile

Bug #18528

ceph-ansible task does not create client keyrings yet

Added by Tamilarasi muthamizhan about 7 years ago. Updated over 4 years ago.

Status:
New
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 currently assumes only client.admin.keyring as the client keyring file.

rather, it should be able to create client keyrings [like client.0.keyring,..] just like how ceph/other tasks create client keyrings.

since we do not have client keyring files created, ceph-fuse workunits fail with the following error

2017-01-13T00:41:27.736 INFO:teuthology.run_tasks:Running task ceph-fuse...
2017-01-13T00:41:27.826 INFO:tasks.ceph_fuse:Mounting ceph-fuse clients...
2017-01-13T00:41:27.826 INFO:tasks.cephfs.fuse_mount:Client client.0 config is {}
2017-01-13T00:41:27.826 INFO:tasks.cephfs.fuse_mount:Mounting ceph-fuse client.0 at ubuntu@vpm153.front.sepia.ceph.com /home/ubuntu/cephtest/mnt.0...
2017-01-13T00:41:27.826 INFO:teuthology.orchestra.run.vpm153:Running: 'mkdir -- /home/ubuntu/cephtest/mnt.0'
2017-01-13T00:41:27.832 INFO:teuthology.orchestra.run.vpm153:Running: 'sudo mount -t fusectl /sys/fs/fuse/connections /sys/fs/fuse/connections'
2017-01-13T00:41:27.913 INFO:teuthology.orchestra.run.vpm153.stderr:mount: /sys/fs/fuse/connections already mounted or /sys/fs/fuse/connections busy
2017-01-13T00:41:27.913 INFO:teuthology.orchestra.run.vpm153.stderr:mount: according to mtab, none is already mounted on /sys/fs/fuse/connections
2017-01-13T00:41:27.914 INFO:teuthology.orchestra.run.vpm153:Running: 'ls /sys/fs/fuse/connections'
2017-01-13T00:41:27.983 INFO:tasks.cephfs.fuse_mount:Pre-mount connections: []
2017-01-13T00:41:27.983 INFO:teuthology.orchestra.run.vpm153:Running: 'sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage daemon-helper kill ceph-fuse -f --name client.0 /home/ubuntu/cephtest/mnt.0'
2017-01-13T00:41:28.049 INFO:teuthology.orchestra.run.vpm153:Running: 'sudo mount -t fusectl /sys/fs/fuse/connections /sys/fs/fuse/connections'
2017-01-13T00:41:28.067 INFO:teuthology.orchestra.run.vpm153.stderr:mount: /sys/fs/fuse/connections already mounted or /sys/fs/fuse/connections busy
2017-01-13T00:41:28.068 INFO:teuthology.orchestra.run.vpm153.stderr:mount: according to mtab, none is already mounted on /sys/fs/fuse/connections
2017-01-13T00:41:28.068 INFO:teuthology.orchestra.run.vpm153:Running: 'ls /sys/fs/fuse/connections'
2017-01-13T00:41:28.095 INFO:tasks.cephfs.fuse_mount.ceph-fuse.0.vpm153.stdout:ceph-fuse[25023]: starting ceph client
2017-01-13T00:41:28.096 INFO:tasks.cephfs.fuse_mount.ceph-fuse.0.vpm153.stderr:2017-01-13 00:41:28.094804 7f0ae3701ec0 -1 init, newargv = 0x7f0aed10c900 newargc=11
2017-01-13T00:41:28.096 INFO:tasks.cephfs.fuse_mount.ceph-fuse.0.vpm153.stderr:2017-01-13 00:41:28.095409 7f0ae3701ec0 -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-13T00:41:28.097 INFO:tasks.cephfs.fuse_mount.ceph-fuse.0.vpm153.stderr:ceph-fuse[25023]: ceph mount failed with (95) Operation not supported
2017-01-13T00:41:28.097 INFO:tasks.cephfs.fuse_mount.ceph-fuse.0.vpm153.stderr:2017-01-13 00:41:28.096634 7f0ae3701ec0 -1 monclient(hunting): authenticate NOTE: no keyring found; disabled cephx authentication
2017-01-13T00:41:28.293 INFO:tasks.cephfs.fuse_mount.ceph-fuse.0.vpm153.stderr:daemon-helper: command failed with exit status 161
2017-01-13T00:41:29.106 INFO:teuthology.orchestra.run.vpm153:Running: 'sudo mount -t fusectl /sys/fs/fuse/connections /sys/fs/fuse/connections'
2017-01-13T00:41:29.120 INFO:teuthology.orchestra.run.vpm153.stderr:mount: /sys/fs/fuse/connections already mounted or /sys/fs/fuse/connections busy
2017-01-13T00:41:29.120 INFO:teuthology.orchestra.run.vpm153.stderr:mount: according to mtab, none is already mounted on /sys/fs/fuse/connections
2017-01-13T00:41:29.121 INFO:teuthology.orchestra.run.vpm153:Running: 'ls /sys/fs/fuse/connections'
2017-01-13T00:41:29.191 ERROR:teuthology.run_tasks:Saw exception from tasks.
Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/run_tasks.py", line 89, in run_tasks
    manager.__enter__()
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/home/teuthworker/src/github.com_ceph_ceph_master/qa/tasks/ceph_fuse.py", line 126, in task
    mount.mount()
  File "/home/teuthworker/src/github.com_ceph_ceph_master/qa/tasks/cephfs/fuse_mount.py", line 121, in mount
    self.fuse_daemon.wait()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 166, in wait
    label=self.label)
CommandFailedError: Command failed on vpm153 with status 161: 'sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage daemon-helper kill ceph-fuse -f --name client.0 /home/ubuntu/cephtest/mnt.0'
2017-01-13T00:41:29.205 ERROR:teuthology.run_tasks: Sentry event: http://sentry.ceph.com/sepia/teuthology/?q=cba893a0153a4ef98eeebc9f3c3600b3
Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/run_tasks.py", line 89, in run_tasks
    manager.__enter__()
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/home/teuthworker/src/github.com_ceph_ceph_master/qa/tasks/ceph_fuse.py", line 126, in task
    mount.mount()
  File "/home/teuthworker/src/github.com_ceph_ceph_master/qa/tasks/cephfs/fuse_mount.py", line 121, in mount
    self.fuse_daemon.wait()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 166, in wait
    label=self.label)
CommandFailedError: Command failed on vpm153 with status 161: 'sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage daemon-helper kill ceph-fuse -f --name client.0 /home/ubuntu/cephtest/mnt.0'

History

#1 Updated by Anonymous about 7 years ago

  • Assignee set to Anonymous

Assigned to me.

#2 Updated by Anonymous almost 7 years ago

I have reproduced this. I needed to get past problems caused by tracker bug 19425 first.

#3 Updated by Kyrylo Shatskyy over 4 years ago

Just a head up, is this issue still reproducible?

Also available in: Atom PDF