openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #10766
Re: Error in scheduler when create a new instance.
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 <gongysh@xxxxxxxxxx> wrote:
> how much free ram left on your compute node?
>
>
> -----openstack-bounces+gongysh=cn.ibm.com@xxxxxxxxxxxxxxxxxxx wrote: -----
>
> To: Flavia Missi <flaviamissi@xxxxxxxxx> <flaviamissi@xxxxxxxxx>
> From: Rogerio Goncalves <rogerlz@xxxxxxxxx> <rogerlz@xxxxxxxxx>
> Sent by: openstack-bounces+gongysh=cn.ibm.com@xxxxxxxxxxxxxxxxxxx
> Date: 04/28/2012 04:43AM
> Cc: openstack@xxxxxxxxxxxxxxxxxxx
> 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 <flaviamissi@xxxxxxxxx>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 <rogerlz@xxxxxxxxx>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 <heut2008@xxxxxxxxx> 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 <rogerlz@xxxxxxxxx>:
>>>> > 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@xxxxxxxxxxxxxxxxxxx
>>>> > Unsubscribe : https://launchpad.net/~openstack
>>>> > More help : https://help.launchpad.net/ListHelp
>>>> >
>>>>
>>>
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~openstack
>>> Post to : openstack@xxxxxxxxxxxxxxxxxxx
>>> 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@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
>
>
>
>
References