Project

General

Profile

Bug #22111

"Failed to execute command: /usr/sbin/ceph-disk zap /dev/lv_4" in ceph-deploy-luminous-distro-basic-smithi

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

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

0%

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

Description

This is luminous v12.2.2 point release

Run: http://pulpito.ceph.com/yuriw-2017-11-10_16:54:22-ceph-deploy-luminous-distro-basic-smithi/
Jobs: all
Logs: http://qa-proxy.ceph.com/teuthology/yuriw-2017-11-10_16:54:22-ceph-deploy-luminous-distro-basic-smithi/1835295/teuthology.log

2017-11-10T17:05:42.550 INFO:teuthology.orchestra.run.smithi194.stderr:[ceph_deploy.cli][INFO  ]  cluster                       : ceph
2017-11-10T17:05:42.550 INFO:teuthology.orchestra.run.smithi194.stderr:[ceph_deploy.cli][INFO  ]  disk                          : [('smithi194', '/dev/lv_4', None)]
2017-11-10T17:05:42.550 INFO:teuthology.orchestra.run.smithi194.stderr:[ceph_deploy.cli][INFO  ]  overwrite_conf                : False
2017-11-10T17:05:42.550 INFO:teuthology.orchestra.run.smithi194.stderr:[ceph_deploy.cli][INFO  ]  ceph_conf                     : None
2017-11-10T17:05:42.550 INFO:teuthology.orchestra.run.smithi194.stderr:[ceph_deploy.cli][INFO  ]  default_release               : False
2017-11-10T17:05:42.550 INFO:teuthology.orchestra.run.smithi194.stderr:[ceph_deploy.cli][INFO  ]  username                      : None
2017-11-10T17:05:42.550 INFO:teuthology.orchestra.run.smithi194.stderr:[ceph_deploy.osd][DEBUG ] zapping /dev/lv_4 on smithi194
2017-11-10T17:05:42.573 INFO:teuthology.orchestra.run.smithi194.stderr:[smithi194][DEBUG ] connection detected need for sudo
2017-11-10T17:05:42.598 INFO:teuthology.orchestra.run.smithi194.stderr:[smithi194][DEBUG ] connected to host: smithi194
2017-11-10T17:05:42.621 INFO:teuthology.orchestra.run.smithi194.stderr:[ceph_deploy.osd][INFO  ] Distro info: Ubuntu 16.04 xenial
2017-11-10T17:05:42.622 INFO:teuthology.orchestra.run.smithi194.stderr:[smithi194][INFO  ] Running command: sudo /usr/sbin/ceph-disk zap /dev/lv_4
2017-11-10T17:05:43.317 INFO:teuthology.orchestra.run.smithi194.stderr:[smithi194][WARNING] Traceback (most recent call last):
2017-11-10T17:05:43.318 INFO:teuthology.orchestra.run.smithi194.stderr:[smithi194][WARNING]   File "/usr/sbin/ceph-disk", line 9, in <module>
2017-11-10T17:05:43.318 INFO:teuthology.orchestra.run.smithi194.stderr:[smithi194][WARNING]     load_entry_point('ceph-disk==1.0.0', 'console_scripts', 'ceph-disk')()
2017-11-10T17:05:43.318 INFO:teuthology.orchestra.run.smithi194.stderr:[smithi194][WARNING]   File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 5709, in run
2017-11-10T17:05:43.318 INFO:teuthology.orchestra.run.smithi194.stderr:[smithi194][WARNING]     main(sys.argv[1:])
2017-11-10T17:05:43.318 INFO:teuthology.orchestra.run.smithi194.stderr:[smithi194][WARNING]   File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 5662, in main
2017-11-10T17:05:43.319 INFO:teuthology.orchestra.run.smithi194.stderr:[smithi194][WARNING]     main_catch(args.func, args)
2017-11-10T17:05:43.319 INFO:teuthology.orchestra.run.smithi194.stderr:[smithi194][WARNING]   File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 5687, in main_catch
2017-11-10T17:05:43.320 INFO:teuthology.orchestra.run.smithi194.stderr:[smithi194][WARNING]     func(args)
2017-11-10T17:05:43.320 INFO:teuthology.orchestra.run.smithi194.stderr:[smithi194][WARNING]   File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 4729, in main_zap
2017-11-10T17:05:43.320 INFO:teuthology.orchestra.run.smithi194.stderr:[smithi194][WARNING]     zap(dev)
2017-11-10T17:05:43.321 INFO:teuthology.orchestra.run.smithi194.stderr:[smithi194][WARNING]   File "/usr/lib/python2.7/dist-packages/ceph_disk/main.py", line 1671, in zap
2017-11-10T17:05:43.321 INFO:teuthology.orchestra.run.smithi194.stderr:[smithi194][WARNING]     dmode = os.stat(dev).st_mode
2017-11-10T17:05:43.332 INFO:teuthology.orchestra.run.smithi194.stderr:[smithi194][WARNING] OSError: [Errno 2] No such file or directory: '/dev/lv_4'
2017-11-10T17:05:43.333 INFO:teuthology.orchestra.run.smithi194.stderr:[smithi194][ERROR ] RuntimeError: command returned non-zero exit status: 1
2017-11-10T17:05:43.334 INFO:teuthology.orchestra.run.smithi194.stderr:[ceph_deploy][ERROR ] RuntimeError: Failed to execute command: /usr/sbin/ceph-disk zap /dev/lv_4
2017-11-10T17:05:43.334 INFO:teuthology.orchestra.run.smithi194.stderr:
2017-11-10T17:05:43.384 INFO:tasks.ceph_deploy:Error encountered, logging exception before tearing down ceph-deploy
2017-11-10T17:05:43.384 INFO:tasks.ceph_deploy:Traceback (most recent call last):
  File "/home/teuthworker/src/github.com_ceph_ceph_luminous/qa/tasks/ceph_deploy.py", line 343, in build_ceph_cluster
    raise RuntimeError("ceph-deploy: Failed to zap osds")
RuntimeError: ceph-deploy: Failed to zap osds

History

#1 Updated by Yuri Weinstein over 6 years ago

  • Assignee set to Kefu Chai

@Kefu can you take a look pls ?

#2 Updated by Yuri Weinstein over 6 years ago

ceph-deply must not run on smithi as we LVM setup there, so only vps and it passed
http://pulpito.ceph.com/yuriw-2017-11-17_17:52:54-ceph-deploy-luminous-distro-basic-vps/

#3 Updated by Yuri Weinstein over 6 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF