Skip to content

pvesm: command not found #1681

Answered by bpg
shinn5112 asked this question in Q&A
Dec 16, 2024 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

Hey @shinn5112 👋🏼

Looks like the shell the provider gets on the PVE node isn’t a root shell. Since you’re using an SSH agent, the shell might belong to a different user depending on your agent config, keys, or user setup. That user might not have access to /usr/sbin/pvesm on the PVE node.

Can you try SSHing into the PVE node directly from your terminal as root and running pvesm to see if it works?

Also, what’s the default shell for root on your PVE node? The provider only works with bash, so that could be part of the issue.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by shinn5112
Comment options

You must be logged in to vote
1 reply
@bpg
Comment options

bpg Dec 20, 2024
Maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
⌛ pending author's response Requested additional information from the reporter
2 participants