Open EmmanuelKasper opened 9 years ago
Any news here? I'm getting this error too..
Hi,
I had the same problem in my current setup. Just change the proxmox.endpoint from 'https://pve3.local:8006/api2/json/' to 'https://pve3.local:8006/api2/json'
Cheers
I am getting a similar error
but changing the end-point doesnt work for me
INFO interface: error: Unable to communicate with proxmox server:
I blogged out my steps for this http://niccolox.org/compile-custom-vagrant-plugin-for-proxmox-provider/
VagrantPlugins::Proxmox::ApiError::UnauthorizedError Unable to communicate with proxmox server:
VagrantPlugins::Proxmox::ApiError::UnauthorizedError INFO interface: Machine: error-exit ["VagrantPlugins::Proxmox::Errors::CommunicationError", "Unable to communicate with proxmox server:\n\nVagrantPlugins::Proxmox::ApiError::UnauthorizedError"]
I've also run into this issue, changing the end-point doesn't help.
To get around this you need to specify which source to lookup the user in. If the user is a local PAM user, then 'user@pam' format must be used. If user is PVE, then it must be 'user@pve'
I have the same error with proxmox 4.2, and I don't have any / at endpoint end.
I have also set root@pam as user, without success.
On calling, vagrant up, I get an authentification error with:
I get authenticate over curl and I get the required Proxmox API ticket:
Here the relevant part of my Vagrantfile:
Am using a wrong vagrant ( 1.6.5), a wrong PVE version, or missing something else ?