netbox module fails: The netbox execution module cannot be loaded #51795
Labels
Bug
broken, incorrect, or confusing behavior
Confirmed
Salt engineer has confirmed bug/feature - often including a MCVE
fixed-pls-verify
fix is linked, bug author to confirm fix
P4
Priority 4
severity-low
4th level, cosemtic problems, work around exists
Milestone
Description of Issue/Question
When I use the netbox module i.e netbox.openconfig_interfaces I get the error
The netbox execution module cannot be loaded:
pynetbox library is not installed.
It seems that the import of netbox does not work properly. When I comment the line about pynetbox.lib everything works. Please check if pynetbox.lib exists at all.
try:
import pynetbox
# from pynetbox.lib import RequestError
HAS_PYNETBOX = True
except ImportError:
HAS_PYNETBOX = False
Setup
(Please provide relevant configs and/or SLS files (Be sure to remove sensitive info).)
Steps to Reproduce Issue
(Include debug logs if possible and relevant.)
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: