'ceph ... > /etc/ceph/ceph.conf' fails because bash truncates ceph.conf
before the ceph cli invocation is able to use it to connect to the cluster.
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit
b17adcf3e88c010c25b3878bf563c1f3bcdc9ff9)
To create a minimal but sufficient ceph.conf for each host,::
- ceph config generate-minimal-conf > /etc/ceph/ceph.conf
+ ceph config generate-minimal-conf > /etc/ceph/ceph.conf.new
+ mv /etc/ceph/ceph.conf.new /etc/ceph/ceph.conf
Be sure to use this new config--and, specifically, the new syntax
for the ``mon_host`` option that lists both ``v2:`` and ``v1:``