Project

General

Profile

Actions

Bug #5086

closed

ceph-deploy: osd create command fails sometimes on centos 6.3

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

Status:
Resolved
Priority:
Normal
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

test set up: burnupi05, burnupi20.

while running ceph-deploy tests from teuthology, found that "osd create" command is broken on centos 6.3

2013-05-16T11:47:27.863 DEBUG:teuthology.orchestra.run:Running [10.214.133.10]: 'cd /tmp/cephtest/ta1305161145/ceph-deploy && ./ceph-deploy osd create burnupi05:sdb'
2013-05-16T11:47:28.641 INFO:teuthology.orchestra.run.err:Traceback (most recent call last):
2013-05-16T11:47:28.642 INFO:teuthology.orchestra.run.err: File "./ceph-deploy", line 8, in <module>
2013-05-16T11:47:28.642 INFO:teuthology.orchestra.run.err: load_entry_point('ceph-deploy==0.1', 'console_scripts', 'ceph-deploy')()
2013-05-16T11:47:28.642 INFO:teuthology.orchestra.run.err: File "/tmp/cephtest/ta1305161145/ceph-deploy/ceph_deploy/cli.py", line 112, in main
2013-05-16T11:47:28.642 INFO:teuthology.orchestra.run.err: return args.func(args)
2013-05-16T11:47:28.643 INFO:teuthology.orchestra.run.err: File "/tmp/cephtest/ta1305161145/ceph-deploy/ceph_deploy/osd.py", line 424, in osd
2013-05-16T11:47:28.643 INFO:teuthology.orchestra.run.err: prepare(args, cfg, activate_prepared_disk=True)
2013-05-16T11:47:28.643 INFO:teuthology.orchestra.run.err: File "/tmp/cephtest/ta1305161145/ceph-deploy/ceph_deploy/osd.py", line 270, in prepare
2013-05-16T11:47:28.644 INFO:teuthology.orchestra.run.err: s = '{} returned {}\n{}\n{}'.format(cmd, ret, out, err)
2013-05-16T11:47:28.644 INFO:teuthology.orchestra.run.err:ValueError: zero length field name in format

Actions #1

Updated by Tamilarasi muthamizhan almost 11 years ago

  • Assignee changed from Sage Weil to Dan Mick
  • Priority changed from High to Normal

this seems to work fine, when tried manually.

Actions #2

Updated by Tamilarasi muthamizhan almost 11 years ago

  • Subject changed from ceph-deploy: osd create command fails on centos 6.3 to ceph-deploy: osd create command fails sometimes on centos 6.3
Actions #3

Updated by Dan Mick almost 11 years ago

Grr. Yes, this is a pre-Python-2.7 thing. "{}" in format strings was added in 2.7.
Yargh; I hate using field number or name in those things, it's so vexingly verbose.

Actions #4

Updated by Dan Mick almost 11 years ago

  • Status changed from New to Resolved

commit:bae521159deb0ca58c05ec14fa8362c4cc334fc2

Actions

Also available in: Atom PDF