Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The OpenVZ example will give a Not Implemented error #27

Open
Ciev opened this issue Jan 8, 2016 · 1 comment
Open

The OpenVZ example will give a Not Implemented error #27

Ciev opened this issue Jan 8, 2016 · 1 comment

Comments

@Ciev
Copy link

Ciev commented Jan 8, 2016

Hi,

I was trying to do both examples openVZ and KVM and the process will only work with KVM... after setting up everything to work with openVZ I get the following error:

user@user-All-Series:~/vagrant-proxmox-master/dummy_box$ vagrant up --provider=proxmox
Bringing machine 'box' up with 'proxmox' provider...
==> box: Creating the virtual machine...
Unable to communicate with proxmox server:

Unable to create the virtual machine!

Cause: VagrantPlugins::Proxmox::ApiError::NotImplemented

my Vagrant fie is configured as:

Vagrant.configure('2') do |config|

config.vm.provider :proxmox do |proxmox|
    proxmox.endpoint = 'https://192.168.10.93:8006/api2/json'
    proxmox.user_name = 'admin@pam'
    proxmox.password = 'pass'
    proxmox.vm_id_range = 900..910
    proxmox.vm_name_prefix = 'vg_pm_dev_'
    proxmox.openvz_os_template = 'local:iso/vagrant-proxmox-ubuntu-12.tar.gz'
    proxmox.vm_type = :openvz
    proxmox.vm_memory = 1024
end

config.vm.define :box, primary: true do |box|
    box.vm.box = 'dummy'
    box.vm.network :public_network, ip: '192.168.10.94'
end

end

Basically the example template..
I'm using

  • Vagrant 1.8.1
  • ruby 2.2.4p230

I have no idea what went wrong... If you can give me any hint, I'll appreciated.

Best

@devekko
Copy link

devekko commented Jan 14, 2016

on Proxmox 4, its LXC now, not OpenVZ

I'm also trying to work this out

I blogged about my approach here, but got login errors, which I fixed

now, am getting networking/ssh errors, but the machine is created
http://niccolox.org/compile-custom-vagrant-plugin-for-proxmox-provider/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants