pradels / vagrant-ovirt

Vagrant provider for oVirt and RHEV.
MIT License
36 stars 20 forks source link

Unable to provision the VM #5

Open mahesh3267 opened 11 years ago

mahesh3267 commented 11 years ago

Hi ,

Iam getting the following error for the command "vagrant up --provider=ovirt". Please let us know if we have any fix for this issues.

Bringing machine 'test_vm' up with 'ovirt' provider... [test_vm] An error occured. Recovering.. [test_vm] VM is not created. Please run vagrant up first. /root/.vagrant.d/gems/gems/vagrant-ovirt-0.0.2/lib/vagrant-ovirt/action/create_vm.rb:48:in call': undefined methodall' for []:Array (NoMethodError) from /opt/vagrant/embedded/gems/gems/vagrant-1.2.4/lib/vagrant/action/warden.rb:34:in call' from /root/.vagrant.d/gems/gems/vagrant-ovirt-0.0.2/lib/vagrant-ovirt/action/set_name_of_domain.rb:24:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.2.4/lib/vagrant/action/warden.rb:34:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.2.4/lib/vagrant/action/runner.rb:61:inblock in run' from /opt/vagrant/embedded/gems/gems/vagrant-1.2.4/lib/vagrant/util/busy.rb:19:in busy' from /opt/vagrant/embedded/gems/gems/vagrant-1.2.4/lib/vagrant/action/runner.rb:61:inrun' from /opt/vagrant/embedded/gems/gems/vagrant-1.2.4/lib/vagrant/action/builtin/call.rb:51:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.2.4/lib/vagrant/action/warden.rb:34:incall' from /root/.vagrant.d/gems/gems/vagrant-ovirt-0.0.2/lib/vagrant-ovirt/action/connect_ovirt.rb:67:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.2.4/lib/vagrant/action/warden.rb:34:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.2.4/lib/vagrant/action/builtin/config_validate.rb:25:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.2.4/lib/vagrant/action/warden.rb:34:incall' from /opt/vagrant/embedded/gems/gems/vagrant-1.2.4/lib/vagrant/action/builder.rb:116:in call' from /opt/vagrant/embedded/gems/gems/vagrant-1.2.4/lib/vagrant/action/runner.rb:61:inblock in run' from /opt/vagrant/embedded/gems/gems/vagrant-1.2.4/lib/vagrant/util/busy.rb:19:in busy' from /opt/vagrant/embedded/gems/gems/vagrant-1.2.4/lib/vagrant/action/runner.rb:61:inrun' from /opt/vagrant/embedded/gems/gems/vagrant-1.2.4/lib/vagrant/machine.rb:147:in action' from /opt/vagrant/embedded/gems/gems/vagrant-1.2.4/lib/vagrant/batch_action.rb:63:inblock (2 levels) in run'

Thanks, Mahesh K

mahesh3267 commented 11 years ago

Hi , We sorted the issue, we are able to install the vms, but not able to ssh. Please suggest.

root@l007324:/vagrant-rhevm# vagrant ssh mahesh ERROR vagrant: Vagrant experienced an error! Details: ERROR vagrant: #<Vagrant::Errors::UnimplementedProviderAction: Vagrant attempted to call the action 'ssh' on the provider 'oVirt (27e64411-d9c6-4be7-9cd3-0d1f83801639)', but this provider doesn't support this action. This is probably a bug in either the provider or the plugin calling this action, and should be reported.> ERROR vagrant: Vagrant attempted to call the action 'ssh' on the provider 'oVirt (27e64411-d9c6-4be7-9cd3-0d1f83801639)', but this provider doesn't support this action. This is probably a bug in either the provider or the plugin calling this action, and should be reported. ERROR vagrant: /opt/vagrant/embedded/gems/gems/vagrant-1.2.7/lib/vagrant/machine.rb:135:in action' /opt/vagrant/embedded/gems/gems/vagrant-1.2.7/plugins/commands/ssh/command.rb:52:inblock in execute' /opt/vagrant/embedded/gems/gems/vagrant-1.2.7/lib/vagrant/plugin/v2/command.rb:182:in block in with_target_vms' /opt/vagrant/embedded/gems/gems/vagrant-1.2.7/lib/vagrant/plugin/v2/command.rb:180:ineach' /opt/vagrant/embedded/gems/gems/vagrant-1.2.7/lib/vagrant/plugin/v2/command.rb:180:in with_target_vms' /opt/vagrant/embedded/gems/gems/vagrant-1.2.7/plugins/commands/ssh/command.rb:36:inexecute' /opt/vagrant/embedded/gems/gems/vagrant-1.2.7/lib/vagrant/cli.rb:46:in execute' /opt/vagrant/embedded/gems/gems/vagrant-1.2.7/lib/vagrant/environment.rb:478:incli' /opt/vagrant/embedded/gems/gems/vagrant-1.2.7/bin/vagrant:84:in <top (required)>' /opt/vagrant/bin/../embedded/gems/bin/vagrant:23:inload' /opt/vagrant/bin/../embedded/gems/bin/vagrant:23:in `

' Vagrant attempted to call the action 'ssh' on the provider 'oVirt (27e64411-d9c6-4be7-9cd3-0d1f83801639)', but this provider doesn't support this action. This is probably a bug in either the provider or the plugin calling this action, and should be reported.

myoung34 commented 10 years ago

I've taken over the upstream work. This and new issues should be opened at my fork