From 5c5eb21fd1a12666e1ce79718c8166eb7bdd6748 Mon Sep 17 00:00:00 2001 From: John Wilkins Date: Thu, 5 Jun 2014 11:34:46 -0700 Subject: [PATCH] doc: Added Disable requiretty to quick start. Signed-off-by: John Wilkins --- doc/start/quick-ceph-deploy.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/start/quick-ceph-deploy.rst b/doc/start/quick-ceph-deploy.rst index dec6b5eee6e..06d2cc6a3d4 100644 --- a/doc/start/quick-ceph-deploy.rst +++ b/doc/start/quick-ceph-deploy.rst @@ -32,6 +32,16 @@ configuration of your cluster. :: ``ceph-deploy``. +.. topic:: Disable ``requiretty`` + + On some distributions (e.g., CentOS), you may receive an error while trying + to execute ``ceph-deploy`` commands. If ``requiretty`` is set + by default, disable it by executing ``sudo visudo`` and locate the + ``Default requiretty`` setting. Change it to ``Default:ceph !requiretty`` to + ensure that ``ceph-deploy`` can connect using the ``ceph`` user and execute + commands with ``sudo``. + + Create a Cluster ================ @@ -59,6 +69,7 @@ for the new cluster. See `ceph-deploy new -h`_ for additional details. cluster, your Ceph Storage Cluster will not achieve an ``active + clean`` state. To remedy this situation, you must modify your `CRUSH Map`_. + Install Ceph ============ -- 2.47.3