[Openstack] No valid host was found. : code 500

ousmane sanogo sanoousmane at gmail.com
Thu Apr 9 12:20:14 UTC 2015


 Hello,
when i launch my vm i have this error .
Message No valid host was found. Code 500 Détails File
"/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 616, in
build_instances request_spec, filter_properties) File
"/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line
49, in select_destinations context, request_spec, filter_properties) File
"/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line
35, in __run_method return getattr(self.instance, __name)(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/nova/scheduler/client/query.py",
line 34, in select_destinations context, request_spec, filter_properties)
File "/usr/lib/python2.7/site-packages/nova/scheduler/rpcapi.py", line 108,
in select_destinations request_spec=request_spec,
filter_properties=filter_properties) File
"/usr/lib/python2.7/site-packages/oslo/messaging/rpc/client.py", line 152,
in call retry=self.retry) File
"/usr/lib/python2.7/site-packages/oslo/messaging/transport.py", line 90, in
_send timeout=timeout, retry=retry) File
"/usr/lib/python2.7/site-packages/oslo/messaging/_drivers/amqpdriver.py",
line 408, in send retry=retry) File
"/usr/lib/python2.7/site-packages/oslo/messaging/_drivers/amqpdriver.py",
line 399, in _send raise result Créé 9 avril 2015 11:22:50



my compute log :

==> /var/log/nova/nova-compute.log <==2015-04-09 13:19:57.956 4842 WARNING
nova.compute.manager [req-0b283d7f-33dd-487a-af39-bb67d8a6bf6d None] While
synchronizing instance power states, found 2 instances in the database and
0 instances on the hypervisor.2015-04-09 13:19:57.961 4842 INFO
oslo.messaging._drivers.impl_rabbit [-] Connecting to AMQP server on
172.16.0.10:56722015-04-09 13:19:57.974 4842 INFO
oslo.messaging._drivers.impl_rabbit [-] Connected to AMQP server on
172.16.0.10:56722015-04-09 13:20:23.403 4842 AUDIT
nova.compute.resource_tracker [-] Auditing locally available compute
resources2015-04-09 13:20:23.516 4842 AUDIT nova.compute.resource_tracker
[-] Total physical ram (MB): 128910, total allocated virtual ram (MB):
15362015-04-09
13:20:23.517 4842 AUDIT nova.compute.resource_tracker [-] Free disk (GB):
9822015-04-09 13:20:23.517 4842 AUDIT nova.compute.resource_tracker [-]
Total usable vcpus: 16, total allocated vcpus: 02015-04-09 13:20:23.517
4842 AUDIT nova.compute.resource_tracker [-] PCI stats: []2015-04-09
13:20:23.517 4842 INFO nova.compute.resource_tracker [-] Compute_service
record updated for compute1:compute12015-04-09 13:21:25.403 4842 AUDIT
nova.compute.resource_tracker [-] Auditing locally available compute
resources2015-04-09 13:21:25.513 4842 AUDIT nova.compute.resource_tracker
[-] Total physical ram (MB): 128910, total allocated virtual ram (MB):
15362015-04-09
13:21:25.513 4842 AUDIT nova.compute.resource_tracker [-] Free disk (GB):
9822015-04-09 13:21:25.514 4842 AUDIT nova.compute.resource_tracker [-]
Total usable vcpus: 16, total allocated vcpus: 02015-04-09 13:21:25.514
4842 AUDIT nova.compute.resource_tracker [-] PCI stats: []2015-04-09
13:21:25.514 4842 INFO nova.compute.resource_tracker [-] Compute_service
record updated for compute1:compute12015-04-09 13:22:26.607 4842 AUDIT
nova.compute.resource_tracker [-] Auditing locally available compute
resources2015-04-09 13:22:26.713 4842 AUDIT nova.compute.resource_tracker
[-] Total physical ram (MB): 128910, total allocated virtual ram (MB):
15362015-04-09
13:22:26.713 4842 AUDIT nova.compute.resource_tracker [-] Free disk (GB):
9822015-04-09 13:22:26.714 4842 AUDIT nova.compute.resource_tracker [-]
Total usable vcpus: 16, total allocated vcpus: 02015-04-09 13:22:26.714
4842 AUDIT nova.compute.resource_tracker [-] PCI stats: []2015-04-09
13:22:26.714 4842 INFO nova.compute.resource_tracker [-] Compute_service
record updated for compute1:compute12015-04-09 13:22:44.515 4842 AUDIT
nova.compute.manager [req-96968e7d-09b2-48d6-a4e6-921100d2f5e4 None]
[instance: dd4fbbce-17c2-4224-9a61-c4f3b2685648] Starting instance...2015-04-09
13:22:44.577 4842 AUDIT nova.compute.claims [-] [instance:
dd4fbbce-17c2-4224-9a61-c4f3b2685648] Attempting claim: memory 512 MB, disk
1 GB2015-04-09 13:22:44.577 4842 AUDIT nova.compute.claims [-] [instance:
dd4fbbce-17c2-4224-9a61-c4f3b2685648] Total memory: 128910 MB, used:
1536.00 MB2015-04-09 13:22:44.577 4842 AUDIT nova.compute.claims [-]
[instance: dd4fbbce-17c2-4224-9a61-c4f3b2685648] memory limit: 193365.00
MB, free: 191829.00 MB2015-04-09 13:22:44.578 4842 AUDIT
nova.compute.claims [-] [instance: dd4fbbce-17c2-4224-9a61-c4f3b2685648]
Total disk: 984 GB, used: 2.00 GB2015-04-09 13:22:44.578 4842 AUDIT
nova.compute.claims [-] [instance: dd4fbbce-17c2-4224-9a61-c4f3b2685648]
disk limit not specified, defaulting to unlimited2015-04-09 13:22:44.586
4842 AUDIT nova.compute.claims [-] [instance:
dd4fbbce-17c2-4224-9a61-c4f3b2685648] Claim successful2015-04-09
13:22:44.674 4842 INFO nova.scheduler.client.report [-] Compute_service
record updated for ('compute1', 'compute1')2015-04-09 13:22:44.769 4842
INFO nova.scheduler.client.report [-] Compute_service record updated for
('compute1', 'compute1')
==> /var/log/neutron/openvswitch-agent.log <==2015-04-09 13:22:44.959 1473
INFO neutron.agent.securitygroups_rpc
[req-94c15b46-c3a2-4331-b861-50f22f808d0b None] Security group member
updated [u'c2bcd0d7-2dcc-4444-b3df-ef07f0a2831a']
==> /var/log/nova/nova-compute.log <==2015-04-09 13:22:45.087 4842 INFO
nova.virt.libvirt.driver [-] [instance:
dd4fbbce-17c2-4224-9a61-c4f3b2685648] Creating image2015-04-09 13:22:45.215
4842 INFO nova.scheduler.client.report [-] Compute_service record updated
for ('compute1', 'compute1')2015-04-09 13:22:49.866 4842 WARNING
nova.virt.disk.vfs.guestfs [-] Failed to close augeas aug_close:
do_aug_close: you must call 'aug-init' first to initialize Augeas2015-04-09
13:22:49.902 4842 ERROR nova.compute.manager [-] [instance:
dd4fbbce-17c2-4224-9a61-c4f3b2685648] Instance failed to spawn2015-04-09
13:22:49.902 4842 TRACE nova.compute.manager [instance:
dd4fbbce-17c2-4224-9a61-c4f3b2685648] Traceback (most recent call
last):2015-04-09
13:22:49.902 4842 TRACE nova.compute.manager [instance:
dd4fbbce-17c2-4224-9a61-c4f3b2685648]   File
"/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2246, in
_build_resources2015-04-09 13:22:49.902 4842 TRACE nova.compute.manager
[instance: dd4fbbce-17c2-4224-9a61-c4f3b2685648]     yield resources2015-04-09
13:22:49.902 4842 TRACE nova.compute.manager [instance:
dd4fbbce-17c2-4224-9a61-c4f3b2685648]   File
"/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2116, in
_build_and_run_instance2015-04-09 13:22:49.902 4842 TRACE
nova.compute.manager [instance: dd4fbbce-17c2-4224-9a61-c4f3b2685648]
block_device_info=block_device_info)2015-04-09 13:22:49.902 4842 TRACE
nova.compute.manager [instance: dd4fbbce-17c2-4224-9a61-c4f3b2685648]
File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line
2620, in spawn2015-04-09 13:22:49.902 4842 TRACE nova.compute.manager
[instance: dd4fbbce-17c2-4224-9a61-c4f3b2685648]
write_to_disk=True)2015-04-09
13:22:49.902 4842 TRACE nova.compute.manager [instance:
dd4fbbce-17c2-4224-9a61-c4f3b2685648]   File
"/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 4159,
in _get_guest_xml2015-04-09 13:22:49.902 4842 TRACE nova.compute.manager
[instance: dd4fbbce-17c2-4224-9a61-c4f3b2685648]     context)2015-04-09
13:22:49.902 4842 TRACE nova.compute.manager [instance:
dd4fbbce-17c2-4224-9a61-c4f3b2685648]   File
"/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 3937,
in _get_guest_config2015-04-09 13:22:49.902 4842 TRACE nova.compute.manager
[instance: dd4fbbce-17c2-4224-9a61-c4f3b2685648]     flavor,
CONF.libvirt.virt_type)2015-04-09 13:22:49.902 4842 TRACE
nova.compute.manager [instance: dd4fbbce-17c2-4224-9a61-c4f3b2685648]
File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/vif.py", line 352,
in get_config2015-04-09 13:22:49.902 4842 TRACE nova.compute.manager
[instance: dd4fbbce-17c2-4224-9a61-c4f3b2685648]     _("Unexpected
vif_type=%s") % vif_type)2015-04-09 13:22:49.902 4842 TRACE
nova.compute.manager [instance: dd4fbbce-17c2-4224-9a61-c4f3b2685648]
NovaException: Unexpected vif_type=binding_failed2015-04-09 13:22:49.902
4842 TRACE nova.compute.manager [instance:
dd4fbbce-17c2-4224-9a61-c4f3b2685648] 2015-04-09 13:22:49.904 4842 AUDIT
nova.compute.manager [req-96968e7d-09b2-48d6-a4e6-921100d2f5e4 None]
[instance: dd4fbbce-17c2-4224-9a61-c4f3b2685648] Terminating instance2015-04-09
13:22:49.906 4842 WARNING nova.virt.libvirt.driver [-] [instance:
dd4fbbce-17c2-4224-9a61-c4f3b2685648] During wait destroy, instance
disappeared.2015-04-09 13:22:49.983 4842 INFO nova.virt.libvirt.driver [-]
[instance: dd4fbbce-17c2-4224-9a61-c4f3b2685648] Deleting instance files
/var/lib/nova/instances/dd4fbbce-17c2-4224-9a61-c4f3b2685648_del2015-04-09
13:22:49.984 4842 INFO nova.virt.libvirt.driver [-] [instance:
dd4fbbce-17c2-4224-9a61-c4f3b2685648] Deletion of
/var/lib/nova/instances/dd4fbbce-17c2-4224-9a61-c4f3b2685648_del
complete2015-04-09
13:22:50.082 4842 INFO nova.scheduler.client.report [-] Compute_service
record updated for ('compute1', 'compute1')2015-04-09 13:23:27.522 4842
AUDIT nova.compute.resource_tracker [-] Auditing locally available compute
resources2015-04-09 13:23:27.641 4842 AUDIT nova.compute.resource_tracker
[-] Total physical ram (MB): 128910, total allocated virtual ram (MB):
20482015-04-09
13:23:27.642 4842 AUDIT nova.compute.resource_tracker [-] Free disk (GB):
9812015-04-09 13:23:27.642 4842 AUDIT nova.compute.resource_tracker [-]
Total usable vcpus: 16, total allocated vcpus: 02015-04-09 13:23:27.642
4842 AUDIT nova.compute.resource_tracker [-] PCI stats: []2015-04-09
13:23:27.753 4842 INFO nova.scheduler.client.report [-] Compute_service
record updated for ('compute1', 'compute1')2015-04-09 13:23:27.753 4842
INFO nova.compute.resource_tracker [-] Compute_service record updated for
compute1:compute12015-04-09 13:24:27.403 4842 AUDIT
nova.compute.resource_tracker [-] Auditing locally available compute
resources2015-04-09 13:24:27.524 4842 AUDIT nova.compute.resource_tracker
[-] Total physical ram (MB): 128910, total allocated virtual ram (MB):
20482015-04-09
13:24:27.524 4842 AUDIT nova.compute.resource_tracker [-] Free disk (GB):
9812015-04-09 13:24:27.524 4842 AUDIT nova.compute.resource_tracker [-]
Total usable vcpus: 16, total allocated vcpus: 02015-04-09 13:24:27.524
4842 AUDIT nova.compute.resource_tracker [-] PCI stats: []2015-04-09
13:24:27.524 4842 INFO nova.compute.resource_tracker [-] Compute_service
record updated for compute1:compute12015-04-09 13:25:27.403 4842 AUDIT
nova.compute.resource_tracker [-] Auditing locally available compute
resources2015-04-09 13:25:27.524 4842 AUDIT nova.compute.resource_tracker
[-] Total physical ram (MB): 128910, total allocated virtual ram (MB):
20482015-04-09
13:25:27.524 4842 AUDIT nova.compute.resource_tracker [-] Free disk (GB):
9812015-04-09 13:25:27.524 4842 AUDIT nova.compute.resource_tracker [-]
Total usable vcpus: 16, total allocated vcpus: 02015-04-09 13:25:27.524
4842 AUDIT nova.compute.resource_tracker [-] PCI stats: []2015-04-09
13:25:27.525 4842 INFO nova.compute.resource_tracker [-] Compute_service
record updated for compute1:compute12015-04-09 13:26:27.405 4842 AUDIT
nova.compute.resource_tracker [-] Auditing locally available compute
resources2015-04-09 13:26:27.527 4842 AUDIT nova.compute.resource_tracker
[-] Total physical ram (MB): 128910, total allocated virtual ram (MB):
20482015-04-09
13:26:27.527 4842 AUDIT nova.compute.resource_tracker [-] Free disk (GB):
9812015-04-09 13:26:27.527 4842 AUDIT nova.compute.resource_tracker [-]
Total usable vcpus: 16, total allocated vcpus: 02015-04-09 13:26:27.527
4842 AUDIT nova.compute.resource_tracker [-] PCI stats: []2015-04-09
13:26:27.527 4842 INFO nova.compute.resource_tracker [-] Compute_service
record updated for compute1:compute12015-04-09 13:27:29.403 4842 AUDIT
nova.compute.resource_tracker [-] Auditing locally available compute
resources2015-04-09 13:27:29.524 4842 AUDIT nova.compute.resource_tracker
[-] Total physical ram (MB): 128910, total allocated virtual ram (MB):
20482015-04-09
13:27:29.525 4842 AUDIT nova.compute.resource_tracker [-] Free disk (GB):
9812015-04-09 13:27:29.525 4842 AUDIT nova.compute.resource_tracker [-]
Total usable vcpus: 16, total allocated vcpus: 02015-04-09 13:27:29.525
4842 AUDIT nova.compute.resource_tracker [-] PCI stats: []2015-04-09
13:27:29.525 4842 INFO nova.compute.resource_tracker [-] Compute_service
record updated for compute1:compute1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150409/a871c802/attachment.html>


More information about the Openstack mailing list