Comments (3)
you need to pass --endpoints argument to the glustercli command
Can we fix this in documentation?
from gcs.
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.
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)
- csi-node going to Evicted state HOT 3
- glustercli commands are failing because of an unhealthy gluster pod HOT 2
- Change in README is required HOT 3
- support for loopback CSI driver HOT 2
- GCS Website pending things
- Failed to add devices, vagrant up hung. HOT 2
- Grafana dashboard not showing gluster volumes HOT 9
- failed to add device on a rancher(kubernetes)-cluster HOT 2
- python 2.7 used while installing requirements into gcs-env HOT 1
- driver name org.gluster.glusterfs not found in the list of registered CSI drivers HOT 3
- RWO Volume request failed HOT 2
- remove host udev dependency HOT 4
- RWO volumes sometimes fails with transaction errors
- GD2 pods should shutdown cleanly when requested
- plugins_registry vs plugins path HOT 1
- Deployment changes to Loop back bricks
- Issue with deploy-gcs.yml HOT 4
- GD2 pods fails to come up if the kube cluster nodes have FQDN as hostname HOT 1
- Etcd pods goto error state while deploying
- can not deploy due to the json.decoder.JSONDecodeError:
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gcs.