Okay, so I'm totally bewildered here.
I'm in the process of moving my hosting infrastructure from one colocation site to another. In the process I moved my cloudmin installation. It's set up on the Dom0 of a server, and it works fine on that particular server to set up Xen virtual DomU instances on that server. All well and good.
Now -- I'm trying to ge this cloudmin instance (version 3.8) to manage my other Xen servers. When I try to register them as Xen hosts, it just says "Failed to save Xen Host:" --- and give absolutely no other error message that I can find. Usually when I've seen this it also says WHY it failed to save the host, and that's always been for a good reason. But at the moment I don't even much know how to proceed from there --
Comments
Submitted by JamieCameron on Mon, 01/18/2010 - 17:17 Comment #1
Try editing your /etc/webmin/config file, and adding the line error_stack=1 , then re-trying to add the Xen host. That will show a more detailed error message that will let us work out exactly what the cause is ..
Submitted by cruiskeen on Mon, 01/18/2010 - 17:42 Comment #2
Okay --- Now I get this:
Failed to save Xen host : Call Stack Trace File Line Function /usr/libexec/webmin/server-manager/images-lib.pl 1213 WebminCore::error /usr/libexec/webmin/server-manager/save_xen.cgi 107 server_manager::parse_host_images_cache_table (eval 71) 6 (eval) /usr/libexec/webmin/miniserv.pl 2146 (eval) /usr/libexec/webmin/miniserv.pl 754 miniserv::handle_request
Submitted by JamieCameron on Mon, 01/18/2010 - 17:51 Comment #3
Ok, I see now - this means that in the "System image cache" section, you didn't enter a value for the "Maximum image cache size".
Submitted by cruiskeen on Mon, 01/18/2010 - 18:00 Comment #4
I can't find any such section -- where is it?
Submitted by cruiskeen on Mon, 01/18/2010 - 18:10 Comment #5
I think there used to be such a section before I upgraded to 3.8 -- but now I can't find it.
Submitted by JamieCameron on Mon, 01/18/2010 - 18:11 Comment #6
Ah .. that may explain it.
Is the Xen host you are adding also the Cloudmin master system?
Submitted by cruiskeen on Mon, 01/18/2010 - 18:14 Comment #7
No -- i'ts a different system. The cloudmin master system works fine, I just can't add any other systems in for xen management.
Submitted by JamieCameron on Mon, 01/18/2010 - 18:34 Comment #8
Ok, I see it now .. this is a Cloudmin bug in 3.8 :-(
The fix is to edit the file
/usr/libexec/webmin/server-manager/edit_xen.cgi
and change the block on lines 165 to 167 from :if ($xen->{'id'}) {
&show_host_images_cache_table($xen, "xen");
}
to just :
&show_host_images_cache_table($xen, "xen");
The 3.9 release will include this fix ..
Submitted by cruiskeen on Mon, 01/18/2010 - 18:41 Comment #9
Oh that's MUCCCHHH BETTER!!!
Thanks!
Submitted by Issues on Tue, 02/02/2010 - 01:36 Comment #10
Automatically closed -- issue fixed for 2 weeks with no activity.