failed to lanuch instance,No invalid host was found

asked 2016-03-22 22:46:25 -0600

wcu789 gravatar image

updated 2016-03-23 22:54:19 -0600

Bipin gravatar image

Hi,everyone.I have a problem to lunch instance.I don't konw where are wrong,because I can run a test img instance. but when I run a centOS 6.5 64 bits,it is wrong,who can help me solve it,I will appreciate it if you can help me.

why I can not upload a picture?

nova/scheduler.log show below,Is it wrong?

2016-03-23 23:05:28.804 25664 WARNING nova.scheduler.driver [req-9ae04ccd-da58-41cb-8fbb-a44c5562d359 a0fb6bda43ed48b1a10b2093a08be3d3 fe7233efaaca477690899caf5438b771] [instance: e488c96e-3505-49be-baa7-6c79e633547d] Setting instance to ERROR state.
2016-03-23 23:15:25.748 25664 WARNING nova.scheduler.driver [req-da21c59d-b10f-4528-9417-42c9cb814c71 a0fb6bda43ed48b1a10b2093a08be3d3 fe7233efaaca477690899caf5438b771] [instance: 552e7542-ebfa-494f-81a2-48da3963da52] Setting instance to ERROR state.
2016-03-24 01:28:34.941 25664 WARNING nova.scheduler.driver [req-37e2ca1d-1f0d-4935-aa3a-4d0ea18ce217 2ceb3d80642d4a5682b0650eff97d86f 974a5d5315314c279da97f7fba698652] [instance: 84f2f76b-5bb3-4c5e-a1c9-683231691349] Setting instance to ERROR state.
2016-03-24 03:12:06.542 25664 WARNING nova.scheduler.driver [req-dacd3fd2-b8b3-47ab-a4d8-6b0ebaa1bcf4 2ceb3d80642d4a5682b0650eff97d86f 974a5d5315314c279da97f7fba698652] [instance: 80207550-6a85-4a84-9d67-f8108c5ef87f] Setting instance to ERROR state.

nova/api.log

[root@controller ~]# tail /var/log/nova/api.log 
2016-03-24 00:29:27.140 25637 WARNING keystoneclient.middleware.auth_token [-] Unable to find authentication token in headers
2016-03-24 00:29:29.008 25647 WARNING keystoneclient.middleware.auth_token [-] Authorization failed for token
2016-03-24 00:29:38.189 25649 INFO oslo.messaging._drivers.impl_qpid [-] Connected to AMQP server on controller:5672
2016-03-24 00:51:22.380 25653 INFO oslo.messaging._drivers.impl_qpid [-] Connected to AMQP server on controller:5672
2016-03-24 00:51:50.115 25644 INFO oslo.messaging._drivers.impl_qpid [-] Connected to AMQP server on controller:5672
2016-03-24 01:09:22.152 25643 INFO oslo.messaging._drivers.impl_qpid [-] Connected to AMQP server on controller:5672
2016-03-24 01:17:17.883 25636 WARNING keystoneclient.middleware.auth_token [-] Authorization failed for token
2016-03-24 01:26:42.557 25634 INFO oslo.messaging._drivers.impl_qpid [-] Connected to AMQP server on controller:5672
2016-03-24 02:17:17.890 25638 WARNING keystoneclient.middleware.auth_token [-] Authorization failed for token
2016-03-24 03:17:18.016 25652 WARNING keystoneclient.middleware.auth_token [-] Authorization failed for token
[root@controller ~]#

var/nova/compute.log

2016-03-24 04:10:53.174 85927 INFO oslo.messaging._drivers.impl_qpid [-] Connected to AMQP server on controller:5672
2016-03-24 04:11:23.662 85927 WARNING nova.compute.manager [req-f4e71e95-a229-47f0-9c92-df3e54b9a31d None None] Found 1 in the database and 0 on the hypervisor.
2016-03-24 04:16:23.182 87263 INFO oslo.messaging._drivers.impl_qpid [-] Connected to AMQP server on controller:5672
2016-03-24 04:16:23.193 87263 INFO oslo.messaging._drivers.impl_qpid [-] Connected to AMQP server on controller:5672
2016-03-24 04:16:24.191 87263 INFO oslo.messaging._drivers.impl_qpid [-] Connected to AMQP server on controller:5672
2016-03-24 04:16:59.682 87263 WARNING nova.compute.manager [req-81d5e517-c3c2-4df0-aaac-98f3afe037d3 None None] Found 1 in the database and 0 on the hypervisor.
2016-03-24 04:26:23.684 87263 WARNING nova.compute.manager [-] Bandwidth usage not supported by hypervisor.
2016-03-24 04:27:00.407 87263 WARNING nova.compute.manager [-] Found 1 in the database and 0 on the hypervisor.


[root@compute ~]# tail **/var/log/neutron/openvswitch-agent.log** 
2016-03-24 16:53:18.547 2744 INFO neutron.plugins.openvswitch.agent ...
(more)
edit retag flag offensive close merge delete

Comments

Check logs from nova-compute, also, using a 64 bits image require vTX enabled at the hypervisor and virt_type = kvm under [libvirt] section in nova configuration file in compute node. If you change it, you need to restart nova-compute service

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2016-03-23 07:06:17 -0600 )edit

thank for you reply,I have already config the file.but it still not work,compute.log display some warning.what I went wrong.

wcu789 gravatar imagewcu789 ( 2016-03-23 08:08:05 -0600 )edit

Errors on openvswitch agents in compute nodes? Libvirtd service started?

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2016-03-23 09:13:41 -0600 )edit

it seems normal,I paste it,you can check it.

wcu789 gravatar imagewcu789 ( 2016-03-23 19:55:00 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-03-23 05:17:29 -0600

Sanj gravatar image

look in nova scheduler and compute log. May be you don't have enough resources for this image (just a guess).

edit flag offensive delete link more

Comments

i paste it in my question,is it wrong?

wcu789 gravatar imagewcu789 ( 2016-03-23 06:21:40 -0600 )edit

The times are amiss, so it looks like we're seeing things in a very disjointed manner. Delete all your logs, launch an instance, then up the logs to http://paste.openstack.org/

rl_person gravatar imagerl_person ( 2016-03-23 17:10:12 -0600 )edit

haha,because i lie in China,you mean to delete all log under /var/log/nova/,both compute node and controller node?

wcu789 gravatar imagewcu789 ( 2016-03-23 19:59:48 -0600 )edit

is there any ways i can communicate with you,like face to face?i have paste update question

wcu789 gravatar imagewcu789 ( 2016-03-23 20:15:10 -0600 )edit

Yes delete the logs - then launch the instance- presuming it fails again we'll have logs with the least amount of information.

Can't do face-to-face, sorry.

rl_person gravatar imagerl_person ( 2016-03-24 08:34:07 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-03-22 22:45:33 -0600

Seen: 331 times

Last updated: Mar 23 '16