[rhos-list] Launch Instance Failed With ERROR vm_state

Darren Birkett darren.birkett at gmail.com
Tue Sep 18 10:56:59 UTC 2012


This often means that you are trying to schedule an instance that
would consume more resources than you have available in your compute
pool.  ie, you are already running too many instances.  Try deleting a
couple of existing instances and then building another and see how you
go.

Darren

On 18 September 2012 10:40, Xu, HongnaX <hongnax.xu at intel.com> wrote:
> I paste it on http://paste.openstack.org/show/20971/  and I saw that " Failed to schedule_run_instance: No valid host was found."
>
> Best Regards,
> Hongna
>
> -----Original Message-----
> From: Darren Birkett [mailto:darren.birkett at gmail.com]
> Sent: Tuesday, September 18, 2012 5:20 PM
> To: Xu, HongnaX
> Cc: rhos-list at redhat.com
> Subject: Re: [rhos-list] Launch Instance Failed With ERROR vm_state
>
> Is there nothing else in the scheduler.log, surrounding the error statements?  Are you able to paste a more complete log to paste.openstack.org?
>
> Darren
>
> On 18 September 2012 10:03, Xu, HongnaX <hongnax.xu at intel.com> wrote:
>> Hi
>>
>>   Sometimes, I boot a instance with error vm-state, this is the output
>> with nova boot command:
>>
>> +-------------------------------------+--------------------------------------+
>>
>> |               Property              |                Value
>> |
>>
>> +-------------------------------------+--------------------------------------+
>>
>> | OS-DCF:diskConfig                   | MANUAL
>> |
>>
>> | OS-EXT-SRV-ATTR:host                | None
>> |
>>
>> | OS-EXT-SRV-ATTR:hypervisor_hostname | None
>> |
>>
>> | OS-EXT-SRV-ATTR:instance_name       | instance-0000001b
>> |
>>
>> | OS-EXT-STS:power_state              | 0
>> |
>>
>> | OS-EXT-STS:task_state               | scheduling
>> |
>>
>> | OS-EXT-STS:vm_state                 | error
>> |
>>
>> | accessIPv4                          |
>> |
>>
>> | accessIPv6                          |
>> |
>>
>> | adminPass                           | 9mTovXfGdDsG
>> |
>>
>> | config_drive                        |
>> |
>>
>> | created                             | 2012-09-18T08:36:26Z
>> |
>>
>> | flavor                              | m1.tiny
>> |
>>
>> | hostId                              |
>> |
>>
>> | id                                  | 73bf2e9c-df40-453e-8b81-408039607bee
>> |
>>
>> | image                               | RHEL 6.3
>> |
>>
>> | key_name                            | oskey
>> |
>>
>> | metadata                            | {}
>> |
>>
>> | name                                | instance1
>> |
>>
>> | progress                            | 0
>> |
>>
>> | status                              | BUILD
>> |
>>
>> | tenant_id                           | 3b2e1626a7e54bc19b63ca237d186c20
>> |
>>
>> | updated                             | 2012-09-18T08:36:26Z
>> |
>>
>> | user_id                             | c9b8cf6b0e504208a953e0baa3ab3c18
>> |
>>
>> +-------------------------------------+--------------------------------------+
>>
>>
>>
>> The error info only shows up in scheduler.log
>>
>> ****************
>>
>> $ grep 73bf2e9c-df40-453e-8b81-408039607bee /var/log/nova/*.log
>>
>>
>>
>> /var/log/nova/api.log:2012-09-18 16:36:26 INFO nova.api.openstack.wsgi
>> [req-71b0ee0a-607b-4a7a-8786-79d10b8f4080
>>
>> c9b8cf6b0e504208a953e0baa3ab3c18 3b2e1626a7e54bc19b63ca237d186c20] GET
>>
>> http://127.0.0.1:8774/v1.1/3b2e1626a7e54bc19b63ca237d186c20/servers/73
>> bf2e9c-df40-453e-8b81-408039607bee
>>
>>
>>
>> /var/log/nova/api.log:2012-09-18 16:36:27 INFO nova.api.openstack.wsgi
>> [req-71b0ee0a-607b-4a7a-8786-79d10b8f4080
>>
>> c9b8cf6b0e504208a953e0baa3ab3c18 3b2e1626a7e54bc19b63ca237d186c20]
>>
>> http://127.0.0.1:8774/v1.1/3b2e1626a7e54bc19b63ca237d186c20/servers/73
>> bf2e9c-df40-453e-8b81-408039607bee
>> returned
>>
>> with HTTP 200
>>
>>
>>
>> /var/log/nova/scheduler.log:2012-09-18 16:36:26 WARNING
>> nova.scheduler.manager [req-ccaf10dc-a60b-4540-a011-
>>
>> aad0c5be9dd9 c9b8cf6b0e504208a953e0baa3ab3c18
>> 3b2e1626a7e54bc19b63ca237d186c20] Setting instance 73bf2e9c-df40-
>>
>> 453e-8b81-408039607bee to ERROR state.
>>
>> *****************
>>
>> Best Regards,
>>
>> Hongna
>>
>>
>>
>>
>> _______________________________________________
>> rhos-list mailing list
>> rhos-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/rhos-list




More information about the rhos-list mailing list