gitfs non fonctionnel pour pillar #1

Closed
opened 2018-05-22 16:39:30 +00:00 by Iwan · 4 comments

Cette configuration me donne le message suivant dans /var/log/salt/master:

2018-05-22 16:36:35,143 [salt.utils.gitfs :1714][ERROR ][27059] Error occurred fetching git_pillar remote 'https://saltgitfsreader:MontBeauMotdePasse@gitea.lescorpsdereve.space/salt/pillar.git': Malformed URL
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/salt/utils/gitfs.py", line 1692, in _fetch
fetch_results = origin.fetch(**fetch_kwargs)
File "/usr/lib/python2.7/dist-packages/pygit2/remote.py", line 375, in fetch
check_error(err)
File "/usr/lib/python2.7/dist-packages/pygit2/errors.py", line 64, in check_error
raise GitError(message)
GitError: Malformed URL

Cette configuration me donne le message suivant dans /var/log/salt/master: 2018-05-22 16:36:35,143 [salt.utils.gitfs :1714][ERROR ][27059] Error occurred fetching git_pillar remote 'https://saltgitfsreader:MontBeauMotdePasse@gitea.lescorpsdereve.space/salt/pillar.git': Malformed URL Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/salt/utils/gitfs.py", line 1692, in _fetch fetch_results = origin.fetch(**fetch_kwargs) File "/usr/lib/python2.7/dist-packages/pygit2/remote.py", line 375, in fetch check_error(err) File "/usr/lib/python2.7/dist-packages/pygit2/errors.py", line 64, in check_error raise GitError(message) GitError: Malformed URL
Owner

peux tu completer ton case avec in pip list et et version report sur ton master :

root@gru:~# pip list
Package Version


apache-libcloud 1.5.0
backports-abc 0.5
certifi 2018.4.16
chardet 3.0.4
CherryPy 3.5.0
croniter 0.3.12
cryptography 1.7.1
elasticsearch 6.2.0
enum34 1.1.6
futures 3.0.5
gitdb2 2.0.0
GitPython 2.1.1
idna 2.6
influxdb 5.0.0
ioflo 1.7.4
ipaddress 1.0.17
IPy 0.83
Jinja2 2.9.4
libnacl 1.6.1
lockfile 0.12.2
MarkupSafe 0.23
msgpack-python 0.4.8
netaddr 0.7.18
Pillow 4.0.0
pip 10.0.1
psutil 5.0.1
pyasn1 0.1.9
pycparser 2.18
pycrypto 2.6.1
pycryptodome 3.6.1
PyOpenGL 3.1.0
pyOpenSSL 16.2.0
Pyrex 0.9.9
python-apt 1.4.0b3
python-dateutil 2.7.2
python-gnupg 0.4.2
pytz 2016.7
PyYAML 3.12
pyzmq 16.0.2
raet 0.6.8
repoze.lru 0.6
requests 2.18.4
Routes 2.3.1
salt 2018.3.0
setuptools 33.1.1
simplejson 3.10.0
singledispatch 3.4.0.3
six 1.10.0
smmap2 2.0.1
systemd-python 233
timelib 0.2.4
tornado 4.4.3
urllib3 1.22
WebOb 1.6.2
wheel 0.31.0

root@gru:~# salt --versions-report
Salt Version:
Salt: 2018.3.0

Dependency Versions:
cffi: Not Installed
cherrypy: 3.5.0
dateutil: 2.7.2
docker-py: Not Installed
gitdb: 2.0.0
gitpython: 2.1.1
ioflo: 1.7.4
Jinja2: 2.9.4
libgit2: Not Installed
libnacl: 1.6.1
M2Crypto: Not Installed
Mako: Not Installed
msgpack-pure: Not Installed
msgpack-python: 0.4.8
mysql-python: Not Installed
pycparser: 2.18
pycrypto: 3.6.1
pycryptodome: Not Installed
pygit2: Not Installed
Python: 2.7.13 (default, Nov 24 2017, 17:33:09)
python-gnupg: 0.4.2
PyYAML: 3.12
PyZMQ: 16.0.2
RAET: 0.6.8
smmap: 2.0.1
timelib: 0.2.4
Tornado: 4.4.3
ZMQ: 4.2.1

System Versions:
dist: debian 9.4
locale: ANSI_X3.4-1968
machine: x86_64
release: 4.15.17-1-pve
system: Linux
version: debian 9.4

peux tu completer ton case avec in pip list et et version report sur ton master : root@gru:~# pip list Package Version --------------- --------- apache-libcloud 1.5.0 backports-abc 0.5 certifi 2018.4.16 chardet 3.0.4 CherryPy 3.5.0 croniter 0.3.12 cryptography 1.7.1 elasticsearch 6.2.0 enum34 1.1.6 futures 3.0.5 gitdb2 2.0.0 GitPython 2.1.1 idna 2.6 influxdb 5.0.0 ioflo 1.7.4 ipaddress 1.0.17 IPy 0.83 Jinja2 2.9.4 libnacl 1.6.1 lockfile 0.12.2 MarkupSafe 0.23 msgpack-python 0.4.8 netaddr 0.7.18 Pillow 4.0.0 pip 10.0.1 psutil 5.0.1 pyasn1 0.1.9 pycparser 2.18 pycrypto 2.6.1 pycryptodome 3.6.1 PyOpenGL 3.1.0 pyOpenSSL 16.2.0 Pyrex 0.9.9 python-apt 1.4.0b3 python-dateutil 2.7.2 python-gnupg 0.4.2 pytz 2016.7 PyYAML 3.12 pyzmq 16.0.2 raet 0.6.8 repoze.lru 0.6 requests 2.18.4 Routes 2.3.1 salt 2018.3.0 setuptools 33.1.1 simplejson 3.10.0 singledispatch 3.4.0.3 six 1.10.0 smmap2 2.0.1 systemd-python 233 timelib 0.2.4 tornado 4.4.3 urllib3 1.22 WebOb 1.6.2 wheel 0.31.0 root@gru:~# salt --versions-report Salt Version: Salt: 2018.3.0 Dependency Versions: cffi: Not Installed cherrypy: 3.5.0 dateutil: 2.7.2 docker-py: Not Installed gitdb: 2.0.0 gitpython: 2.1.1 ioflo: 1.7.4 Jinja2: 2.9.4 libgit2: Not Installed libnacl: 1.6.1 M2Crypto: Not Installed Mako: Not Installed msgpack-pure: Not Installed msgpack-python: 0.4.8 mysql-python: Not Installed pycparser: 2.18 pycrypto: 3.6.1 pycryptodome: Not Installed pygit2: Not Installed Python: 2.7.13 (default, Nov 24 2017, 17:33:09) python-gnupg: 0.4.2 PyYAML: 3.12 PyZMQ: 16.0.2 RAET: 0.6.8 smmap: 2.0.1 timelib: 0.2.4 Tornado: 4.4.3 ZMQ: 4.2.1 System Versions: dist: debian 9.4 locale: ANSI_X3.4-1968 machine: x86_64 release: 4.15.17-1-pve system: Linux version: debian 9.4
Owner

Question a 2 bal : Est ce que ton password est bien compatible ? [a-Z][0-9]

Question a 2 bal : Est ce que ton password est bien compatible ? [a-Z][0-9]
Author

salt --versions-report Salt Version
Salt Version:
Salt: 2018.3.0

Dependency Versions:
cffi: Not Installed
cherrypy: Not Installed
dateutil: 2.5.3
docker-py: Not Installed
gitdb: 2.0.0
gitpython: 2.1.1
ioflo: Not Installed
Jinja2: 2.9.4
libgit2: 0.24.5
libnacl: Not Installed
M2Crypto: Not Installed
Mako: Not Installed
msgpack-pure: Not Installed
msgpack-python: 0.4.8
mysql-python: Not Installed
pycparser: Not Installed
pycrypto: 2.6.1
pycryptodome: Not Installed
pygit2: 0.24.2
Python: 2.7.13 (default, Nov 24 2017, 17:33:09)
python-gnupg: Not Installed
PyYAML: 3.12
PyZMQ: 16.0.2
RAET: Not Installed
smmap: 2.0.1
timelib: Not Installed
Tornado: 4.4.3
ZMQ: 4.2.1

System Versions:
dist: debian 9.4
locale: ANSI_X3.4-1968
machine: x86_64
release: 4.13.13-6-pve
system: Linux
version: debian 9.4

salt --versions-report Salt Version Salt Version: Salt: 2018.3.0 Dependency Versions: cffi: Not Installed cherrypy: Not Installed dateutil: 2.5.3 docker-py: Not Installed gitdb: 2.0.0 gitpython: 2.1.1 ioflo: Not Installed Jinja2: 2.9.4 libgit2: 0.24.5 libnacl: Not Installed M2Crypto: Not Installed Mako: Not Installed msgpack-pure: Not Installed msgpack-python: 0.4.8 mysql-python: Not Installed pycparser: Not Installed pycrypto: 2.6.1 pycryptodome: Not Installed pygit2: 0.24.2 Python: 2.7.13 (default, Nov 24 2017, 17:33:09) python-gnupg: Not Installed PyYAML: 3.12 PyZMQ: 16.0.2 RAET: Not Installed smmap: 2.0.1 timelib: Not Installed Tornado: 4.4.3 ZMQ: 4.2.1 System Versions: dist: debian 9.4 locale: ANSI_X3.4-1968 machine: x86_64 release: 4.13.13-6-pve system: Linux version: debian 9.4
Author

apache-libcloud (1.5.0)
backports-abc (0.5)
chardet (2.3.0)
croniter (0.3.12)
cryptography (1.7.1)
enum34 (1.1.6)
futures (3.0.5)
gitdb2 (2.0.0)
GitPython (2.1.1)
http-parser (0.8.3)
idna (2.2)
ipaddress (1.0.17)
IPy (0.83)
Jinja2 (2.9.4)
keyring (10.1)
keyrings.alt (1.3)
lockfile (0.12.2)
MarkupSafe (0.23)
msgpack-python (0.4.8)
netaddr (0.7.18)
pip (9.0.1)
psutil (5.0.1)
pyasn1 (0.1.9)
pycrypto (2.6.1)
pygit2 (0.24.2)
pygobject (3.22.0)
pyOpenSSL (16.2.0)
python-apt (1.4.0b3)
python-dateutil (2.5.3)
pytz (2016.7)
pyxdg (0.25)
PyYAML (3.12)
pyzmq (16.0.2)
requests (2.12.4)
salt (2018.3.0)
SecretStorage (2.3.1)
setuptools (33.1.1)
simplejson (3.10.0)
singledispatch (3.4.0.3)
six (1.10.0)
smmap2 (2.0.1)
systemd-python (233)
tornado (4.4.3)
urllib3 (1.19.1)
wheel (0.29.0)

apache-libcloud (1.5.0) backports-abc (0.5) chardet (2.3.0) croniter (0.3.12) cryptography (1.7.1) enum34 (1.1.6) futures (3.0.5) gitdb2 (2.0.0) GitPython (2.1.1) http-parser (0.8.3) idna (2.2) ipaddress (1.0.17) IPy (0.83) Jinja2 (2.9.4) keyring (10.1) keyrings.alt (1.3) lockfile (0.12.2) MarkupSafe (0.23) msgpack-python (0.4.8) netaddr (0.7.18) pip (9.0.1) psutil (5.0.1) pyasn1 (0.1.9) pycrypto (2.6.1) pygit2 (0.24.2) pygobject (3.22.0) pyOpenSSL (16.2.0) python-apt (1.4.0b3) python-dateutil (2.5.3) pytz (2016.7) pyxdg (0.25) PyYAML (3.12) pyzmq (16.0.2) requests (2.12.4) salt (2018.3.0) SecretStorage (2.3.1) setuptools (33.1.1) simplejson (3.10.0) singledispatch (3.4.0.3) six (1.10.0) smmap2 (2.0.1) systemd-python (233) tornado (4.4.3) urllib3 (1.19.1) wheel (0.29.0)
Iwan closed this issue 2018-05-23 12:36:31 +00:00
Sign in to join this conversation.
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: joseph/salt-master-conf#1