Actions
Bug #15440
closed[oVirt] SSH provisionning failed with "ERF42-1994: Unable to find proper authentication method"
Status:
Resolved
Priority:
High
Assignee:
-
Category:
Compute resources - oVirt
Target version:
-
Description
Hi,
I am not able to provision a VM to an oVirt backend.
SSH provision script is never executed because Foreman can't SSH to new host:
2016-06-16T14:49:35 [app] [W] Failed to login via SSH to test-ovirt.qt.cls.fr: ERF42-1994 [Foreman::Exception]: Unable to find proper authentication method | Foreman::Exception: ERF42-1994 [Foreman::Exception]: Unable to find proper authentication method | /usr/share/foreman/app/models/concerns/orchestration/ssh_provision.rb:53:in `setSSHWaitForResponse' | /usr/share/foreman/app/models/concerns/orchestration.rb:162:in `execute' | /usr/share/foreman/app/models/concerns/orchestration.rb:107:in `block in process' | /usr/share/foreman/app/models/concerns/orchestration.rb:99:in `each' | /usr/share/foreman/app/models/concerns/orchestration.rb:99:in `process' | /usr/share/foreman/app/models/concerns/orchestration.rb:39:in `post_commit' | /usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-4.1.14.2/lib/active_support/callbacks.rb:429:in `block in make_lambda' | /usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-4.1.14.2/lib/active_support/callbacks.rb:256:in `call' | /usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-4.1.14.2/lib/active_support/callbacks.rb:256:in `block in simple' | /usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-4.1.14.2/lib/active_support/callbacks.rb:503:in `call' | /usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-4.1.14.2/lib/active_support/callbacks.rb:503:in `block in call' | /usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-4.1.14.2/lib/active_support/callbacks.rb:503:in `each' | /usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-4.1.14.2/lib/active_support/callbacks.rb:503:in `call' | /usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-4.1.14.2/lib/active_support/callbacks.rb:86:in `run_callbacks' | /usr/share/foreman/vendor/ruby/2.1.0/gems/activerecord-4.1.14.2/lib/active_record/transactions.rb:296:in `committed!'
FYI, same script is correctly executed on VM deployed to vSphere.
Actually, Foreman is trying to connect to new VM too early, before VM ends booting and network is up.
On my previous oVirt installation with earlier Foreman version (<1.11.2), it was working well.
Thanks for your help.
Actions