]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: Added content to remove REJECT rules from iptables.
authorJohn Wilkins <john.wilkins@inktank.com>
Tue, 26 Feb 2013 00:12:50 +0000 (16:12 -0800)
committerJohn Wilkins <john.wilkins@inktank.com>
Tue, 26 Feb 2013 00:12:50 +0000 (16:12 -0800)
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
doc/rados/operations/troubleshooting-mon.rst

index e2b834acffbf2a4acf6a9fb95eed031f2234286e..3c3809087aea1119fd520d159dfd1d068b97dc6e 100644 (file)
@@ -28,4 +28,25 @@ For example::
 If there are not enough monitors to form a quorum, the ``ceph``
 command will block trying to reach the cluster.  In this situation,
 you need to get enough ``ceph-mon`` daemons running to form a quorum
-before doing anything else with the cluster.
\ No newline at end of file
+before doing anything else with the cluster.
+
+
+Client Can't Connect/Mount
+==========================
+
+Check your IP tables. Some OS install utilities add a ``REJECT`` rule to
+``iptables``. The rule rejects all clients trying to connect to the host except
+for ``ssh``. If your monitor host's IP tables have such a ``REJECT`` rule in
+place, clients connecting from a separate node will fail to mount with a timeout
+error. You need to address ``iptables`` rules that reject clients trying to
+connect to Ceph daemons.  For example, you would need to address rules that look
+like this appropriately::
+
+       REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
+
+You may also need to add rules to IP tables on your Ceph hosts to ensure
+that clients can access the ports associated with your Ceph monitors (i.e., port
+6789 by default) and Ceph OSDs (i.e., 6800 et. seq. by default). For example::
+
+       iptables -A INPUT -m multiport -p tcp -s {ip-address}/{netmask} --dports 6789,6800:6810 -j ACCEPT