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

Olivier Sallou olivier.sallou at irisa.fr
Mon Apr 29 02:34:09 PDT 2013


On 04/29/2013 11:17 AM, Mario Sickert wrote:
> Hey,
> after creating vm still in pending mode.
> i checked the sched.log
>  
> Mon Apr 29 08:54:44 2013 [SCHED][I]: Init Scheduler Log system
> Mon Apr 29 08:54:44 2013 [SCHED][I]: Starting Scheduler Daemon
> ----------------------------------------    
> Scheduler Configuration File       
> ----------------------------------------
> DEFAULT_SCHED=POLICY=1
> MAX_DISPATCH=30
> MAX_HOST=1
> MAX_VM=300
> ONED_PORT=2633
> SCHED_INTERVAL=30
> ----------------------------------------
> Mon Apr 29 08:54:44 2013 [SCHED][I]: Starting scheduler loop...
> Mon Apr 29 08:54:44 2013 [SCHED][I]: Scheduler loop started.
> Mon Apr 29 08:55:14 2013 [HOST][E]: Exception raised: Unable to
> transport XML to server and get XML response back.  HTTP response code
> is 403, not 200
> Mon Apr 29 08:55:14 2013 [POOL][E]: Could not retrieve pool info from ONE
>  
>  
> what could be the problem? it can not create the xml file on host? why
> http response? i have no idea what it means...
You reached a server, but access is not allowed. Is your oned_port correct?

Olivier
>  
> Thanks for help,
> M.
>  
> *Gesendet:* Mittwoch, 24. April 2013 um 11:32 Uhr
> *Von:* "Carlos Martín Sánchez" <cmartin at opennebula.org>
> *An:* "Mario Sickert" <sickma at gmx.net>
> *Cc:* users <users at lists.opennebula.org>
> *Betreff:* Re: [one-users] help, error creating VM (ssh port)
> 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 <http://www.OpenNebula.org> |
> cmartin at opennebula.org | @OpenNebula <http://twitter.com/opennebula>
>  
> 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 <http://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 <http://www.avg.de>
>         Version: 2013.0.3272 / Virendatenbank: 3162/6256 -
>         Ausgabedatum: 19.04.2013
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

-- 
Olivier Sallou
IRISA / University of Rennes 1
Campus de Beaulieu, 35000 RENNES - FRANCE
Tel: 02.99.84.71.95

gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130429/987b3227/attachment-0002.htm>


More information about the Users mailing list