[one-users] openvz+opennebula vm stuck in pend

Роман Мальцев neorim at mail.ru
Tue Jul 29 12:04:00 PDT 2014


 I've fixed the issue. 
How you can see - there is an empty field cluster:
ID NAME        SIZE   AVAIL CLUSTER      IMAGES   TYPE   DS       TM      
2 files             2.2G   11%   ovz_x64                0             fil        fs       ssh
102 default    2.2G   11%          -                      1           img      fs       lvm
107 system    0M        -              -                      0           sys       -        ceph

I added my cluster ovz_x64 into 102 and 107 datastores, and now everything is ok.
Thank you for your reply!

Tue, 29 Jul 2014 14:57:52 -0300 от Diego M. <thedragonsreborn at hotmail.com>:
>How did you configured your host?
>Do you see it with onehost list? Does it throw any error if you use onehost sync?
>
>----------------------------------------------------------------------
>From: neorim at mail.ru
>To: thedragonsreborn at hotmail.com
>CC: users at lists.opennebula.org
>Subject: Re[2]: [one-users] openvz+opennebula vm stuck in pend
>Date: Tue, 29 Jul 2014 15:41:12 +0400
>
>Hello.
>
>I added system datastore and there is no sched_message "No system datastores found to run VMs" now.
>
>My onedatastore list looks like this:
>  ID NAME                SIZE AVAIL CLUSTER      IMAGES TYPE DS       TM      
>   2 files               2.2G 11%   ovz_x64           0 fil  fs       ssh
> 102 default             2.2G 11%   -                 1 img  fs       lvm
> 107 system                0M -     -                 0 sys  -        ceph
>
>Also i've found the next message in /var/log/one/sched.log:
>[SCHED][I]: VM 8: No suitable System DS found for Host: 1. Filtering out host.
>
>Tue, 29 Jul 2014 08:01:29 -0300 от Diego M. <thedragonsreborn at hotmail.com>:
>>Hello,
>>You need a datastore where you can put the VMs you create.
>>Use onedatastore list to list all the datastores available (if any) on your node (Use it with the oneadmin user). May also your problem is that the datastore is created but it has no permissions for other users to use it.
>>
>>onedatastore man:  http://archives.opennebula.org/doc/4.4/cli/onedatastore.1.html
>>
>>Best regards,
>>----------------------------------------------------------------------
>>From: neorim at mail.ru
>>To: users at lists.opennebula.org
>>Date: Tue, 29 Jul 2014 13:16:43 +0400
>>Subject: [one-users] openvz+opennebula vm stuck in pend
>>
>>Hi all.
>>
>>First - sorry for my bad english :)
>>
>>I tried to create my own cloud via this guide  https://bitbucket.org/hpcc_kpi/opennebula-openvz/wiki/Home
>>I've got a trouble with my VM after creation - it's stuck in pending state:
>>onevm  list 
>>    ID USER     GROUP    NAME            STAT UCPU    UMEM HOST             TIME 
>>     6 oneadmin oneadmin SL6 x86_64-0    pend    0      0K              0d 05h03
>>
>>Oned log is ok, but there is one error in Sched log:
>>cat /var/log/one/sched.log | grep '\[\E\]'
>>Mon Jul 28 16:24:51 2014 [SCHED][E]: Cannot contact oned, will retry... Error: Unable to transport XML to server and get XML response back.  libcurl failed to execute the HTTP POST transaction, explaining:  couldn't connect to host
>>
>>As far as i inderstand - curl can't connect to host at 2633 port:
>>curl -I localhost:2633
>>HTTP/1.1 404 Not Found
>>Content-type: text/html
>>Connection: close
>>Date: Mon, 28 Jul 2014 21:32:35 UTC
>>Server: Xmlrpc-c_Abyss/1.33.6
>>
>>One daemon listening that port:
>>netstat -lpn | grep 2633
>>tcp        0      0 0.0.0.0:2633                0.0.0.0:*                   LISTEN      25869/oned
>>
>>I tryed to find my problem in google and found this -  http://archives.opennebula.org/documentation:community:faq#i_can_create_vms_but_schedlog_shows_the_error_could_not_retrieve_pool_info_from_one__what_s_wrong
>>But i don't understand how set of no_proxy and http_proxy can help.
>>
>>Also i found this message:
>>onevm show 6 | grep 'SCHED_MESSAGE'
>>SCHED_MESSAGE="Mon Jul 28 16:55:03 2014 : No system datastores found to run VMs"
>>
>>What am i doing wrong?
>>
>>--
>>С уважением,
>>Мальцев Роман.
>>_______________________________________________
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
>>
>
>
>--
>С уважением,
>Мальцев Роман.


--
С уважением,
Мальцев Роман.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140729/64866b54/attachment-0001.htm>


More information about the Users mailing list