You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[DEBUG ] Error loading module.boto3_elasticsearch: __init__ failed
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/salt/loader/lazy.y", line 883, in _load_module
self.run(module_init, self.opts)
...
File "/usr/lib/python3.6/site-packges/salt/modules/boto3_elasticsearch.py", line 94, in __init__
__utils__["boto3.assign_funcs"](__name__, "es")
...
File "/usr/lib/python3.6/site-packages/salt/utils/lazy.py, line 105, in __getitem__
raise KeyError(key)
KeyError: 'boto3.assign_funcs'
[DEBUG ] Could not LazyLoad boto3.assign_funcs: 'boto3.assign_funcs' is not available.
'boto3_elasticsearch' __virtual__ returned False: __init__ failed
Expected behavior
boto3_elasticsearch __virtual__ should return True since only boto3 should be required and not boto
There should not be a KeyError calling boto3.assign_funcs
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)
Salt Version:
Salt: 3004.1
The text was updated successfully, but these errors were encountered:
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 [email protected]. We’re glad you’ve joined our community and look forward to doing awesome things with you!
Description
The boto3mod utils module imports the old boto module (
salt/salt/utils/boto3mod.py
Line 41 in 998cb0f
__utils__["boto3.assign_funcs"]
Setup
yum install salt-minion
/usr/bin/pip3 install boto3
master_type: disable
andfile_client: local
Steps to Reproduce the behavior
salt-call --local -l debug boto3_elasticsearch.describe_elasticsearch_domains
Expected behavior
boto3_elasticsearch
__virtual__
should returnTrue
since only boto3 should be required and not botoThere should not be a
KeyError
callingboto3.assign_funcs
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)The text was updated successfully, but these errors were encountered: