Zhang, I already triad.
root@ubuntu0001:~# service libvirt-bin restart libvirt-bin stop/waiting libvirt-bin start/running, process 21469 root@ubuntu0001:~# service nova-compute restart stop: Unknown instance: nova-compute start/running, process 21524 root@ubuntu0001:~# service nova-scheduler restart nova-scheduler stop/waiting nova-scheduler start/running, process 21540 root@ubuntu0001:~# nova-manage service list 2012-04-27 21:36:23 DEBUG nova.utils [req-94ff244b-4fe2-4595-95b8-fea9deef4b22 None None] backend <module 'nova.db.sqlalchemy.api' from '/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.pyc'> from (pid=21547) __get_backend /usr/lib/python2.7/dist-packages/nova/utils.py:658 Binary Host Zone Status State Updated_At nova-scheduler ubuntu0001 nova enabled :-) 2012-04-28 00:36:06 nova-compute ubuntu0001 nova enabled XXX None nova-volume ubuntu0001 nova enabled :-) 2012-04-28 00:36:16 nova-network ubuntu0001 nova enabled :-) 2012-04-28 00:36:15 On Fri, Apr 27, 2012 at 11:17 PM, 张华 <veryhua2...@gmail.com> wrote: > you need reboot libvirtd, yesterday I encounter the same problem > > > > > 2012/4/28 Rogerio Goncalves <roge...@gmail.com> > >> Yong, >> >> oot@ubuntu0001:~# free -m >> total used free shared buffers cached >> Mem: 3951 2121 2830 0 168 160 >> -/+ buffers/cache: 792 3159 >> Swap: 1951 0 1951 >> >> >> >> On Fri, Apr 27, 2012 at 8:11 PM, Yong Sheng Gong <gong...@cn.ibm.com>wrote: >> >>> how much free ram left on your compute node? >>> >>> >>> -----openstack-bounces+gongysh=cn.ibm....@lists.launchpad.net wrote: >>> ----- >>> >>> To: Flavia Missi <flaviami...@gmail.com> <flaviami...@gmail.com> >>> From: Rogerio Goncalves <roge...@gmail.com> <roge...@gmail.com> >>> Sent by: openstack-bounces+gongysh=cn.ibm....@lists.launchpad.net >>> Date: 04/28/2012 04:43AM >>> Cc: openstack@lists.launchpad.net >>> Subject: Re: [Openstack] Error in scheduler when create a new instance. >>> >>> >>> Flavia, >>> >>> Thanks, but does not help. >>> Get the same error. >>> >>> 2012-04-27 17:41:39 WARNING nova.scheduler.manager >>> [req-efb95a01-15f0-4ae7-9f7f-0ec71ff4d12a e53ddc6542c84f0791fd5ff8968162d7 >>> c65c92296bf841c992c895074da03316] Failed to schedule_run_instance: No valid >>> host was found. Is the appropriate service running? >>> >>> 2012-04-27 17:41:39 WARNING nova.scheduler.manager >>> [req-efb95a01-15f0-4ae7-9f7f-0ec71ff4d12a e53ddc6542c84f0791fd5ff8968162d7 >>> c65c92296bf841c992c895074da03316] Setting instance >>> 01a15b65-7807-42b4-95a2-66d64d12f906 to ERROR state. >>> >>> root@ubuntu0001:/var/log/nova# nova-manage service list >>> Binary Host Zone >>> Status State Updated_At >>> nova-scheduler ubuntu0001 nova >>> enabled :-) 2012-04-27 20:42:57 >>> nova-compute ubuntu0001 nova >>> enabled XXX None >>> nova-volume ubuntu0001 nova >>> enabled :-) 2012-04-27 20:42:52 >>> nova-network ubuntu0001 nova >>> enabled :-) 2012-04-27 20:42:52 >>> >>> >>> >>> >>> On Fri, Apr 27, 2012 at 5:02 PM, Flavia Missi <flaviami...@gmail.com>wrote: >>> >>>> Rogerio, I had this problem and solved it by setting the following flag: >>>> >>>> scheduler_default_filters=AllHostsFilter >>>> >>>> Hope it helps. >>>> >>>> []'s >>>> >>>> On Fri, Apr 27, 2012 at 12:29 PM, Rogerio Goncalves >>>> <roge...@gmail.com>wrote: >>>> >>>>> is enabled and not running >>>>> my compute node is virtual machine to test and configured with qemu >>>>> (2 core, 4gb, 10gb free in nova-volumes) >>>>> >>>>> >>>>> my last log message on nova-compute is: >>>>> >>>>> 2012-04-27 12:22:25 DEBUG nova.virt.libvirt.connection [-] Connecting >>>>> to libvirt: qemu:///system from (pid=18588) _get_connection >>>>> /usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.*py*:292 >>>>> libvirt is running >>>>> >>>>> 18420 ? Sl 0:00 /usr/sbin/libvirtd -d >>>>> >>>>> >>>>> On Thu, Apr 26, 2012 at 10:43 PM, heut2008 <heut2...@gmail.com> wrote: >>>>> >>>>>> be sure nova-compute is running and is enabled by using nova-manage >>>>>> service list,also confirm that the compute node have enough >>>>>> resources(cpu,mem,disk) . >>>>>> >>>>>> 2012/4/27 Rogerio Goncalves <roge...@gmail.com>: >>>>>> > Hello, >>>>>> > >>>>>> > Im getting this error when launching a new instance. >>>>>> > >>>>>> > "Failed to schedule_run_instance: No valid host was found. Is the >>>>>> > appropriate service running?" >>>>>> > >>>>>> > http://paste.openstack.org/show/14020/ >>>>>> > >>>>>> > SO Ubuntu 12.04 >>>>>> > >>>>>> > libvirt-bin start/running, process 4153 >>>>>> > nova-network start/running, process 4174 >>>>>> > nova-compute start/running, process 4187 >>>>>> > nova-api start/running, process 4198 >>>>>> > nova-objectstore start/running, process 4210 >>>>>> > nova-scheduler start/running, process 4222 >>>>>> > nova-volume start/running, process 4235 >>>>>> > nova-vncproxy start/running, process 4246 >>>>>> > >>>>>> > rabbitmq is up too >>>>>> > >>>>>> > >>>>>> > Thanks >>>>>> > >>>>>> > Rogério Gonçalves >>>>>> > >>>>>> > >>>>>> > _______________________________________________ >>>>>> > Mailing list: https://launchpad.net/~openstack >>>>>> > Post to : openstack@lists.launchpad.net >>>>>> > Unsubscribe : https://launchpad.net/~openstack >>>>>> > More help : https://help.launchpad.net/ListHelp >>>>>> > >>>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> Mailing list: https://launchpad.net/~openstack >>>>> Post to : openstack@lists.launchpad.net >>>>> Unsubscribe : https://launchpad.net/~openstack >>>>> More help : https://help.launchpad.net/ListHelp >>>>> >>>>> >>>> >>>> >>>> -- >>>> Flávia Missi >>>> @flaviamissi <http://twitter.com/flaviamissi> >>>> flaviamissi.com.br >>>> https://github.com/flaviamissi >>>> >>>> >>> _______________________________________________ >>> Mailing list: https://launchpad.net/~openstack >>> Post to : openstack@lists.launchpad.net >>> Unsubscribe : https://launchpad.net/~openstack >>> More help : https://help.launchpad.net/ListHelp >>> >>> >>> >>> >> >> _______________________________________________ >> Mailing list: https://launchpad.net/~openstack >> Post to : openstack@lists.launchpad.net >> Unsubscribe : https://launchpad.net/~openstack >> More help : https://help.launchpad.net/ListHelp >> >> > > > -- > Best Regards, > > Zhang Hua(张华) > ---------------------------------------------------- > IBM China System and Technology Lab(CSTL), Beijing > E-Mail: zhhu...@cn.ibm.com > Address: Building 28(Ring Building), ZhongGuanCun Software Park, > No.8 Dong Bei Wang West Road, Haidian District Beijing P.R.China > 100193 > >
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp