Open naqoyqatsi83 opened 2 years ago
Hi there! Welcome to the Salt Community! Thank you for making your first contribution. We have a lengthy process for issues and PRs. Someone from the Core Team will follow up as soon as possible. In the meantime, here’s some information that may help as you continue your Salt journey. Please be sure to review our Code of Conduct. Also, check out some of our community resources including:
There are lots of ways to get involved in our community. Every month, there are around a dozen opportunities to meet with other contributors and the Salt Core team and collaborate in real time. The best way to keep track is by subscribing to the Salt Community Events Calendar. If you have additional questions, email us at saltproject@vmware.com. We’re glad you’ve joined our community and look forward to doing awesome things with you!
[Errno 101] Network is unreachable
Is this machine able to access the Internet?
Note that you're also going to need all the build prerequisites as there are no wheels provided.
[Errno 101] Network is unreachable
Is this machine able to access the Internet?
Yes.. it is behind proxy.. on purpose I've skipped part of command line showing IP address of proxy.. (yes.. I could also replace it with some dummy variable).
We have also checked logs on proxy and we don't see any attempts for download of something what is not allowed.
How is the proxy configured? Possibly that is not propagating to the pip sub-processes correctly.
This might be due to https://github.com/pypa/pip/issues/7805.
How is the proxy configured? Possibly that is not propagating to the pip sub-processes correctly. I've used command line argument to parse proxy setting to
salt-pip
with other modules I had no issues.. but build process might be different in their casesThis might be due to pypa/pip#7805. Yep.. you hit a nail.. I've used
pip config set global.proxy http://{host}:{port}
and suddenly everything works as intended.. compilation and installation of module is done.
Thanks! .. I was completely unaware of this bug of pip
Description Since new packaging way (onedir) is bringing it's own python with salt installation.. salt-pip should be used to install modules so salt can work with them.. One of modules which we're using is
python-ldap
for authentication against the LDAP and getting tokens for next x-hours.. but in version 3005.x it's not possible to install this module viasalt-pip
command.Setup Nothing specific.. clean installation of salt-master using onedir distribution packages (tested on RedHat 8)
Please be as specific as possible and give set-up details.
Steps to Reproduce the behavior Try to install
python-ldap
module viasalt-pip
Expected behavior Expected is successfull installation of
python-ldap
module with it's dependencies and full functionality while using salt with authentication against LDAPScreenshots
Versions Report
salt --versions-report
``` [root@tsm2r401 ~]# salt --versions-report Salt Version: Salt: 3005.1 Dependency Versions: cffi: 1.14.6 cherrypy: unknown dateutil: 2.8.1 docker-py: Not Installed gitdb: Not Installed gitpython: Not Installed Jinja2: 3.1.0 libgit2: Not Installed M2Crypto: Not Installed Mako: Not Installed msgpack: 1.0.2 msgpack-pure: Not Installed mysql-python: Not Installed pycparser: 2.21 pycrypto: Not Installed pycryptodome: 3.9.8 pygit2: Not Installed Python: 3.9.14 (main, Oct 3 2022, 21:24:00) python-gnupg: 0.4.8 PyYAML: 5.4.1 PyZMQ: 23.2.0 smmap: Not Installed timelib: 0.2.4 Tornado: 4.5.3 ZMQ: 4.3.4 System Versions: dist: rhel 8.6 Ootpa locale: utf-8 machine: x86_64 release: 4.18.0-372.9.1.el8.x86_64 system: Linux version: Red Hat Enterprise Linux 8.6 Ootpa ```Additional context We have succeeded with installation of some other python modules which we need.. but this one seems to be problem..