[one-users] mm_sched not dispatching vm

Rogier Mars rogier at fortytwo.nl
Fri Sep 18 01:42:32 PDT 2009


Hi,

I just solved this problem. This was caused by the banner we configure  
by default for ssh login. When executing the command:
[one at cloudtest3 one-im]$ ssh -n localhost /tmp/one-im/one_im- 
aad4c7251b14704c02dd0646f79b7e07
Authorized users only. All activity may and will be monitored and  
reported.
HYPERVISOR=xen
TOTALCPU=200
CPUSPEED=2675
TOTALMEMORY=4184064
FREEMEMORY=524288
USEDMEMORY=3659776
USEDCPU=4
FREECPU=196
NETTX=25396
NETRX=1573171
[one at cloudtest3 one-im]$ exit

The output gets the banner included:
Authorized users only. All activity may and will be monitored and  
reported.

When I remove this banner from /etc/ssh/sshd_config and reload ssh the  
scheduler deploys the virtual machine without any problem.

Did I miss this part in the documentation, or is this not documented?  
If not, is it possible to include this in the installation  
documentation, because possibly more people encounter this issue. Or  
even better, is it possible to change the code to allow banners? Our  
internal policies require banners on host for security an liability  
reasons.

Thanks for a very flexible and great piece of software!

Regards,

Rogier

On Sep 18, 2009, at 1:20 AM, Rogier Mars wrote:

> Hi,
>
> I'm experimenting with opennebula and have a test setup with three  
> machines. When I create a VM it hangs at the status pending, when I  
> deploy it manually with onevm deploy <vmid> <hostid> it starts  
> correctly. However, I want mm_sched to dispatch it automatically.  
> mm_sched runs, and gives the following entries in sched.log. I have  
> no idea how to fix this, can you point me in the right direction?
>
> Thanks,
>
> Rogier
>
>
> Thu Sep 17 23:33:16 2009 [HOST][D]: Discovered Hosts (enabled): 0
> Thu Sep 17 23:33:16 2009 [VM][D]: Pending virtual machines : 2
> Thu Sep 17 23:33:17 2009 [SCHED][I]: Select hosts
> 	PRI	HID	HSID
> 	-------------------
> Virtual Machine: 2
>
>
> Thu Sep 17 23:33:47 2009 [HOST][D]: Discovered Hosts (enabled): 0
> Thu Sep 17 23:33:47 2009 [VM][D]: Pending virtual machines : 2
> Thu Sep 17 23:33:47 2009 [SCHED][I]: Select hosts
> 	PRI	HID	HSID
> 	-------------------
> Virtual Machine: 2
>
>
> Thu Sep 17 23:34:17 2009 [HOST][D]: Discovered Hosts (enabled): 0
> Thu Sep 17 23:34:17 2009 [VM][D]: Pending virtual machines : 2
> Thu Sep 17 23:34:17 2009 [SCHED][I]: Select hosts
> 	PRI	HID	HSID
> 	-------------------
> Virtual Machine: 2
>
>
> Thu Sep 17 23:34:47 2009 [HOST][D]: Discovered Hosts (enabled): 0
> Thu Sep 17 23:34:47 2009 [VM][D]: Pending virtual machines : 2
> Thu Sep 17 23:34:47 2009 [SCHED][I]: Select hosts
> 	PRI	HID	HSID
> 	-------------------
> Virtual Machine: 2
>
>
> Thu Sep 17 23:35:17 2009 [HOST][D]: Discovered Hosts (enabled): 0
> Thu Sep 17 23:35:17 2009 [VM][D]: Pending virtual machines : 2
> Thu Sep 17 23:35:17 2009 [SCHED][I]: Select hosts
> 	PRI	HID	HSID
> 	-------------------
> Virtual Machine: 2
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>




More information about the Users mailing list