Why does my virtual machine migration using Cluster Suite results in a failure when an SSH banner is used on Red Hat Enterprise Linux?

Solution Verified - Updated -

Issue

  • When using an ssh banner the failover of a virtual machine works but logs an error. This causes the cluster software to believe the failover didn't succeed and the service is marked as down.

Oct 12 16:34:39 server2 clurgmgrd: [3486]: <debug> virsh migrate --live node1 qemu+ssh://server1.example.com/system
Oct 12 16:34:56 server2 clurgmgrd: [3486]: <err> Migrate node1 to server1.example.com failed:

Oct 12 16:34:56 server2 clurgmgrd: [3486]: <err> --- Unauthorised access prohibited ---

Oct 12 16:34:56 server2 clurgmgrd[3486]: <notice> migrate on vm "vm1" returned 1 (generic error)

Oct 12 16:34:56 server2 clurgmgrd[3486]: <err> Migration of vm:node1 to server1.example.com failed; return code 1

  • How can I pass additional parameters/options to ssh while connecting to a remote URI through libvirt?

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Cluster Suite

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.