Failed to save Xen host : A system which cannot be contacted via SSH cannot be used for Xen hosting...

When trying to add a Xen host, I get the following error:

Failed to save Xen host : A system which cannot be contacted via SSH cannot be used for Xen hosting...

Any ideas on where to start troubleshooting?

Status: 
Closed (fixed)

Comments

If you select that host system from the left menu, what is its status shown as? It should be something like "SSH" or "Webmin", indicating that Virtualmin can login to it ..

Status: Webmin

I'm trying to do it on the same node that cloudmin's master is running.

Ok, I see it .. this is a Cloudmin bug :-(

The quick fix is to edit the file /usr/libexec/webmin/server-manager/edit_xen.cgi and change line 27 to :

                &can_ssh_status($xen) || &error($text{'xen_edown'});

This will be fixed in the next Cloudmin release..

I changed that line and now it's giving the error before submitting the form. I hit add xen host, then Register a system for Xen hosting and then it gives me the error immediately instead of after submitting the form like before:

"A system which cannot be contacted via SSH cannot be used for Xen hosting"

My mistake - the fix should have been to line 27 of save_xen.cgi, which should contain :

                &can_ssh_status($xen) || &error($text{'xen_edown'});

You need to change line 27 of edit_xen.cgi back to :

        print &ui_table_row($text{'xen_host'},

Automatically closed -- issue fixed for 2 weeks with no activity.