Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

virNetSocketReadWire:1194:End of file while reading data: Input/output error

I got failed ,when i boot vm

on compute compute.log

2016-06-11 20:40:44.454 2268 TRACE nova.compute.manager [instance: 530e8cf0-c231-42b4-995d-99949a992f6f] Traceback (most recent call last):
2016-06-11 20:40:44.454 2268 TRACE nova.compute.manager [instance: 530e8cf0-c231-42b4-995d-99949a992f6f]   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1379, in _build_instance
2016-06-11 20:40:44.454 2268 TRACE nova.compute.manager [instance: 530e8cf0-c231-42b4-995d-99949a992f6f]     set_access_ip=set_access_ip)
2016-06-11 20:40:44.454 2268 TRACE nova.compute.manager [instance: 530e8cf0-c231-42b4-995d-99949a992f6f]   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 410, in decorated_function
2016-06-11 20:40:44.454 2268 TRACE nova.compute.manager [instance: 530e8cf0-c231-42b4-995d-99949a992f6f]     return function(self, context, *args, **kwargs)
2016-06-11 20:40:44.454 2268 TRACE nova.compute.manager [instance: 530e8cf0-c231-42b4-995d-99949a992f6f]   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1797, in _spawn
2016-06-11 20:40:44.454 2268 TRACE nova.compute.manager [instance: 530e8cf0-c231-42b4-995d-99949a992f6f]     LOG.exception(_('Instance failed to spawn'), instance=instance)
2016-06-11 20:40:44.454 2268 TRACE nova.compute.manager [instance: 530e8cf0-c231-42b4-995d-99949a992f6f]   File "/usr/lib/python2.6/site-packages/nova/openstack/common/excutils.py", line 68, in __exit__
2016-06-11 20:40:44.454 2268 TRACE nova.compute.manager [instance: 530e8cf0-c231-42b4-995d-99949a992f6f]     six.reraise(self.type_, self.value, self.tb)
2016-06-11 20:40:44.454 2268 TRACE nova.compute.manager [instance: 530e8cf0-c231-42b4-995d-99949a992f6f]   File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1794, in _spawn
2016-06-11 20:40:44.454 2268 TRACE nova.compute.manager [instance: 530e8cf0-c231-42b4-995d-99949a992f6f]     block_device_info)
2016-06-11 20:40:44.454 2268 TRACE nova.compute.manager [instance: 530e8cf0-c231-42b4-995d-99949a992f6f]   File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 2288, in spawn
2016-06-11 20:40:44.454 2268 TRACE nova.compute.manager [instance: 530e8cf0-c231-42b4-995d-99949a992f6f]     admin_pass=admin_password)
2016-06-11 20:40:44.454 2268 TRACE nova.compute.manager [instance: 530e8cf0-c231-42b4-995d-99949a992f6f]   File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 2657, in _create_image
2016-06-11 20:40:44.454 2268 TRACE nova.compute.manager [instance: 530e8cf0-c231-42b4-995d-99949a992f6f]     project_id=instance['project_id'])
2016-06-11 20:40:44.454 2268 TRACE nova.compute.manager [instance: 530e8cf0-c231-42b4-995d-99949a992f6f]   File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/imagebackend.py", line 192, in cache
2016-06-11 20:40:44.454 2268 TRACE nova.compute.manager [instance: 530e8cf0-c231-42b4-995d-99949a992f6f]     *args, **kwargs)
2016-06-11 20:40:44.454 2268 TRACE nova.compute.manager [instance: 530e8cf0-c231-42b4-995d-99949a992f6f]   File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/imagebackend.py", line 388, in create_image
2016-06-11 20:40:44.454 2268 TRACE nova.compute.manager [instance: 530e8cf0-c231-42b4-995d-99949a992f6f]     prepare_template(target=base, max_size=size, *args, **kwargs)
2016-06-11 20:40:44.454 2268 TRACE nova.compute.manager [instance: 530e8cf0-c231-42b4-995d-99949a992f6f]   File "/usr/lib/python2.6/site-packages/nova/openstack/common/lockutils.py", line 249, in inner
2016-06-11 20:40:44.454 2268 TRACE nova.compute.manager [instance: 530e8cf0-c231-42b4-995d-99949a992f6f]     return f(*args, **kwargs)
2016-06-11 20:40:44.454 2268 TRACE nova.compute.manager [instance: 530e8cf0-c231-42b4-995d-99949a992f6f]   File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/imagebackend.py", line 182, in fetch_func_sync
2016-06-11 20:40:44.454 2268 TRACE nova.compute.manager [instance: 530e8cf0-c231-42b4-995d-99949a992f6f]     fetch_func(target=target, *args, **kwargs)
2016-06-11 20:40:44.454 2268 TRACE nova.compute.manager [instance: 530e8cf0-c231-42b4-995d-99949a992f6f]   File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/utils.py", line 653, in fetch_image
2016-06-11 20:40:44.454 2268 TRACE nova.compute.manager [instance: 530e8cf0-c231-42b4-995d-99949a992f6f]     max_size=max_size)
2016-06-11 20:40:44.454 2268 TRACE nova.compute.manager [instance: 530e8cf0-c231-42b4-995d-99949a992f6f]   File "/usr/lib/python2.6/site-packages/nova/virt/images.py", line 116, in fetch_to_raw
2016-06-11 20:40:44.454 2268 TRACE nova.compute.manager [instance: 530e8cf0-c231-42b4-995d-99949a992f6f]     convert_image(path_tmp, staged, 'raw')
2016-06-11 20:40:44.454 2268 TRACE nova.compute.manager [instance: 530e8cf0-c231-42b4-995d-99949a992f6f]   File "/usr/lib/python2.6/site-packages/nova/virt/images.py", line 61, in convert_image
2016-06-11 20:40:44.454 2268 TRACE nova.compute.manager [instance: 530e8cf0-c231-42b4-995d-99949a992f6f]     utils.execute(*cmd, run_as_root=run_as_root)
2016-06-11 20:40:44.454 2268 TRACE nova.compute.manager [instance: 530e8cf0-c231-42b4-995d-99949a992f6f]   File "/usr/lib/python2.6/site-packages/nova/utils.py", line 165, in execute
2016-06-11 20:40:44.454 2268 TRACE nova.compute.manager [instance: 530e8cf0-c231-42b4-995d-99949a992f6f]     return processutils.execute(*cmd, **kwargs)
2016-06-11 20:40:44.454 2268 TRACE nova.compute.manager [instance: 530e8cf0-c231-42b4-995d-99949a992f6f]   File "/usr/lib/python2.6/site-packages/nova/openstack/common/processutils.py", line 195, in execute
2016-06-11 20:40:44.454 2268 TRACE nova.compute.manager [instance: 530e8cf0-c231-42b4-995d-99949a992f6f]     cmd=sanitized_cmd)
2016-06-11 20:40:44.454 2268 TRACE nova.compute.manager [instance: 530e8cf0-c231-42b4-995d-99949a992f6f] ProcessExecutionError: Unexpected error while running command.
2016-06-11 20:40:44.454 2268 TRACE nova.compute.manager [instance: 530e8cf0-c231-42b4-995d-99949a992f6f] Command: qemu-img convert -O raw /var/lib/nova/instances/_base/070d1ee269cc7f35e66b547bba41cd4402878ed5.part /var/lib/nova/instances/_base/070d1ee269cc7f35e66b547bba41cd4402878ed5.converted
2016-06-11 20:40:44.454 2268 TRACE nova.compute.manager [instance: 530e8cf0-c231-42b4-995d-99949a992f6f] Exit code: 1
2016-06-11 20:40:44.454 2268 TRACE nova.compute.manager [instance: 530e8cf0-c231-42b4-995d-99949a992f6f] Stdout: u''
2016-06-11 20:40:44.454 2268 TRACE nova.compute.manager [instance: 530e8cf0-c231-42b4-995d-99949a992f6f] Stderr: u'error while reading sector 23680: Input/output error\n'
2016-06-11 20:40:44.454 2268 TRACE nova.compute.manager [instance: 530e8cf0-c231-42b4-995d-99949a992f6f] 
2016-06-11 20:46:47.289 2268 WARNING nova.compute.manager [-] Bandwidth usage not supported by hypervisor.
2016-06-11 20:47:33.909 2268 WARNING nova.compute.manager [-] Found 4 in the database and 0 on the hypervisor.

on compute /var/log/libvirt/libvirtd.log

2016-06-10 08:58:43.096+0000: 1847: error : virNetSocketReadWire:1194 : End of file while reading data: Input/output error

on controller

who can help me ,thanks