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
Deploy netbox in a not-root path.. such as https://myserver.example.com/netbox/ and query with inventory plugin
Expected Behavior
Normal inventory result set
Observed Behavior
Empty result set. The inventory plugin queries net box's OpenAPI endpoint, and composes the API paths from the OpenAPI output. However, the inventory plugin doesn't factor in the full url of the netbox server when querying the API. It always assumes netbox is running at the root context.. aka server.example.com/ and composes the inventory API points accordingly, ignoring any subpath such as /netbox/
Other components are aware of the base path, it seems to just be the inventory plugin.
The text was updated successfully, but these errors were encountered:
Ansible NetBox Collection version
v3.21.0
Ansible version
NetBox version
v3.5.5
Python version
3.11
Steps to Reproduce
Deploy netbox in a not-root path.. such as
https://myserver.example.com/netbox/
and query with inventory pluginExpected Behavior
Normal inventory result set
Observed Behavior
Empty result set. The inventory plugin queries net box's OpenAPI endpoint, and composes the API paths from the OpenAPI output. However, the inventory plugin doesn't factor in the full url of the netbox server when querying the API. It always assumes netbox is running at the root context.. aka
server.example.com/
and composes the inventory API points accordingly, ignoring any subpath such as/netbox/
Other components are aware of the base path, it seems to just be the inventory plugin.
The text was updated successfully, but these errors were encountered: