Project

General

Profile

Actions

Bug #5065

closed

ceph-deploy: osd prepared but not activated on debian-wheezy

Added by Tamilarasi muthamizhan almost 11 years ago. Updated almost 11 years ago.

Status:
Duplicate
Priority:
High
Assignee:
-
Category:
ceph-deploy
Target version:
-
% Done:

0%

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

Description

tried this on two different debian machines [burnupi24 and burnupi26].

on burnupi24:

hit ioerror and osd was not activated by osd create command,

ubuntu@burnupi24:~/ceph-deploy$ ./ceph-deploy disk list burnupi24
/dev/sda :
/dev/sda1 other, ext4, mounted on /
/dev/sda2 other
/dev/sda5 swap, swap
/dev/sdb :
/dev/sdb1 ceph data, prepared, unknown cluster 77285c88-270a-4295-af26-b2888c67d8cb, osd.0, journal /dev/sdb2
/dev/sdb2 ceph journal, for /dev/sdb1
/dev/sdc :
/dev/sdc1 ceph data, prepared, unknown cluster 77285c88-270a-4295-af26-b2888c67d8cb, osd.1, journal /dev/sdc2
/dev/sdc2 ceph journal, for /dev/sdc1
/dev/sdd :
/dev/sdd1 other, ext4
/dev/sde :
/dev/sde1 other, ext4
/dev/sdf :
/dev/sdf1 other, ext4
/dev/sdg :
/dev/sdg1 other, ext4
/dev/sdh :
/dev/sdh1 other, ext4
/dev/sdi :
/dev/sdi1 other
ubuntu@burnupi24:~/ceph-deploy$ ./ceph-deploy osd create burnupi24:sdb burnupi24:sdc --zap-disk
Caution: invalid backup GPT header, but valid main header; regenerating
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in _bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 505, in run
self.
_target(*self.__args, **self.__kwargs)
File "/home/ubuntu/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.1-py2.7.egg/pushy/protocol/baseconnection.py", line 268, in serve_forever
self.__handle(m)
File "/home/ubuntu/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.1-py2.7.egg/pushy/protocol/baseconnection.py", line 653, in _handle
self.
_send_message(MessageType.exception, e)
File "/home/ubuntu/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.1-py2.7.egg/pushy/protocol/baseconnection.py", line 560, in _send_message
self.
_ostream.send_message(m)
File "/home/ubuntu/ceph-deploy/virtualenv/local/lib/python2.7/site-packages/pushy-0.5.1-py2.7.egg/pushy/protocol/baseconnection.py", line 97, in send_message
self.__file.write(bytes_)
ValueError: I/O operation on closed file

ubuntu@burnupi24:~/ceph-deploy$ ./ceph-deploy disk list burnupi24
/dev/sda :
/dev/sda1 other, ext4, mounted on /
/dev/sda2 other
/dev/sda5 swap, swap
/dev/sdb :
/dev/sdb1 ceph data, prepared, cluster ceph, osd.0, journal /dev/sdb2
/dev/sdb2 ceph journal, for /dev/sdb1
/dev/sdc :
/dev/sdc1 ceph data, prepared, cluster ceph, osd.1, journal /dev/sdc2
/dev/sdc2 ceph journal, for /dev/sdc1
/dev/sdd :
/dev/sdd1 other, ext4
/dev/sde :
/dev/sde1 other, ext4
/dev/sdf :
/dev/sdf1 other, ext4
/dev/sdg :
/dev/sdg1 other, ext4
/dev/sdh :
/dev/sdh1 other, ext4
/dev/sdi :
/dev/sdi1 other

on burnupi26: no ioerror seen but osd was nt activated by osd create command.

ubuntu@burnupi26:~/ceph-deploy$ ./ceph-deploy disk list burnupi26
/dev/sda :
/dev/sda1 other, ext4, mounted on /
/dev/sda2 other
/dev/sda5 swap, swap
/dev/sdb other, xfs
/dev/sdc other, xfs
/dev/sdd other, xfs
/dev/sde other, xfs
/dev/sdf other, xfs
/dev/sdg other, xfs
/dev/sdh other, xfs
/dev/sdi :
/dev/sdi1 ceph journal
/dev/sdi2 ceph journal
/dev/sdi3 ceph journal
/dev/sdi4 ceph journal
/dev/sdi5 ceph journal
/dev/sdi6 ceph journal
/dev/sdi7 ceph journal
ubuntu@burnupi26:~/ceph-deploy$ ./ceph-deploy osd create burnupi26:sdb --zap-disk
ubuntu@burnupi26:~/ceph-deploy$ ./ceph-deploy disk list burnupi26
/dev/sda :
/dev/sda1 other, ext4, mounted on /
/dev/sda2 other
/dev/sda5 swap, swap
/dev/sdb :
/dev/sdb1 ceph data, prepared, cluster ceph, osd.0, journal /dev/sdb2
/dev/sdb2 ceph journal, for /dev/sdb1
/dev/sdc other, xfs
/dev/sdd other, xfs
/dev/sde other, xfs
/dev/sdf other, xfs
/dev/sdg other, xfs
/dev/sdh other, xfs
/dev/sdi :
/dev/sdi1 ceph journal
/dev/sdi2 ceph journal
/dev/sdi3 ceph journal
/dev/sdi4 ceph journal
/dev/sdi5 ceph journal
/dev/sdi6 ceph journal
/dev/sdi7 ceph journal

leaving burnupi24 and burnupi26 in the current state.

Actions #1

Updated by Sage Weil almost 11 years ago

  • Status changed from New to Duplicate
Actions

Also available in: Atom PDF