New install - Cluster details cannot be retrieved

Comments

7 comments

  • Official comment
    Avatar
    Ashraf Sharif

    Hi Indy,

    The problem was due to internal DNS system that you use resolves to the primary IP address. Thus, CMON has to listen to the primary IP address (it was default to 127.0.0.1 only). To do this, add the following line inside /etc/default/cmon:

    RPC_BIND_ADDRESSES="127.0.0.1,{primary IP address}"

    Then, restart CMON service.

    Regards,
    Ashraf

    Comment actions Permalink
  • Avatar
    Ashraf Sharif

    Hi Indy,

    On ClusterControl server, ensure the value of 'token' inside dcps.apis table is identical with 'rpc_key' inside /etc/cmon.cnf. You can use the following command to retrieve and update it:

    $ mysql -uroot -p -e 'select * from dcps.apis'
    $ grep rpc_key /etc/cmon.cnf
    {rpc_key value}
    $ mysql -uroot -p -e 'update dcps.apis set token = {rpc_key value} where id = 1'

    Then, verify if the database cluster can be seen from ClusterControl UI.

    Regards,
    Ashraf

    0
    Comment actions Permalink
  • Avatar
    Indy Nagpal

    Thanks for your quick response Ashraf.

    As I said earlier that I had validated that the token is the same everywhere...

    However, I've once again validated that by using the commands your provided above. The token is the same everywhere.

    After updating the token as per the commands you had provided, I tried to add the cluster again.

    But the same error:

    Cluster details cannot be retrieved. Please check the CMON process status (service cmon status). Also, ensure the dcps.apis token matches the rpc_key in /etc/cmon.cnf.

    Is there any way for me to get some more visibility on what is going behind the scenes?

     

    0
    Comment actions Permalink
  • Avatar
    Ashraf Sharif

    Hi Indy,

    I'd like to see the environment you are running to expedite the troubleshooting. Would it possible for you to set up a screen sharing session via Teamviewer or join.me? I suggest you to create a support ticket for this and provide the login credentials so we can jump in.

    Regards,
    Ashraf

    0
    Comment actions Permalink
  • Avatar
    Indy Nagpal

    Hi Ashraf

    Sure, I can setup a join.me meeting. I'm in New Zealand Time Zone. What timezone are you in? And what time suits?

    I've logged a ticket at: https://support.severalnines.com/hc/en-us/requests/3943

    0
    Comment actions Permalink
  • Avatar
    Russell Holley

    Hello, I am having the same problem. I confirmed the keys match and added the bind address but no luck.

    0
    Comment actions Permalink
  • Avatar
    Paul Namuag

    Hi Russell Holley,

    Have you filed a Zendesk ticket about this? I'm not sure if you had but similar issue has been filed earlier. If not please create a ticket and we'll help you through Zendesk.

    Thanks.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk