Understanding the usage of SSH in the module #1466
-
Hey! I'm trying to create a VM using Ubuntu ISO but I'm facing issues to attach the disk to node. This is the error I'm facing:
I know this is related to SSH/networks but I don't understand exactly why I'm facing this issue. I tried the following approaches:
None of these approaches work. How this needs to be set up in order to attach this hard drive correctly? I can provide the values/manifests I'm using if needed. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Hey @felipe-loka 👋🏼 You may wan't to take a look at SSH Connection section in the provider docs. In general the provider is using Proxmox VE REST API for most of its functionality. However, certain features are not exposed via APIs, and only available as cmd-line tools on the PVE host itself. So SSH is used as a workaround, to circumvent these limitations and performs the required actions. Like attaching an existing disk image to a VM. However, I'm not sure attaching an ISO image as a disk to a VM will work. It has to be connected as a |
Beta Was this translation helpful? Give feedback.
-
The SSH side of this provider continues to be a complete nightmare to work with. Above, this documentation was referenced and yet, it doesn't even work.
So it looks like the provider's SSH connection isn't even being used now despite the properly configured
Update: The linked documentation does work with no changes made to the mentioned provider block. I think I may have overlooked |
Beta Was this translation helpful? Give feedback.
Without SSH usage you would still be doing ClickOps so nightmare seems like a harsh description for a great future that allows to automate almost everything in PVE.
Have you read the documentation for setting up SSH for multiple nodes? Looking at your example the
endpoint = "https://pve:8006"
makes me suspicious becausepve
must be resolvable through DNS and I guess this is not the case. If you enabled the agent becausepve
is a hostname in your~/.ssh/config
file you should read the documentation about the SSH agent because it…which is also shown in the error message the author of this discussion posted.
In g…