Project

General

Profile

Actions

Bug #450

closed

osd named with leading/padding 0 gets stripped

Added by Tony Butler over 13 years ago. Updated over 13 years ago.

Status:
Won't Fix
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

Description

I have hosts like cephdisk01 cephdisk02 cephdisk03 in my test cluster. I tried to name all my OSD's like osd0101...osd0313 (each host has 14 disks, so 14 OSD's). Then I noticed in the watchlog some messages like osd313, and using "ceph osd out 0313" also results in the zero being stripped (responds "osd313 not found").

This is annoying as zero padding helps things sort properly and lets everything be a fixed length. I am not sure if this also happens to hostnames (as I've zero-padded those too, but seems like they at least communicate) or mon/mds names, but if it does I also vote that those allow zero padding as well.

I would attempt a patch myself but was not sure if this was an implementation thing and shouldn't be changed for some reason.


Related issues 1 (0 open1 closed)

Related to Ceph - Feature #457: osd: alphanumeric namesRejected10/04/2010

Actions
Actions #1

Updated by Sage Weil over 13 years ago

This is normal. The OSD ids are purely numeric (ints). We could add a layer of alphanumeric names at some point, but it's not there now. Sorry!

Actions #2

Updated by Sage Weil over 13 years ago

  • Status changed from New to Won't Fix
Actions

Also available in: Atom PDF