Actions
Bug #51440
closedfallocate fails with EACCES
Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Looks like some sort of spurious permissions issue:
2021-06-29T03:22:03.642 DEBUG:teuthology.orchestra.run.smithi053:> stat --file-system '--printf=%T 2021-06-29T03:22:03.643 DEBUG:teuthology.orchestra.run.smithi053:> ' -- /home/ubuntu/cephtest/mnt.0 2021-06-29T03:22:03.651 INFO:teuthology.orchestra.run.smithi053.stdout:fuseblk 2021-06-29T03:22:03.651 INFO:tasks.cephfs.fuse_mount:ceph-fuse is mounted on /home/ubuntu/cephtest/mnt.0 2021-06-29T03:22:03.652 INFO:teuthology.orchestra.run:Running command with timeout 900 2021-06-29T03:22:03.652 DEBUG:teuthology.orchestra.run.smithi053:> sudo chmod 1777 /home/ubuntu/cephtest/mnt.0 2021-06-29T03:22:03.665 DEBUG:teuthology.orchestra.run.smithi053:> mktemp 2021-06-29T03:22:03.714 INFO:teuthology.orchestra.run.smithi053.stdout:/tmp/tmp.8BxiMWCRFC 2021-06-29T03:22:03.715 DEBUG:teuthology.orchestra.run.smithi053:> set -ex 2021-06-29T03:22:03.715 DEBUG:teuthology.orchestra.run.smithi053:> dd of=/tmp/tmp.8BxiMWCRFC 2021-06-29T03:22:03.723 DEBUG:teuthology.orchestra.run.smithi053:> mktemp --suffix=dump1 2021-06-29T03:22:03.729 INFO:teuthology.orchestra.run.smithi053.stdout:/tmp/tmp.oZEHgZmlPEdump1 2021-06-29T03:22:03.730 INFO:teuthology.orchestra.run:Running command with timeout 900 2021-06-29T03:22:03.730 DEBUG:teuthology.orchestra.run.smithi053:> (cd /home/ubuntu/cephtest/mnt.0 && exec sudo fallocate -l 1 /tmp/tmp.oZEHgZmlPEdump1) 2021-06-29T03:22:03.797 INFO:teuthology.orchestra.run.smithi053.stderr:fallocate: cannot open /tmp/tmp.oZEHgZmlPEdump1: Permission denied 2021-06-29T03:22:03.798 DEBUG:teuthology.orchestra.run:got remote process result: 1 2021-06-29T03:22:03.800 INFO:teuthology.nuke.actions:Clearing teuthology firewall rules... 2021-06-29T03:22:03.801 DEBUG:teuthology.orchestra.run.smithi053:> sudo sh -c 'iptables-save | grep -v teuthology | iptables-restore'
So it created a file using mktemp and then fallocate failed with EACCES.
Updated by Jeff Layton almost 3 years ago
- Subject changed from Test failure: test_ls_H_prints_human_readable_file_size (tasks.cephfs.test_cephfs_shell.TestLS) to fallocate fails with EACCES
Updated by Jeff Layton almost 3 years ago
I'm not even sure that this is ceph related. The command was trying to open a file in /tmp to do an fallocate (which also makes me wonder -- why?)
The kernel on this box is stock Ubuntu 5.4.0-77-generic. I suspect this is a kernel bug of some sort, unrelated to ceph.
Updated by Patrick Donnelly almost 3 years ago
- Is duplicate of Bug #51417: qa: test_ls_H_prints_human_readable_file_size failure added
Updated by Patrick Donnelly almost 3 years ago
- Status changed from New to Duplicate
Actions