Closed maikelpoot closed 4 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.
I'm trying to build a distributed system with syndicates and etcd, i got a problem. @Akm0d
salt-call etcd.ls
Traceback (most recent call last):
File "/usr/bin/salt-call", line 11, in
Version
Salt Version: Salt: 2019.2.0
Dependency Versions: cffi: 1.5.2 cherrypy: 3.6.0 dateutil: Not Installed docker-py: Not Installed gitdb: Not Installed gitpython: Not Installed ioflo: Not Installed Jinja2: 2.8 libgit2: Not Installed libnacl: Not Installed M2Crypto: Not Installed Mako: Not Installed msgpack-pure: Not Installed msgpack-python: 0.4.6 mysql-python: Not Installed pycparser: 2.10 pycrypto: 2.6.1 pycryptodome: Not Installed pygit2: Not Installed Python: 2.7.13 (default, Jan 11 2017, 10:56:06) [GCC] python-gnupg: Not Installed PyYAML: 3.12 PyZMQ: 14.0.0 RAET: Not Installed smmap: Not Installed timelib: Not Installed Tornado: 4.2.1 ZMQ: 4.0.4
System Versions: dist: SuSE 12 x86_64 locale: UTF-8 machine: x86_64 release: 4.4.155-94.50-default system: Linux version: SUSE Linux Enterprise Server 12 x86_64
etcd --version
etcd Version: 3.4.0 Git SHA: 898bd1351 Go Version: go1.12.9 Go OS/Arch: linux/amd64
etcdctl --version
etcdctl version: 3.4.0 API version: 3.4
Same problem here with using etcd
as ext_pillar
. Looks like that etcd_util
uses python-etcd
which doesn't support etcd v3 API.
Description of Issue
The etcd implementation within salt only supports etcd api v2 (etcd2) and not etcd api v3 (etcd3). since etcd 3.4.0 etcd3 has become the default api, and etcd2 is disabled by default.
Setup
Salt formula:
Newest version:
Steps to Reproduce Issue
https://github.com/etcd-io/etcd/releases/tag/v3.4.3
pip install python-etcd
/tmp/etcd-download-test/etcd
salt-call state.sls etcd-test
Versions Report