Skip to content

Instantly share code, notes, and snippets.

@romu70
Created October 30, 2014 10:31
Show Gist options
  • Save romu70/395b22633f8b75cf9997 to your computer and use it in GitHub Desktop.
Save romu70/395b22633f8b75cf9997 to your computer and use it in GitHub Desktop.
vagrant-libvirt authentication issue
Bringing machine 'dev' up with 'libvirt' provider...
<user>@<server>'s password:
==> dev: Creating image (snapshot of base box volume).
==> dev: Creating domain with the following settings...
==> dev: -- Name: website_dev
==> dev: -- Domain type: kvm
==> dev: -- Cpus: 1
==> dev: -- Memory: 1024M
==> dev: -- Base box: trusty64
==> dev: -- Storage pool: vms
==> dev: -- Image: /home/<user>/vms/website_dev.img
==> dev: -- Volume Cache: default
==> dev: -- Kernel:
==> dev: -- Initrd:
==> dev: -- Command line :
==> dev: Starting domain.
==> dev: Waiting for domain to get an IP address...
ERROR warden: Error occurred: Error authenticating over ssh to host <server> and user <user>
==> dev: Removing domain...
ERROR warden: Error occurred: Error authenticating over ssh to host <server> and user <user>
ERROR warden: Error occurred: Error authenticating over ssh to host <server> and user <user>
/home/<mylogin>/.vagrant.d/gems/gems/fog-1.23.0/lib/fog/libvirt/models/compute/server.rb:247:in `rescue in addresses': Error authenticating over ssh to host <server> and user <user> (Fog::Errors::Error)
from /home/<mylogin>/.vagrant.d/gems/gems/fog-1.23.0/lib/fog/libvirt/models/compute/server.rb:242:in `addresses'
from /home/<mylogin>/.vagrant.d/gems/gems/vagrant-libvirt-0.0.20/lib/vagrant-libvirt/action/wait_till_up.rb:39:in `block (3 levels) in call'
from /home/<mylogin>/.vagrant.d/gems/gems/fog-core-1.24.0/lib/fog/core/model.rb:68:in `instance_eval'
from /home/<mylogin>/.vagrant.d/gems/gems/fog-core-1.24.0/lib/fog/core/model.rb:68:in `block in wait_for'
from /home/<mylogin>/.vagrant.d/gems/gems/fog-core-1.24.0/lib/fog/core/wait_for.rb:6:in `wait_for'
from /home/<mylogin>/.vagrant.d/gems/gems/fog-core-1.24.0/lib/fog/core/model.rb:65:in `wait_for'
from /home/<mylogin>/.vagrant.d/gems/gems/vagrant-libvirt-0.0.20/lib/vagrant-libvirt/action/wait_till_up.rb:38:in `block (2 levels) in call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/util/retryable.rb:17:in `retryable'
from /home/<mylogin>/.vagrant.d/gems/gems/vagrant-libvirt-0.0.20/lib/vagrant-libvirt/action/wait_till_up.rb:33:in `block in call'
from /home/<mylogin>/.vagrant.d/gems/gems/vagrant-libvirt-0.0.20/lib/vagrant-libvirt/util/timer.rb:9:in `time'
from /home/<mylogin>/.vagrant.d/gems/gems/vagrant-libvirt-0.0.20/lib/vagrant-libvirt/action/wait_till_up.rb:31:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/warden.rb:34:in `call'
from /home/<mylogin>/.vagrant.d/gems/gems/vagrant-libvirt-0.0.20/lib/vagrant-libvirt/action/start_domain.rb:26:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/warden.rb:34:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/builtin/synced_folders.rb:84:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/warden.rb:34:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/builtin/synced_folder_cleanup.rb:28:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/warden.rb:34:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/plugins/synced_folders/nfs/action_cleanup.rb:25:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/warden.rb:34:in `call'
from /home/<mylogin>/.vagrant.d/gems/gems/vagrant-libvirt-0.0.20/lib/vagrant-libvirt/action/prepare_nfs_valid_ids.rb:12:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/warden.rb:34:in `call'
from /home/<mylogin>/.vagrant.d/gems/gems/vagrant-libvirt-0.0.20/lib/vagrant-libvirt/action/create_network_interfaces.rb:98:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/warden.rb:34:in `call'
from /home/<mylogin>/.vagrant.d/gems/gems/vagrant-libvirt-0.0.20/lib/vagrant-libvirt/action/create_networks.rb:76:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/warden.rb:34:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/builtin/provision.rb:80:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/warden.rb:34:in `call'
from /home/<mylogin>/.vagrant.d/gems/gems/vagrant-libvirt-0.0.20/lib/vagrant-libvirt/action/create_domain.rb:114:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/warden.rb:34:in `call'
from /home/<mylogin>/.vagrant.d/gems/gems/vagrant-libvirt-0.0.20/lib/vagrant-libvirt/action/create_domain_volume.rb:51:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/warden.rb:34:in `call'
from /home/<mylogin>/.vagrant.d/gems/gems/vagrant-libvirt-0.0.20/lib/vagrant-libvirt/action/handle_box_image.rb:38:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/warden.rb:34:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/builtin/handle_box.rb:56:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/warden.rb:34:in `call'
from /home/<mylogin>/.vagrant.d/gems/gems/vagrant-libvirt-0.0.20/lib/vagrant-libvirt/action/handle_storage_pool.rb:21:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/warden.rb:34:in `call'
from /home/<mylogin>/.vagrant.d/gems/gems/vagrant-libvirt-0.0.20/lib/vagrant-libvirt/action/set_name_of_domain.rb:34:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/warden.rb:34:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/warden.rb:34:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/warden.rb:34:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/builder.rb:116:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/runner.rb:66:in `block in run'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/util/busy.rb:19:in `busy'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/runner.rb:66:in `run'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/builtin/call.rb:53:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/warden.rb:34:in `call'
from /home/<mylogin>/.vagrant.d/gems/gems/vagrant-libvirt-0.0.20/lib/vagrant-libvirt/action/connect_libvirt.rb:45:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/warden.rb:34:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/warden.rb:34:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/builder.rb:116:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/runner.rb:66:in `block in run'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/util/busy.rb:19:in `busy'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/action/runner.rb:66:in `run'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/machine.rb:196:in `action_raw'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/machine.rb:173:in `block in action'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/environment.rb:474:in `lock'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/machine.rb:161:in `call'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/machine.rb:161:in `action'
from /opt/vagrant/embedded/gems/gems/vagrant-1.6.4/lib/vagrant/batch_action.rb:82:in `block (2 levels) in run'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment