Skip to content

Permission denied: This may impair functionality of the inventory plugin. #6787

Answered by simo735
simo735 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello Candlerb,

First of all I would like to thank you for your reply.
My netbox server isn't behind a proxy so there is no need for extra authentication in my case.
Otherwise, I grant to my user the 'Superuser' right, even tough I have the same error message.
When I use curl, all the commands worked well. For example to get device-types:

Using ansible-inventory: (KO)
Permission denied: https://netbox_server/api/dcim/device-types/?limit=0. This may impair functionality of the inventory plugin.

Using curl: (OK)
curl -H 'Authorization: Token xxxxxx' 'https://netbox_server/api/dcim/device-types/?limit=0'

{
"count": 1,
"next": null,
"previous": null,
"results": [
{
......
}
]
}

I can't undres…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@candlerb
Comment options

@simo735
Comment options

Answer selected by ryanmerolle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants