Submitted by ghomem on Mon, 06/02/2014 - 11:18
Host systems -> KVM hosts systems
lists the main host where Cloudmin is installed. Below it says:
"Add possible host systems have already been added. Use the Add Physical System page to register additional hosts."
I clicked on "Add Physical System" and added another KVM host (minimal centos without webmin, or cloudmin) using SSH with username password and port. The result was:
Checking SSH login .. .. logged in OK.
Fetching current status .. .. status successfully retrieved (SSH)
But this new host is nowhere to be found. And when we try to create a new VM on this host we see that it is not in the host list on "Host and networking options" of
New System -> Create KVM image
Status:
Closed (fixed)
Comments
Submitted by ghomem on Mon, 06/02/2014 - 13:45 Comment #1
It went to webmin servers index. But it is not useful there as what we want is to create KVM instances on that host.
Submitted by JamieCameron on Mon, 06/02/2014 - 16:36 Comment #2
If you reload the page, does that physical system show up in the drop-down on the left frame?
Submitted by ghomem on Mon, 06/02/2014 - 17:27 Comment #3
No, it does not appear. Only the host were Cloudmin is installed and the 2 VMs that are currently running there appear on the drop-down box.
Submitted by JamieCameron on Mon, 06/02/2014 - 18:19 Comment #4
If you re-try adding it, does it appear on the 2nd attempt?
Submitted by ghomem on Mon, 06/02/2014 - 18:38 Comment #5
No, I only get a duplicated entry on Webmin Servers Index.
Submitted by JamieCameron on Mon, 06/02/2014 - 20:20 Comment #6
On your system, take a look in the directory
/etc/webmin/servers
for the.serv
file that corresponds to the system you added - it should have ahost=
line that contains the hostname. Then post the full contents of that file here ... that should reveal why Cloudmin isn't seeing it.Submitted by ghomem on Tue, 06/03/2014 - 03:37 Comment #7
Here are the two entries generated by my trial:
xen_wholedisk=0
ssh_user=root
ip=X.Y.Z.Z
missing=0
ssh_port=3333
group=
desc=terminalserver instalado na sede
novirt=
no_webmin_login=1
id=140172391659350
module=server-manager
ssh_pass=CHANGEME
ssl=1
port=10000
manager=real
host=ZZZZZZ.angulosolido.pt
created=1401723916
ip_addresses=192.168.1.7
ssh_protocol=2
ssh_pass_same=0
short_host=ZZZZZZZZ.angulosolido.pt
type=centos
ssh_nologin=0
statuslast=
root_shell=/bin/bash
status_msg=Webmin login disabled
ip6_addresses=
mac_addresses=1C:6F:65:B3:2D:59 00:22:2D:C1:85:AF
status=nowebmin status_hostkey=0 unix_hostname=terminalserver01 statuslasttime=1401723917 statustime=1401723923
xen_wholedisk=0 ssh_user=root ip=X.Y.Z.Z missing=0 ssh_port=3333 group= desc=terminalserver sede novirt= no_webmin_login=1 id=140172405761140 module=server-manager ssh_pass=CHANGEME ssl=1 port=10000 manager=real host=ZZZZ.angulosolido.pt created=1401724057 ip_addresses=192.168.1.7 ssh_protocol=2 ssh_pass_same=0 short_host=ZZZZZ.angulosolido.pt type=centos ssh_nologin=0 statuslast= root_shell=/bin/bash status_msg=Webmin login disabled ip6_addresses= mac_addresses=1C:6F:65:B3:2D:59 00:22:2D:C1:85:AF status=nowebmin status_hostkey=0 unix_hostname=terminalserver01 statuslasttime=1401724057 statustime=1401724063
Submitted by JamieCameron on Tue, 06/03/2014 - 16:47 Comment #8
That looks OK.
In your /etc/webmin/server-manager/config file , do you have the line
real=1
?Submitted by ghomem on Tue, 06/03/2014 - 17:47 Comment #9
Here's all the real we have:
[support@vmserver02 ~]$ cat /etc/webmin/server-manager/config |grep real show_real=0 [support@vmserver02 ~]$
Submitted by JamieCameron on Tue, 06/03/2014 - 18:38 Comment #10
Try changing that to
show_real=1
. I am guessing that on the Cloudmin Configuration page, you changed "Can manage real systems?" to "No".Submitted by ghomem on Tue, 06/03/2014 - 18:53 Comment #11
I don't remember but I might have done it while disabling all type of guests I didn't want. It would make sense to have a better check for this situation, or even preventing adding the system if show_real=0.
Now it appears correctly once I changed "Can manage real systems?" to "No".
I'll move on to creating guests and check if it works as expected.
Thanks for the help.
Submitted by JamieCameron on Tue, 06/03/2014 - 19:41 Comment #12
Ok, that explains it - also, there is a Cloudmin bug here in that you shouldn't be able to get into this state. I'll fix that in the next release.
Submitted by Issues on Tue, 06/17/2014 - 19:47 Comment #13
Automatically closed -- issue fixed for 2 weeks with no activity.