Project

General

Profile

Feature #11366

ceph.py assumed no '-' in ceph cluster name

Added by Zhiteng Huang almost 9 years ago. Updated almost 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Backend (services)
Target version:
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:

Description

https://github.com/ceph/calamari/blob/master/salt/srv/salt/_modules/ceph.py#L517

For a cluster named with '-' in it, above code can't parse cluster_name, service_type, service_id from admin socket, that results Calamari not being able to find the cluster as it should.

AFAIK, '-' is a legi character in ceph naming. So this should be fixed in Calamari.

History

#1 Updated by Loïc Dachary almost 9 years ago

  • Tracker changed from Bug to Feature

I suppose it's to be expected since you found that http://docs.ceph.com/docs/master/rados/configuration/ceph-conf/ reads "Cluster names must consist of letters a-z and digits 0-9 only".

#2 Updated by Christina Meno almost 9 years ago

  • Category set to Backend (services)
  • Target version set to 1.4 backlog

Thank you for the report.

Also available in: Atom PDF