Closed bwaang closed 1 month 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!
Oh nice, thanks did not know that salt now doesn't depend on the preinstalled python in the current version - good to know that change come in 3006 & later.
For anyone else debugging just ran this & it worked fine afterwards:
salt-pip install pymongo
salt-pip install redis
Calling salt '*' pillar.items
yielded data from all ext_pillar
sources now:
saltminion-5bc5b48465-58kc6:
----------
_id:
saltminion
ext_pillar:
json_text
mongokey1:
minion
mongokey2:
pillar
redis_pillar:
----------
redisminion1:
minionval1
redisminion2:
minionval2
saltmaster-76596c588f-84sf7:
----------
_id:
saltmaster
ext_pillar:
json_text
mongokey1:
master
mongokey2:
pillar
redis_pillar:
----------
redis1:
value1
redis2:
value2
Thanks for the help!
Description Trying to setup
ext_pillar
for eithermongo
orredis
yields this error:I've gotten this to work in previous much older versions of salt, but trying this now on the latest yielding the above errors
Setup These are the packages that I've installed (
python3
is already available) runningal2023
(Amazon Linux 2023):Here's my master configuration
I have confirmed that from the salt-master I can connect to both mongo and redis which I've put some dummy data in:
Please be as specific as possible and give set-up details.
Steps to Reproduce the behavior
salt '*' pillar.items
to querypillar
Expected behavior That
ext_pillar
would be working and can pull external pillar data from mongo or redisScreenshots N/A
Versions Report
salt --versions-report (both master & minion)
```yaml Salt Version: Salt: 3007.1 Python Version: Python: 3.10.14 (main, Apr 3 2024, 21:33:04) [GCC 11.2.0] Dependency Versions: cffi: 1.16.0 cherrypy: unknown dateutil: 2.8.2 docker-py: Not Installed gitdb: Not Installed gitpython: Not Installed Jinja2: 3.1.4 libgit2: Not Installed looseversion: 1.3.0 M2Crypto: Not Installed Mako: Not Installed msgpack: 1.0.7 msgpack-pure: Not Installed mysql-python: Not Installed packaging: 23.1 pycparser: 2.21 pycrypto: Not Installed pycryptodome: 3.19.1 pygit2: Not Installed python-gnupg: 0.5.2 PyYAML: 6.0.1 PyZMQ: 25.1.2 relenv: 0.16.0 smmap: Not Installed timelib: 0.3.0 Tornado: 6.3.3 ZMQ: 4.3.4 Salt Package Information: Package Type: onedir System Versions: dist: amzn 2023.5.20240730 locale: utf-8 machine: aarch64 release: 6.10.0-linuxkit system: Linux version: Amazon Linux 2023.5.20240730 ```Additional context Testing this out locally first in a cluster of containers in kubernetes environment before pushing it to ec2 instances in AWS