[one-users] help, error creating VM (ssh port)

Carlos Martín Sánchez cmartin at opennebula.org
Wed Apr 24 02:32:09 PDT 2013


If the VMs stay in pending state, that means that the scheduler is not
deploying them.
Look for the mm_sched process, and check the shced logs in
/var/log/one/sched.log.

Regards

--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org | cmartin at opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>


On Mon, Apr 22, 2013 at 4:56 PM, Mario Sickert <sickma at gmx.net> wrote:

>  Hey,
>
> the oneadmin account is able to login from frontend to the host and
> reverse too. All this via ssh-key whitout password. "scp" data from one to
> other is also working fine.
> All demons running well.
> But creating VM ends in pending mode.
>
> Best regards, M.
>
> Am 19.04.2013 16:45, schrieb Carlos Martín Sánchez:
>
> Hi,
>
>  You don't need to configure anything in OpenNebula regarding ssh, just
> make sure the oneadmin unix account ssh configuration is working properly.
>
>  Regards
>
> --
> Carlos Martín, MSc
> Project Engineer
> OpenNebula - The Open-source Solution for Data Center Virtualization
> www.OpenNebula.org | cmartin at opennebula.org | @OpenNebula<http://twitter.com/opennebula>
>
>
> On Mon, Apr 15, 2013 at 6:02 PM, Mario Sickert <sickma at gmx.net> wrote:
>
>> Hello,
>>
>> i got errors when creating new VM. Checking the logfiles i guess it
>> caused on a different ssh-port i use. i changed ssh from port 22 to other
>> four-digit number.
>> How can i change ssh ports to create VM? Which Config do i have to alter?
>>
>> here the VM.log with errors:
>>
>> Mon Apr 15 11:52:11 2013 [DiM][I]: New VM state is ACTIVE.
>> Mon Apr 15 11:52:11 2013 [LCM][I]: New VM state is PROLOG.
>> Mon Apr 15 11:52:11 2013 [VM][I]: Virtual Machine has no context
>> Mon Apr 15 11:52:11 2013 [TM][I]: Command execution fail:
>> /usr/lib/one/tm_commands/ssh/tm_clone.sh
>> frontend:/var/lib/one/images/6d6dc6ae8a3b4f6df69eca0844a40117
>> srv01:/var/lib/one//1/images/disk.0
>> Mon Apr 15 11:52:11 2013 [TM][D]: tm_clone.sh:
>> frontend:/var/lib/one/images/6d6dc6ae8a3b4f6df69eca0844a40117
>> srv01:/var/lib/one//1/images/disk.0
>> Mon Apr 15 11:52:11 2013 [TM][D]: tm_clone.sh: DST:
>> /var/lib/one//1/images/disk.0
>> Mon Apr 15 11:52:11 2013 [TM][I]: tm_clone.sh: Creating directory
>> /var/lib/one//1/images
>> Mon Apr 15 11:52:11 2013 [TM][I]: tm_clone.sh: Executed "ssh srv01 mkdir
>> -p /var/lib/one//1/images".
>> Mon Apr 15 11:52:11 2013 [TM][I]: tm_clone.sh: Cloning
>> frontend:/var/lib/one/images/6d6dc6ae8a3b4f6df69eca0844a40117
>> Mon Apr 15 11:52:11 2013 [TM][E]: tm_clone.sh: Command "scp
>> frontend:/var/lib/one/images/6d6dc6ae8a3b4f6df69eca0844a40117
>> srv01:/var/lib/one//1/images/disk.0" failed.
>> Mon Apr 15 11:52:11 2013 [TM][E]: tm_clone.sh: Host key verification
>> failed.
>> Mon Apr 15 11:52:11 2013 [TM][E]: Error copying
>> frontend:/var/lib/one/images/6d6dc6ae8a3b4f6df69eca0844a40117 to
>> srv01:/var/lib/one//1/images/disk.0
>> Mon Apr 15 11:52:11 2013 [TM][I]: ExitCode: 1
>> Mon Apr 15 11:52:11 2013 [TM][E]: Error excuting image transfer script:
>> Error copying frontend:/var/lib/one/images/6d6dc6ae8a3b4f6df69eca0844a40117
>> to srv01:/var/lib/one//1/images/disk.0
>> Mon Apr 15 11:52:11 2013 [DiM][I]: New VM state is FAILED
>>
>> Best regards, Mario
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>
>  E-Mail ist virenfrei.
> Von AVG überprüft - www.avg.de
> Version: 2013.0.3272 / Virendatenbank: 3162/6256 - Ausgabedatum:
> 19.04.2013
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130424/7764c8a0/attachment-0002.htm>


More information about the Users mailing list