Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] broken pymongo authentication #63058

Closed
genaumann opened this issue Nov 11, 2022 · 2 comments
Closed

[BUG] broken pymongo authentication #63058

genaumann opened this issue Nov 11, 2022 · 2 comments
Labels
Bug broken, incorrect, or confusing behavior Duplicate Duplicate of another issue or PR - will be closed needs-triage

Comments

@genaumann
Copy link
Contributor

genaumann commented Nov 11, 2022

Description
The pymongo authentication in salt/pillar/mongo.py and salt/returners/test_mongo_future_return.py throws the following error:

TypeError: 'Collection' object is not callable. If you meant to call the 'authenticate' method on a 'Database' object it is failing because no such method exists.

Pymongo is not able to access a database.

Setup
Salt Minion & Master config:

mongo.user: root
mongo.password: pass
mongo.port: 10037
mongo.host: localhost
mongo.db: salt

Steps to Reproduce the behavior
Using mongo ext_pillar and mongo returner with the settings above.

Versions Report
3005.1

Additional context
Associated pull request #63053 already open.

@genaumann genaumann added Bug broken, incorrect, or confusing behavior needs-triage labels Nov 11, 2022
@OrangeDog
Copy link
Contributor

Duplicate: #62083

@OrangeDog OrangeDog added the Duplicate Duplicate of another issue or PR - will be closed label Nov 12, 2022
@Ch3LL
Copy link
Contributor

Ch3LL commented Sep 19, 2023

Closing as duplicate

@Ch3LL Ch3LL closed this as completed Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug broken, incorrect, or confusing behavior Duplicate Duplicate of another issue or PR - will be closed needs-triage
Projects
None yet
Development

No branches or pull requests

3 participants