FS#48868 - [libgit2] salt-master + pygit2 fail after update to 0.24.0

Attached to Project: Arch Linux
Opened by viq (viq) - Sunday, 10 April 2016, 13:39 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 11 April 2016, 17:11 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
salt-master + pygit2 does not work anymore with libgit2 0.24.0

Additional info:
* community/salt-zmq 2015.8.7-1
* community/python2-pygit2 0.23.3-2
* extra/libgit2 1:0.24.0-1
* grep gitfs_provider /etc/salt/master
gitfs_provider: pygit2

This combination results in following logs:
2016-04-10 14:53:08,945 [salt.utils.gitfs ][ERROR ][25485] Git fileserver backend is enabled in master config file, but could not be loaded, are pygit2 and libgit2 installed?
2016-04-10 14:53:08,945 [salt.utils.gitfs ][ERROR ][25485] GitPython is installed, you may wish to set {0}_provider to 'gitpython' in the master config file to use GitPython for {0} support.
2016-04-10 14:53:08,945 [salt.utils.gitfs ][CRITICAL][25485] No suitable gitfs provider module is installed.

Reverting to libgit2 1:0.23.4-3 resolves this

Steps to reproduce:
Install latest versions of salt-zmq and python2-pygit2, configure salt-master to use pygit2, see it fail
This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 11 April 2016, 17:11 GMT
Reason for closing:  Fixed
Additional comments about closing:  python2-pygit2-0.24.0 is now in Community.
Comment by Doug Newgard (Scimmia) - Sunday, 10 April 2016, 16:36 GMT
Try it with python2-pygit2 0.24.0 in Testing.
Comment by viq (viq) - Sunday, 10 April 2016, 20:25 GMT
Spoken too soon, sorry, let me try more.
Comment by viq (viq) - Monday, 11 April 2016, 14:06 GMT
Yes, libgit2-1:0.24.0-1 + python2-pygit2-0.24.0-1 + salt-zmq 2015.8.7-1 work

Loading...