Project

General

Profile

Actions

Bug #7381

closed

ceph-deploy lies with OSDs failures

Added by Alfredo Deza about 10 years ago. Updated about 10 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

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

Description

[ceph_deploy.cli][INFO  ] Invoked (1.3.5): /home/ubuntu/alfredo/virtualenvs/ceph-deploy/bin/ceph-deploy osd create apama002:sdj:sdc
[ceph_deploy.osd][DEBUG ] Preparing cluster ceph disks apama002:/dev/sdj:/dev/sdc
Warning: Permanently added 'apama002,10.214.137.4' (RSA) to the list of known hosts.
[apama002][DEBUG ] connected to host: apama002
[apama002][DEBUG ] detect platform information from remote host
[apama002][DEBUG ] detect machine type
[ceph_deploy.osd][INFO  ] Distro info: CentOS 6.4 Final
[ceph_deploy.osd][DEBUG ] Deploying osd to apama002
[apama002][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf
[apama002][INFO  ] Running command: sudo udevadm trigger --subsystem-match=block --action=add
[ceph_deploy.osd][DEBUG ] Preparing host apama002 disk /dev/sdj journal /dev/sdc activate True
[apama002][INFO  ] Running command: sudo ceph-disk-prepare --fs-type xfs --cluster ceph -- /dev/sdj /dev/sdc
[apama002][WARNIN] WARNING:ceph-disk:OSD will not be hot-swappable if journal is not the same device as the osd data
[apama002][WARNIN] BLKPG: Device or resource busy
[apama002][WARNIN] error adding partition 1
[apama002][WARNIN] Could not create partition 1 from 34 to 2047
[apama002][WARNIN] Error encountered; not saving changes.
[apama002][WARNIN] ceph-disk: Error: Command '['/usr/sbin/sgdisk', '--largest-new=1', '--change-name=1:ceph data', '--partition-guid=1:0364e31f-723d-41cc-95b4-db178a1fda13', '--typecode=1:89c57f98-2fe5-4dc0-89c1-f3ad0ceff2be', '--', '/dev/sdj']' returned non-zero exit status 4
[apama002][DEBUG ] The operation has completed successfully.
[apama002][ERROR ] RuntimeError: command returned non-zero exit status: 1
[ceph_deploy.osd][ERROR ] Failed to execute command: ceph-disk-prepare --fs-type xfs --cluster ceph -- /dev/sdj /dev/sdc
[ceph_deploy][ERROR ] GenericError: Failed to create 1 OSDs
Actions #1

Updated by Alfredo Deza about 10 years ago

  • Status changed from New to Rejected

After investigating what was returning this message:

[apama002][DEBUG ] The operation has completed successfully.

It turned out to be sgdisk. Initially thought to be ceph-deploy, but that was not the case. There is nothing that can be fixed on our end for this. Rejecting the issue

Actions

Also available in: Atom PDF