]> git.proxmox.com Git - ceph.git/blobdiff - ceph/doc/rados/api/python.rst
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / doc / rados / api / python.rst
index 222a5b193e1c25aa37fd8404c10d1881c3f7a477..c068e38f6a2fc53cacb08b43d104ef827d5acdd5 100644 (file)
@@ -90,7 +90,7 @@ information about the cluster.
 
        cluster = rados.Rados(conffile='ceph.conf')
        print "\nlibrados version: " + str(cluster.version())
-       print "Will attempt to connect to: " + str(cluster.conf_get('mon initial members'))
+       print "Will attempt to connect to: " + str(cluster.conf_get('mon host'))
 
        cluster.connect()
        print "\nCluster ID: " + cluster.get_fsid()
@@ -107,8 +107,7 @@ By default, Ceph authentication is ``on``. Your application will need to know
 the location of the keyring. The ``python-ceph`` module doesn't have the default
 location, so you need to specify the keyring path. The easiest way to specify
 the keyring is to add it to the Ceph configuration file. The following Ceph
-configuration file example uses the ``client.admin`` keyring you generated with
-``ceph-deploy``.
+configuration file example uses the ``client.admin`` keyring.
 
 .. code-block:: ini
    :linenos: