Documentation #5881
closed[ceph-deploy] Naming cluster example command shows wrong example
0%
Description
In the ceph-deploy documentation, in the Naming Cluster section (http://ceph.com/docs/next/rados/deployment/ceph-deploy-new/#naming-a-cluster) an example is shown:
ceph-deploy --cluster rbd-cluster new ceph-mon1
ceph-deploy --cluster rbd-cluster new ceph-mon{1,2,3}
However, the following command fails:
$ ceph-deploy --cluster ceph-cluster new ceph-mon0
usage: ceph-deploy [-h] [-v | -q] [-n] [--overwrite-conf] [--cluster NAME]
COMMAND ...
ceph-deploy: error: argument --cluster: argument must start with a letter and contain only letters and numbers
Removing the '-' (dash) form the cluster name, i.e. from ceph-cluster to cephcluster, fixes the problem.
The Documentation should reflect the fact that only letters and numbers are allowed in the cluster name.