Project

General

Profile

Bug #17182

"sysfs write failed" in smoke

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

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

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

Description

Run: http://pulpito.ceph.com/teuthology-2016-08-31_05:00:01-smoke-master-testing-basic-vps/
Job: 394034
Logs: http://qa-proxy.ceph.com/teuthology/teuthology-2016-08-31_05:00:01-smoke-master-testing-basic-vps/394034/teuthology.log

2016-08-31T05:44:30.014 INFO:teuthology.orchestra.run.vpm041:Running: "sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage rbd --user 0 -p rbd map testimage.client.0 && while test '!' -e /dev/rbd/rbd/testimage.client.0 ; do sleep 1 ; done" 
2016-08-31T05:44:30.196 INFO:teuthology.orchestra.run.vpm041.stdout:RBD image feature set mismatch. You can disable features unsupported by the kernel with "rbd feature disable".
2016-08-31T05:44:30.197 INFO:teuthology.orchestra.run.vpm041.stdout:In some cases useful info is found in syslog - try "dmesg | tail" or so.
2016-08-31T05:44:30.197 INFO:teuthology.orchestra.run.vpm041.stderr:rbd: sysfs write failed
2016-08-31T05:44:30.197 INFO:teuthology.orchestra.run.vpm041.stderr:rbd: map failed: (6) No such device or address
2016-08-31T05:44:30.197 ERROR:teuthology.contextutil:Saw exception from nested tasks
Traceback (most recent call last):
  File "/home/teuthworker/src/teuthology_master/teuthology/contextutil.py", line 30, in nested
    vars.append(enter())
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/home/teuthworker/src/ceph-qa-suite_master/tasks/rbd.py", line 257, in dev_create
    'done',
  File "/home/teuthworker/src/teuthology_master/teuthology/orchestra/remote.py", line 192, in run
    r = self._runner(client=self.ssh, name=self.shortname, **kwargs)
  File "/home/teuthworker/src/teuthology_master/teuthology/orchestra/run.py", line 402, in run
    r.wait()
  File "/home/teuthworker/src/teuthology_master/teuthology/orchestra/run.py", line 166, in wait
    label=self.label)
CommandFailedError: Command failed on vpm041 with status 6: "sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage rbd --user 0 -p rbd map testimage.client.0 && while test '!' -e /dev/rbd/rbd/testimage.client.0 ; do sleep 1 ; done" 

Related issues

Copied to rbd - Backport #17375: jewel: "sysfs write failed" in smoke Resolved

History

#1 Updated by Zack Cerza over 7 years ago

  • Status changed from New to Need More Info
  • Assignee set to Yuri Weinstein

Ceph bug?

#2 Updated by Yuri Weinstein over 7 years ago

  • Project changed from teuthology to Ceph

#3 Updated by Yuri Weinstein over 7 years ago

  • Project changed from Ceph to rbd

Also in http://qa-proxy.ceph.com/teuthology/teuthology-2016-09-20_05:00:02-smoke-master-testing-basic-vps/425655/teuthology.log

2016-09-20T06:06:22.136 INFO:teuthology.orchestra.run.vpm039:Running: "sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage rbd --user 0 -p rbd map testimage.client.0 && while test '!' -e /dev/rbd/rbd/testimage.client.0 ; do sleep 1 ; done" 
2016-09-20T06:06:22.372 INFO:teuthology.orchestra.run.vpm039.stderr:rbd: sysfs write failed
2016-09-20T06:06:22.404 INFO:teuthology.orchestra.run.vpm039.stdout:RBD image feature set mismatch. You can disable features unsupported by the kernel with "rbd feature disable".

#4 Updated by Jason Dillaman over 7 years ago

Should be resolved with a modification like the following:

diff --git a/suites/smoke/basic/tasks/rbd_workunit_suites_iozone.yaml b/suites/smoke/basic/tasks/rbd_workunit_suites_iozone.yaml
index d359168..e4961dd 100644
--- a/suites/smoke/basic/tasks/rbd_workunit_suites_iozone.yaml
+++ b/suites/smoke/basic/tasks/rbd_workunit_suites_iozone.yaml
@@ -3,6 +3,8 @@ overrides:
     conf:
       global:
         ms die on skipped message: false
+      client:
+        rbd default features: 5
 tasks:
 - install:
 - ceph:

#5 Updated by Ilya Dryomov over 7 years ago

  • Status changed from Need More Info to In Progress
  • Assignee changed from Yuri Weinstein to Ilya Dryomov

5 won't do it because it doesn't install a kernel here - it should be 1. I'll send a PR.

#6 Updated by Ilya Dryomov over 7 years ago

Ah, sorry - smoke does require a recent kernel since jewel, so 5 is fine.

#7 Updated by Ilya Dryomov over 7 years ago

  • Status changed from In Progress to Fix Under Review

#8 Updated by Jason Dillaman over 7 years ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport set to jewel

#9 Updated by Nathan Cutler over 7 years ago

#10 Updated by Jason Dillaman over 7 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF