mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #45495 from vutny/doc-rhel-pygit2-compat
[DOC] Suggest to upgrade pygit2 and deps
This commit is contained in:
commit
5a2a31bfff
1 changed files with 4 additions and 26 deletions
|
@ -103,8 +103,8 @@ RedHat Pygit2 Issues
|
|||
|
||||
The release of RedHat/CentOS 7.3 upgraded both ``python-cffi`` and
|
||||
``http-parser``, both of which are dependencies for pygit2_/libgit2_. Both
|
||||
pygit2_ and libgit2_ (which are from the EPEL repository and not managed
|
||||
directly by RedHat) need to be rebuilt against these updated dependencies.
|
||||
``pygit2`` and ``libgit2`` packages (which are from the EPEL repository) should
|
||||
be upgraded to the most recent versions, at least to ``0.24.2``.
|
||||
|
||||
The below errors will show up in the master log if an incompatible
|
||||
``python-pygit2`` package is installed:
|
||||
|
@ -123,30 +123,8 @@ package is installed:
|
|||
|
||||
2017-02-15 18:04:45,211 [salt.utils.gitfs ][ERROR ][6211] Error occurred fetching gitfs remote 'https://foo.com/bar.git': No Content-Type header in response
|
||||
|
||||
As of 15 February 2017, ``python-pygit2`` has been rebuilt and is in the stable
|
||||
EPEL repository. However, ``libgit2`` remains broken (a `bug report`_ has been
|
||||
filed to get it rebuilt).
|
||||
|
||||
In the meantime, you can work around this by downgrading ``http-parser``. To do
|
||||
this, go to `this page`_ and download the appropriate ``http-parser`` RPM for
|
||||
the OS architecture you are using (x86_64, etc.). Then downgrade using the
|
||||
``rpm`` command. For example:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
[root@784e8a8c5028 /]# curl --silent -O https://kojipkgs.fedoraproject.org//packages/http-parser/2.0/5.20121128gitcd01361.el7/x86_64/http-parser-2.0-5.20121128gitcd01361.el7.x86_64.rpm
|
||||
[root@784e8a8c5028 /]# rpm -Uvh --oldpackage http-parser-2.0-5.20121128gitcd01361.el7.x86_64.rpm
|
||||
Preparing... ################################# [100%]
|
||||
Updating / installing...
|
||||
1:http-parser-2.0-5.20121128gitcd01################################# [ 50%]
|
||||
Cleaning up / removing...
|
||||
2:http-parser-2.7.1-3.el7 ################################# [100%]
|
||||
|
||||
A restart of the salt-master daemon may be required to allow http(s)
|
||||
repositories to continue to be fetched.
|
||||
|
||||
.. _`this page`: https://koji.fedoraproject.org/koji/buildinfo?buildID=703753
|
||||
.. _`bug report`: https://bugzilla.redhat.com/show_bug.cgi?id=1422583
|
||||
A restart of the ``salt-master`` daemon and gitfs cache directory clean up may
|
||||
be required to allow http(s) repositories to continue to be fetched.
|
||||
|
||||
|
||||
GitPython
|
||||
|
|
Loading…
Add table
Reference in a new issue