Code Monkey home page Code Monkey logo

Comments (3)

amarts avatar amarts commented on May 18, 2024 1

you need to pass --endpoints argument to the glustercli command

Can we fix this in documentation?

from gcs.

rmadaka avatar rmadaka commented on May 18, 2024

Found below errors from logs:

time="2018-10-09 13:04:39.643145" level=warning msg="could not read store config file, continuing with defaults" error="open /var/lib/glusterd2/store.toml: no such file or directory" source="[config.go:128:store.GetConfig]"
time="2018-10-09 13:04:44.648826" level=error msg="failed to start embedded store" error="context deadline exceeded" source="[embed.go:36:store.newEmbedStore]"
time="2018-10-09 13:04:44.648889" level=fatal msg="Failed to initialize store (etcd client)" error="context deadline exceeded" source="[main.go:101:main.main]"

It seems some failures with etcd client.

from gcs.

Madhu-1 avatar Madhu-1 commented on May 18, 2024

as part of fixing the issue for persistence IP's, glusterd2 no longer listen on localhost

as we create a service to glusterd2 , glusterd2 listens on the service IP address

you need to pass --endpoints argument to the glustercli command

[root@kube1-0 /]# glustercli peer list --endpoints="http://10.233.11.90:24007"
+--------------------------------------+---------+-----------------------------+-----------------------------+--------+-----+
|                  ID                  |  NAME   |      CLIENT ADDRESSES       |       PEER ADDRESSES        | ONLINE | PID |
+--------------------------------------+---------+-----------------------------+-----------------------------+--------+-----+
| 33346529-d8df-45ff-aeaf-3befed986435 | kube1-0 | kube1-0.glusterd2.gcs:24007 | kube1-0.glusterd2.gcs:24008 | yes    |  21 |
| 4527724d-e5de-4b58-a6e8-8f15490fa6b5 | kube3-0 | kube3-0.glusterd2.gcs:24007 | kube3-0.glusterd2.gcs:24008 | yes    |  21 |
| d35ef7e1-1846-4826-8447-2d1f92de0881 | kube2-0 | kube2-0.glusterd2.gcs:24007 | kube2-0.glusterd2.gcs:24008 | yes    |  21 |
+--------------------------------------+---------+-----------------------------+-----------------------------+--------+-----+
[root@kube1-0 /]# 
[root@kube1-0 /]# 
[root@kube1-0 /]# glustercli peer list --endpoints="http://kube1-0.glusterd2.gcs:24007"
+--------------------------------------+---------+-----------------------------+-----------------------------+--------+-----+
|                  ID                  |  NAME   |      CLIENT ADDRESSES       |       PEER ADDRESSES        | ONLINE | PID |
+--------------------------------------+---------+-----------------------------+-----------------------------+--------+-----+
| 33346529-d8df-45ff-aeaf-3befed986435 | kube1-0 | kube1-0.glusterd2.gcs:24007 | kube1-0.glusterd2.gcs:24008 | yes    |  21 |
| 4527724d-e5de-4b58-a6e8-8f15490fa6b5 | kube3-0 | kube3-0.glusterd2.gcs:24007 | kube3-0.glusterd2.gcs:24008 | yes    |  21 |
| d35ef7e1-1846-4826-8447-2d1f92de0881 | kube2-0 | kube2-0.glusterd2.gcs:24007 | kube2-0.glusterd2.gcs:24008 | yes    |  21 |
+--------------------------------------+---------+-----------------------------+-----------------------------+--------+-----+

from gcs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.