Project

General

Profile

Bug #38388

"failed to create directory via template '/cephtool.XXX': Permission denied" in rados

Added by Yuri Weinstein 3 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
02/19/2019
Due date:
% Done:

0%

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

Description

Run: http://pulpito.ceph.com/yuriw-2019-02-18_23:46:35-rados-wip_luminous_2.18.19-distro-basic-smithi/
Jobs: '3608261', '3608203'. '3608277', '3608185'
Logs: http://qa-proxy.ceph.com/teuthology/yuriw-2019-02-18_23:46:35-rados-wip_luminous_2.18.19-distro-basic-smithi/3608185/teuthology.log

2019-02-19T00:08:08.761 INFO:tasks.workunit.client.0.smithi001.stderr:+ PS4='${BASH_SOURCE[0]}:$LINENO: ${FUNCNAME[0]}:  '
2019-02-19T00:08:08.761 INFO:tasks.workunit.client.0.smithi001.stderr:/home/ubuntu/cephtest/clone.client.0/qa/workunits/cephtool/test.sh:10: main:  SUDO=sudo
2019-02-19T00:08:08.762 INFO:tasks.workunit.client.0.smithi001.stderr:/home/ubuntu/cephtest/clone.client.0/qa/workunits/cephtool/test.sh:11: main:  export CEPH_DEV=1
2019-02-19T00:08:08.762 INFO:tasks.workunit.client.0.smithi001.stderr:/home/ubuntu/cephtest/clone.client.0/qa/workunits/cephtool/test.sh:11: main:  CEPH_DEV=1
2019-02-19T00:08:08.762 INFO:tasks.workunit.client.0.smithi001.stderr://home/ubuntu/cephtest/clone.client.0/qa/workunits/cephtool/test.sh:52: main:  mktemp -d /cephtool.XXX
2019-02-19T00:08:08.763 INFO:tasks.workunit.client.0.smithi001.stderr:mktemp: failed to create directory via template '/cephtool.XXX': Permission denied
2019-02-19T00:08:08.763 INFO:tasks.workunit.client.0.smithi001.stderr:/home/ubuntu/cephtest/clone.client.0/qa/workunits/cephtool/test.sh:52: main:  TEMP_DIR=
2019-02-19T00:08:08.763 DEBUG:teuthology.orchestra.run:got remote process result: 1
2019-02-19T00:08:08.764 INFO:tasks.workunit:Stopping ['cephtool'] on client.0...
2019-02-19T00:08:08.764 INFO:teuthology.orchestra.run.smithi001:Running:
2019-02-19T00:08:08.765 INFO:teuthology.orchestra.run.smithi001:> sudo rm -rf -- /home/ubuntu/cephtest/workunits.list.client.0 /home/ubuntu/cephtest/clone.client.0
2019-02-19T00:08:09.009 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 86, in run_tasks
    manager = run_one_task(taskname, ctx=ctx, config=config)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/run_tasks.py", line 65, in run_one_task
    return task(**kwargs)
  File "/home/teuthworker/src/github.com_ceph_ceph-c_wip_luminous_2.18.19/qa/tasks/workunit.py", line 136, in task
    cleanup=cleanup)
  File "/home/teuthworker/src/github.com_ceph_ceph-c_wip_luminous_2.18.19/qa/tasks/workunit.py", line 286, in _spawn_on_all_clients
    timeout=timeout)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/parallel.py", line 85, in __exit__
    for result in self:
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/parallel.py", line 99, in next
    resurrect_traceback(result)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/parallel.py", line 22, in capture_traceback
    return func(*args, **kwargs)
  File "/home/teuthworker/src/github.com_ceph_ceph-c_wip_luminous_2.18.19/qa/tasks/workunit.py", line 409, in _run_tests
    label="workunit test {workunit}".format(workunit=workunit)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/remote.py", line 193, in run
    r = self._runner(client=self.ssh, name=self.shortname, **kwargs)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 435, in run
    r.wait()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 162, in wait
    self._raise_for_status()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 184, in _raise_for_status
    node=self.hostname, label=self.label
CommandFailedError: Command failed (workunit test cephtool/test.sh) on smithi001 with status 1: 'mkdir -p -- /home/ubuntu/cephtest/mnt.0/client.0/tmp && cd -- /home/ubuntu/cephtest/mnt.0/client.0/tmp && CEPH_CLI_TEST_DUP_COMMAND=1 CEPH_REF=a2f258ef72d738c8185926b5d5776f71a92de088 TESTDIR="/home/ubuntu/cephtest" CEPH_ARGS="--cluster ceph" CEPH_ID="0" PATH=$PATH:/usr/sbin CEPH_BASE=/home/ubuntu/cephtest/clone.client.0 

Also available in: Atom PDF