[one-users] mm_sched not dispatching vm

Ruben S. Montero rubensm at dacya.ucm.es
Fri Sep 18 04:38:04 PDT 2009


Hi Rogier

Thanks for your great feedback!.

I've added the Banner issue to the documentation

http://www.opennebula.org/doku.php?id=documentation:rel1.4:plan#secure_shell_access


Cheers

Ruben

On Fri, Sep 18, 2009 at 10:42 AM, Rogier Mars <rogier at fortytwo.nl> wrote:
> 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
>>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
+---------------------------------------------------------------+
 Dr. Ruben Santiago Montero
 Associate Professor
 Distributed System Architecture Group (http://dsa-research.org)

 URL:    http://dsa-research.org/doku.php?id=people:ruben
 Weblog: http://blog.dsa-research.org/?author=7

 GridWay, http://www.gridway.org
 OpenNebula, http://www.opennebula.org
+---------------------------------------------------------------+



More information about the Users mailing list