vagrant-libvirt: undefined method `active?'
Hi, I need to deploy windows application on KVM. I installed vagrant-windows and vagrant-libvirt. Created a base box following instruction from vagrant-windows (installed and configured Windows), then combined libvirt related parts from vagrant-libvirt (made qcow2 image, created metadata.json and packaged the box).
Now, when Iām trying to vagrant up --provider=libvirt, I get following errors:
An error occurred while executing multiple actions in parallel.
Any errors that occurred are shown below.
An unexpected error ocurred when executing the action on the
'default' machine. Please report this as a bug:
undefined method `active?' for #<Libvirt::Domain:0x007f4e54a2d330>
/home/dainichi/.vagrant.d/gems/gems/fog-1.15.0/lib/fog/libvirt/requests/compute/list_domains.rb:64:in `domain_to_attributes'
/home/dainichi/.vagrant.d/gems/gems/fog-1.15.0/lib/fog/libvirt/requests/compute/list_domains.rb:16:in `block in list_domains'
/home/dainichi/.vagrant.d/gems/gems/fog-1.15.0/lib/fog/libvirt/requests/compute/list_domains.rb:16:in `map'
/home/dainichi/.vagrant.d/gems/gems/fog-1.15.0/lib/fog/libvirt/requests/compute/list_domains.rb:16:in `list_domains'
/home/dainichi/.vagrant.d/gems/gems/fog-1.15.0/lib/fog/libvirt/models/compute/servers.rb:13:in `all'
/home/dainichi/.vagrant.d/gems/gems/vagrant-libvirt-0.0.15/lib/vagrant-libvirt/action/set_name_of_domain.rb:24:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
/opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builder.rb:116:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in `block in run'
/opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/util/busy.rb:19:in `busy'
/opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in `run'
/opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builtin/call.rb:51:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/home/dainichi/.vagrant.d/gems/gems/vagrant-libvirt-0.0.15/lib/vagrant-libvirt/action/connect_libvirt.rb:84:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/warden.rb:34:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/builder.rb:116:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in `block in run'
/opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/util/busy.rb:19:in `busy'
/opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/action/runner.rb:69:in `run'
/opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/machine.rb:147:in `action'
/opt/vagrant/embedded/gems/gems/vagrant-1.4.3/lib/vagrant/batch_action.rb:63:in `block (2 levels) in run'
/home/dainichi/.vagrant.d/gems/gems/logging-1.8.1/lib/logging/diagnostic_context.rb:323:in `call'
/home/dainichi/.vagrant.d/gems/gems/logging-1.8.1/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'
thanks
About this issue
- Original URL
- State: closed
- Created 10 years ago
- Comments: 23 (8 by maintainers)
Right now on archlinux: