Project

General

Profile

Actions

Bug #17222

closed

"rbd: map failed: (5) Input/output error" in krbd run

Added by Yuri Weinstein over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
rbd
Target version:
-
% Done:

0%

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

Description

This is jewel 10.2.3 release

Run: http://pulpito.front.sepia.ceph.com/yuriw-2016-09-05_15:56:10-krbd-master-testing-basic-smithi/
Jobs: 401125
Logs: http://qa-proxy.ceph.com/teuthology/yuriw-2016-09-05_15:56:10-krbd-master-testing-basic-smithi/401125/teuthology.log

2016-09-05T16:20:26.988 INFO:teuthology.orchestra.run.smithi053:Running: 'CEPH_REF=master CEPH_ID="0" adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage /home/ubuntu/cephtest/virtualenv/bin/cram -v -- /home/ubuntu/cephtest/archive/cram.client.0/*.t'
2016-09-05T17:03:42.973 INFO:tasks.cram.client.0.smithi053.stdout:/home/ubuntu/cephtest/archive/cram.client.0/index.html?p=ceph.git;a=blob_plain;f=src%2Ftest%2Fcli-integration%2Frbd%2Funmap.t: failed
2016-09-05T17:03:42.973 INFO:tasks.cram.client.0.smithi053.stdout:--- index.html?p=ceph.git;a=blob_plain;f=src%2Ftest%2Fcli-integration%2Frbd%2Funmap.t
2016-09-05T17:03:42.973 INFO:tasks.cram.client.0.smithi053.stdout:+++ index.html?p=ceph.git;a=blob_plain;f=src%2Ftest%2Fcli-integration%2Frbd%2Funmap.t.err
2016-09-05T17:03:42.973 INFO:tasks.cram.client.0.smithi053.stdout:@@ -13,6 +13,9 @@
2016-09-05T17:03:42.973 INFO:tasks.cram.client.0.smithi053.stdout: Spell out device instead of using $DEV - sfdisk is not a joke.
2016-09-05T17:03:42.973 INFO:tasks.cram.client.0.smithi053.stdout:
2016-09-05T17:03:42.973 INFO:tasks.cram.client.0.smithi053.stdout:   $ DEV=$(sudo rbd map img)
2016-09-05T17:03:42.974 INFO:tasks.cram.client.0.smithi053.stdout:+  rbd: sysfs write failed
2016-09-05T17:03:42.974 INFO:tasks.cram.client.0.smithi053.stdout:+  rbd: map failed: (5) Input/output error
2016-09-05T17:03:42.974 INFO:tasks.cram.client.0.smithi053.stdout:+  [5]
2016-09-05T17:03:42.974 INFO:tasks.cram.client.0.smithi053.stdout:   $ cat <<EOF | sudo sfdisk /dev/rbd[01] >/dev/null 2>&1
2016-09-05T17:03:42.974 INFO:tasks.cram.client.0.smithi053.stdout:   > unit: sectors
2016-09-05T17:03:42.974 INFO:tasks.cram.client.0.smithi053.stdout:   > /dev/rbd0p1 : start=        2, size=        2, Id=83
2016-09-05T17:03:42.974 INFO:tasks.cram.client.0.smithi053.stdout:@@ -21,6 +24,7 @@
2016-09-05T17:03:42.974 INFO:tasks.cram.client.0.smithi053.stdout:   > /dev/rbd0p4 : start=        0, size=        0, Id= 0
2016-09-05T17:03:42.974 INFO:tasks.cram.client.0.smithi053.stdout:   > /dev/rbd0p5 : start=        7, size=        2, Id=83
2016-09-05T17:03:42.974 INFO:tasks.cram.client.0.smithi053.stdout:   > EOF
2016-09-05T17:03:42.974 INFO:tasks.cram.client.0.smithi053.stdout:+  [1]

..............
2016-09-05T17:03:43.039 INFO:tasks.cram.client.0.smithi053.stdout:+  rbd: map failed: (5) Input/output error
2016-09-05T17:03:43.039 INFO:tasks.cram.client.0.smithi053.stdout:+  [5]
2016-09-05T17:03:43.039 INFO:tasks.cram.client.0.smithi053.stdout:+  $ rbd showmapped
2016-09-05T17:03:43.039 INFO:tasks.cram.client.0.smithi053.stdout:   $ sudo rbd unmap custom/img@snap
2016-09-05T17:03:43.039 INFO:tasks.cram.client.0.smithi053.stdout:-  rbd: custom/img@snap: mapped more than once, unmapping /dev/rbd? only (glob)
2016-09-05T17:03:43.039 INFO:tasks.cram.client.0.smithi053.stdout:-  $ rbd showmapped
2016-09-05T17:03:43.039 INFO:tasks.cram.client.0.smithi053.stdout:-  id pool   image snap device
2016-09-05T17:03:43.039 INFO:tasks.cram.client.0.smithi053.stdout:-  ?  custom img   snap /dev/rbd?  (glob)
2016-09-05T17:03:43.039 INFO:tasks.cram.client.0.smithi053.stdout:+  rbd: custom/img@snap: not a mapped image or snapshot
2016-09-05T17:03:43.039 INFO:tasks.cram.client.0.smithi053.stdout:+  rbd: unmap failed: (22) Invalid argument
2016-09-05T17:03:43.039 INFO:tasks.cram.client.0.smithi053.stdout:+  [22]
2016-09-05T17:03:43.040 INFO:tasks.cram.client.0.smithi053.stdout:+  $ rbd showmapped
2016-09-05T17:03:43.040 INFO:tasks.cram.client.0.smithi053.stdout:   $ sudo rbd unmap custom/img@snap
2016-09-05T17:03:43.040 INFO:tasks.cram.client.0.smithi053.stdout:+  rbd: custom/img@snap: not a mapped image or snapshot
2016-09-05T17:03:43.040 INFO:tasks.cram.client.0.smithi053.stdout:+  rbd: unmap failed: (22) Invalid argument
2016-09-05T17:03:43.040 INFO:tasks.cram.client.0.smithi053.stdout:+  [22]
2016-09-05T17:03:43.040 INFO:tasks.cram.client.0.smithi053.stdout:   $ rbd showmapped
2016-09-05T17:03:43.040 INFO:tasks.cram.client.0.smithi053.stdout:
2016-09-05T17:03:43.040 INFO:tasks.cram.client.0.smithi053.stdout:
2016-09-05T17:03:43.040 INFO:tasks.cram.client.0.smithi053.stdout:# Ran 1 tests, 0 skipped, 1 failed.
Actions #1

Updated by Ilya Dryomov over 7 years ago

  • Project changed from rbd to Linux kernel client
  • Category set to rbd
  • Assignee set to Ilya Dryomov

Needs a backport to jewel ceph-qa-suite branch.

Actions #2

Updated by Ilya Dryomov over 7 years ago

  • Status changed from New to Fix Under Review
Actions #3

Updated by Jason Dillaman over 7 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF