Actions
Bug #16799
closedhammer-backports: rbd import fails in cache tier test
Status:
Duplicate
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
0%
Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
test: rados/singleton-nomsgr/{all/export-after-evict.yaml}
what happens:
2016-07-23T19:16:16.157 INFO:teuthology.run_tasks:Running task exec... 2016-07-23T19:16:16.168 INFO:teuthology.task.exec:Executing custom commands... 2016-07-23T19:16:16.168 INFO:teuthology.task.exec:Running commands on role client.0 host ubuntu@target158069070171.teuthology 2016-07-23T19:16:16.169 INFO:teuthology.orchestra.run.target158069070171:Running: "sudo TESTDIR=/home/ubuntu/cephtest bash -c 'ceph osd pool create base-pool 4'" 2016-07-23T19:16:16.928 INFO:teuthology.orchestra.run.target158069070171.stderr:pool 'base-pool' created 2016-07-23T19:16:16.945 INFO:teuthology.orchestra.run.target158069070171:Running: "sudo TESTDIR=/home/ubuntu/cephtest bash -c 'ceph osd pool create cache-pool 4'" 2016-07-23T19:16:17.990 INFO:teuthology.orchestra.run.target158069070171.stderr:pool 'cache-pool' created 2016-07-23T19:16:18.006 INFO:teuthology.orchestra.run.target158069070171:Running: "sudo TESTDIR=/home/ubuntu/cephtest bash -c 'ceph osd tier add base-pool cache-pool'" 2016-07-23T19:16:18.993 INFO:teuthology.orchestra.run.target158069070171.stderr:pool 'cache-pool' is now (or already was) a tier of 'base-pool' 2016-07-23T19:16:19.006 INFO:teuthology.orchestra.run.target158069070171:Running: "sudo TESTDIR=/home/ubuntu/cephtest bash -c 'ceph osd tier cache-mode cache-pool writeback'" 2016-07-23T19:16:20.024 INFO:teuthology.orchestra.run.target158069070171.stderr:set cache-mode for pool 'cache-pool' to writeback 2016-07-23T19:16:20.039 INFO:teuthology.orchestra.run.target158069070171:Running: "sudo TESTDIR=/home/ubuntu/cephtest bash -c 'ceph osd tier set-overlay base-pool cache-pool'" 2016-07-23T19:16:21.029 INFO:teuthology.orchestra.run.target158069070171.stderr:overlay for 'base-pool' is now (or already was) 'cache-pool' 2016-07-23T19:16:21.046 INFO:teuthology.orchestra.run.target158069070171:Running: "sudo TESTDIR=/home/ubuntu/cephtest bash -c 'dd if=/dev/urandom of=$TESTDIR/foo bs=1M count=1'" 2016-07-23T19:16:21.207 INFO:teuthology.orchestra.run.target158069070171.stderr:1+0 records in 2016-07-23T19:16:21.207 INFO:teuthology.orchestra.run.target158069070171.stderr:1+0 records out 2016-07-23T19:16:21.207 INFO:teuthology.orchestra.run.target158069070171.stderr:1048576 bytes (1.0 MB) copied, 0.103363 s, 10.1 MB/s 2016-07-23T19:16:21.208 INFO:teuthology.orchestra.run.target158069070171:Running: "sudo TESTDIR=/home/ubuntu/cephtest bash -c 'rbd import --image-format 2 $TESTDIR/foo base-pool/bar'" 2016-07-23T19:16:23.064 INFO:teuthology.orchestra.run.target158069070171.stderr:2016-07-23 19:16:23.124990 7f9258bbb7c0 -1 librbd: error setting image id: (2) No such file or directory 2016-07-23T19:16:23.065 INFO:teuthology.orchestra.run.target158069070171.stderr:rbd: image creation failed 2016-07-23T19:16:23.066 INFO:teuthology.orchestra.run.target158069070171.stderr: Importing image: 0% complete...failed. 2016-07-23T19:16:23.066 INFO:teuthology.orchestra.run.target158069070171.stderr:rbd: import failed: (2) No such file or directory 2016-07-23T19:16:23.066 INFO:teuthology.orchestra.run.target158069070171.stderr:2016-07-23 19:16:23.125728 7f9258bbb7c0 -1 librbd: error cleaning up id object after creation failed: (2) No such file or directory 2016-07-23T19:16:23.069 ERROR:teuthology.run_tasks:Saw exception from tasks. Traceback (most recent call last): File "/home/ubuntu/teuthology/teuthology/run_tasks.py", line 66, in run_tasks manager = run_one_task(taskname, ctx=ctx, config=config) File "/home/ubuntu/teuthology/teuthology/run_tasks.py", line 45, in run_one_task return fn(**kwargs) File "/home/ubuntu/teuthology/teuthology/task/exec.py", line 54, in task c], File "/home/ubuntu/teuthology/teuthology/orchestra/remote.py", line 196, in run r = self._runner(client=self.ssh, name=self.shortname, **kwargs) File "/home/ubuntu/teuthology/teuthology/orchestra/run.py", line 394, in run r.wait() File "/home/ubuntu/teuthology/teuthology/orchestra/run.py", line 121, in wait label=self.label) CommandFailedError: Command failed on target158069070171 with status 2: "sudo TESTDIR=/home/ubuntu/cephtest bash -c 'rbd import --image-format 2 $TESTDIR/foo base-pool/bar'"
I cannot fathom how this sequence of commands:
dd if=/dev/urandom of=$TESTDIR/foo bs=1M count=1 rbd import --image-format 2 $TESTDIR/foo base-pool/bar
could fail with:
rbd: import failed: (2) No such file or directory
Updated by Nathan Cutler almost 8 years ago
- Project changed from Ceph to rbd
- Status changed from New to Duplicate
Updated by Nathan Cutler almost 8 years ago
- Related to Bug #13310: librbd: error setting image id: (2) No such file or directory added
Updated by Nathan Cutler almost 8 years ago
- Related to deleted (Bug #13310: librbd: error setting image id: (2) No such file or directory)
Updated by Nathan Cutler almost 8 years ago
- Is duplicate of Bug #13310: librbd: error setting image id: (2) No such file or directory added
Actions