Ceph client cannot connect to cluster problem resolution

Source: Internet
Author: User

1. Description of the problem

after doing the iptables strategy today and restarting one of the machines in the cluster, the input ceph-s discovers the following conditions:

[[email protected] ~]# ceph-s2015-09-10 13:50:57.688516 7f6a6b8cc700  0 monclient (Hunting): Authenticate timed out AF ter 3002015-09-10 13:50:57.688553 7f6a6b8cc700  0 librados:client.admin authentication error (+) Connection timed O Uterror Connecting to Cluster:timedout


2. Problem Analysis

Previously, the cluster was working well and later, due to the addition of iptables-related policies, it was not possible to connect to the cluster via Ceph client and Get
cluster status. The first response is that the relevant IP or port number is not blocked by the policy, causing the packet to fail to reach the relevant process normally. The port number for the Ceph-mon process was not found by the command NETSTAT-NTPL.


3. Handling Methods

in the policy script, add the following:

#添加允许访问的IP地址allowip = (58.220.*.*) #开放ceph Mon port number 6789$ipt-a input-p TCP--dport 6789-j ACCEPT

Execute command NETSTAT-NTPL after re-execution


After executing the ceph-s command


Ceph client cannot connect to cluster problem resolution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.