Submitted by colofarm on Mon, 12/21/2009 - 17:13
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
Submitted by JamieCameron on Mon, 12/21/2009 - 18:35 Comment #1
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 ..
Submitted by colofarm on Tue, 12/22/2009 - 18:39 Comment #2
Status: Webmin
I'm trying to do it on the same node that cloudmin's master is running.
Submitted by JamieCameron on Tue, 12/22/2009 - 19:07 Comment #3
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'});
Submitted by JamieCameron on Tue, 12/22/2009 - 19:08 Comment #4
This will be fixed in the next Cloudmin release..
Submitted by colofarm on Tue, 12/22/2009 - 21:55 Comment #5
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"
Submitted by JamieCameron on Wed, 12/23/2009 - 01:50 Comment #6
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'},
Submitted by Issues on Thu, 01/07/2010 - 19:20 Comment #7
Automatically closed -- issue fixed for 2 weeks with no activity.