dsoprea / PythonEtcdClient

A simple and efficient etcd client that exposes all functions and just works.
21 stars 9 forks source link

Errors with new etcd due to use of private "_etcd" keys #4

Open jamespharaoh opened 9 years ago

jamespharaoh commented 9 years ago

This library access information at /v2/_etcd which is no longer made available, and so does not work with the latest versions on etcd. This functionality, which tries to automatically select a different host when there is a problem, doesn't seem to work for me anyway, and I think it is rather against the etcd API as documented. I would suggest to take this out, or make it optional, or at least to update it so that it is compatible with the latest versions of the etcd server.

https://github.com/coreos/etcd/issues/1279

jamespharaoh commented 9 years ago

Actually it looks like we might be able to access this at /v2/machines, for the time being at least...

ali-mosavian commented 9 years ago

The official path is now /members see, https://github.com/coreos/etcd/issues/1279