Project

General

Profile

Actions

Bug #13305

closed

ansible: fuse: failed to open /dev/fuse: Permission denied

Added by Loïc Dachary over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Jason Dillaman
Category:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

rbd/singleton/{all/merge_diff.yaml} using the OpenStack backend on CentOS 7

2015-09-30T10:44:37.226 INFO:tasks.workunit.client.0.target225133.stderr:+ rbd-fuse -p rbd mnt
2015-09-30T10:44:37.227 INFO:tasks.workunit.client.0.target225133.stderr:ERROR: ld.so: object 'liblttng-ust-fork.so.0' from LD_PRELOAD cannot be preloaded: ignored.
2015-09-30T10:44:37.274 INFO:tasks.workunit.client.0.target225133.stderr:fuse: failed to open /dev/fuse: Permission denied
2015-09-30T10:44:37.275 INFO:tasks.workunit:Stopping ['rbd/merge_diff.sh'] on client.0...
2015-09-30T10:44:37.276 INFO:teuthology.orchestra.run.target225133:Running: 'rm -rf -- /home/ubuntu/cephtest/workunits.list.client.0 /home/ubuntu/cephtest/workunit.client.0'
2015-09-30T10:44:37.344 ERROR:teuthology.parallel:Exception in parallel execution
Traceback (most recent call last):
  File "/home/ubuntu/teuthology/teuthology/parallel.py", line 82, in __exit__
    for result in self:
  File "/home/ubuntu/teuthology/teuthology/parallel.py", line 101, in next
    resurrect_traceback(result)
  File "/home/ubuntu/teuthology/teuthology/parallel.py", line 19, in capture_traceback
    return func(*args, **kwargs)
  File "/home/ubuntu/src/ceph-qa-suite_master/tasks/workunit.py", line 361, in _run_tests
    label="workunit test {workunit}".format(workunit=workunit)
  File "/home/ubuntu/teuthology/teuthology/orchestra/remote.py", line 156, in run
    r = self._runner(client=self.ssh, name=self.shortname, **kwargs)
  File "/home/ubuntu/teuthology/teuthology/orchestra/run.py", line 378, in run
    r.wait()
  File "/home/ubuntu/teuthology/teuthology/orchestra/run.py", line 114, in wait
    label=self.label)
CommandFailedError: Command failed (workunit test rbd/merge_diff.sh) on target225133 with status 1: 'mkdir -p -- /home/ubuntu/cephtest/mnt.0/client.0/tmp && cd -- /home/ubuntu/cephtest/mnt.0/client.0/tmp && CEPH_
Actions #1

Updated by Loïc Dachary over 8 years ago

[ubuntu@vpm086 ~]$ ls -l /dev/fuse
crw------- 1 root root 10, 229 Sep 30 12:53 /dev/fuse
[ubuntu@vpm086 ~]$ lsb_release -a
LSB Version:    :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID:    CentOS
Description:    CentOS Linux release 7.0.1406 (Core) 
Release:    7.0.1406
Codename:    Core
[ubuntu@vpm086 ~]$ 
Actions #2

Updated by Loïc Dachary over 8 years ago

Fails exactly the same way in a VPS from the Sepia lab : http://pulpito.ceph.com/loic-2015-09-30_21:51:20-rbd-infernalis---basic-vps/1078455/

Actions #3

Updated by Loïc Dachary over 8 years ago

  • Status changed from New to 12
Actions #5

Updated by Loïc Dachary over 8 years ago

Dmick, nice catch :-)

Actions #7

Updated by Yuri Weinstein over 8 years ago

  • Priority changed from Normal to Urgent
Actions #8

Updated by Jason Dillaman over 8 years ago

  • Status changed from 12 to In Progress
  • Assignee set to Jason Dillaman
Actions #9

Updated by Jason Dillaman over 8 years ago

Permissions are modified via the install of ceph-common when the postinstall script runs: "systemd-tmpfiles --create"

# cat /run/tmpfiles.d/kmod.conf 
c /dev/fuse 0600 - - - 10:229
c /dev/btrfs-control 0600 - - - 10:234
c /dev/loop-control 0600 - - - 10:237
d /dev/net 0755 - - -
c /dev/net/tun 0600 - - - 10:200
c /dev/ppp 0600 - - - 108:0
c /dev/uinput 0600 - - - 10:223
d /dev/mapper 0755 - - -
c /dev/mapper/control 0600 - - - 10:236
c /dev/uhid 0600 - - - 10:239
d /dev/vfio 0755 - - -
c /dev/vfio/vfio 0600 - - - 10:196
c /dev/vhost-net 0600 - - - 10:238
d /dev/snd 0755 - - -
c /dev/snd/timer 0600 - - - 116:33
d /dev/snd 0755 - - -
c /dev/snd/seq 0600 - - - 116:1
Actions #11

Updated by Jason Dillaman over 8 years ago

  • Status changed from In Progress to Fix Under Review
Actions #12

Updated by Sage Weil over 8 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF