Project

General

Profile

Feature #11366

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

Added by Zhiteng Huang over 6 years ago. Updated over 6 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 over 6 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 over 6 years ago

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

Thank you for the report.

Also available in: Atom PDF