← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1213126] Re: attaching volume to instance fails with IO error

 

Closing this bug per comment #3.

Please reopen it (with more verbose details) if you encounter it again.

** Changed in: nova
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1213126

Title:
  attaching volume to instance fails with IO error

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  2013-08-16 10:06:05.315 ^[[01;31mERROR root [^[[00;36m-^[[01;31m] ^[[01;35m^[[01;31mOriginal exception being dropped: ['Traceback (most recent call last):\n', '  File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 1038, in attach_volume\n    virt_dom.attachDeviceFlags(conf.to_xml(), flags)\n', '  File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 179, in doit\n    result = proxy_call(self._autowrap, f, *args, **kwargs)\n', '  File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 139, in proxy_call\n    rv = execute(f,*args,**kwargs)\n', '  File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 77, in tworker\n    rv = meth(*args,**kwargs)\n', '  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 420, in attachDeviceFlags\n    if ret == -1: raise libvirtError (\'virDomainAttachDeviceFlags() failed\', dom=self)\n', 'libvirtError: End of file while reading data: Input/output error\n']^[[00m
  2013-08-16 10:06:05.316 ^[[01;31mERROR nova.compute.manager [^[[01;36mreq-db59ccfd-b546-40fd-8447-03d546725caa ^[[00;36madmin demo^[[01;31m] ^[[01;35m[instance: f1f87ce0-0833-4476-8f71-74870b5e7068] ^[[01;31mFailed to attach volume 079b6295-8433-444f-bf8f-c013d65ae634 at /dev/vdc^[[00m
  ^[[01;31m2013-08-16 10:06:05.316 TRACE nova.compute.manager ^[[01;35m[instance: f1f87ce0-0833-4476-8f71-74870b5e7068] ^[[00mTraceback (most recent call last):
  ^[[01;31m2013-08-16 10:06:05.316 TRACE nova.compute.manager ^[[01;35m[instance: f1f87ce0-0833-4476-8f71-74870b5e7068] ^[[00m  File "/opt/stack/nova/nova/compute/manager.py", line 3465, in _attach_volume
  ^[[01;31m2013-08-16 10:06:05.316 TRACE nova.compute.manager ^[[01;35m[instance: f1f87ce0-0833-4476-8f71-74870b5e7068] ^[[00m    mountpoint)
  ^[[01;31m2013-08-16 10:06:05.316 TRACE nova.compute.manager ^[[01;35m[instance: f1f87ce0-0833-4476-8f71-74870b5e7068] ^[[00m  File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 1051, in attach_volume
  ^[[01;31m2013-08-16 10:06:05.316 TRACE nova.compute.manager ^[[01;35m[instance: f1f87ce0-0833-4476-8f71-74870b5e7068] ^[[00m    disk_dev)
  ^[[01;31m2013-08-16 10:06:05.316 TRACE nova.compute.manager ^[[01;35m[instance: f1f87ce0-0833-4476-8f71-74870b5e7068] ^[[00m  File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 992, in volume_driver_method
  ^[[01;31m2013-08-16 10:06:05.316 TRACE nova.compute.manager ^[[01;35m[instance: f1f87ce0-0833-4476-8f71-74870b5e7068] ^[[00m    return method(connection_info, *args, **kwargs)
  ^[[01;31m2013-08-16 10:06:05.316 TRACE nova.compute.manager ^[[01;35m[instance: f1f87ce0-0833-4476-8f71-74870b5e7068] ^[[00m  File "/opt/stack/nova/nova/openstack/common/lockutils.py", line 246, in inner
  ^[[01;31m2013-08-16 10:06:05.316 TRACE nova.compute.manager ^[[01;35m[instance: f1f87ce0-0833-4476-8f71-74870b5e7068] ^[[00m    return f(*args, **kwargs)
  ^[[01;31m2013-08-16 10:06:05.316 TRACE nova.compute.manager ^[[01;35m[instance: f1f87ce0-0833-4476-8f71-74870b5e7068] ^[[00m  File "/opt/stack/nova/nova/virt/libvirt/volume.py", line 308, in disconnect_volume
  ^[[01;31m2013-08-16 10:06:05.316 TRACE nova.compute.manager ^[[01;35m[instance: f1f87ce0-0833-4476-8f71-74870b5e7068] ^[[00m    devices = self.connection.get_all_block_devices()
  ^[[01;31m2013-08-16 10:06:05.316 TRACE nova.compute.manager ^[[01;35m[instance: f1f87ce0-0833-4476-8f71-74870b5e7068] ^[[00m  File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2666, in get_all_block_devices
  ^[[01;31m2013-08-16 10:06:05.316 TRACE nova.compute.manager ^[[01;35m[instance: f1f87ce0-0833-4476-8f71-74870b5e7068] ^[[00m    for dom_id in self.list_instance_ids():
  ^[[01;31m2013-08-16 10:06:05.316 TRACE nova.compute.manager ^[[01;35m[instance: f1f87ce0-0833-4476-8f71-74870b5e7068] ^[[00m  File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 694, in list_instance_ids
  ^[[01;31m2013-08-16 10:06:05.316 TRACE nova.compute.manager ^[[01;35m[instance: f1f87ce0-0833-4476-8f71-74870b5e7068] ^[[00m    if self._conn.numOfDomains() == 0:
  ^[[01;31m2013-08-16 10:06:05.316 TRACE nova.compute.manager ^[[01;35m[instance: f1f87ce0-0833-4476-8f71-74870b5e7068] ^[[00mAttributeError: 'NoneType' object has no attribute 'numOfDomains'
  ^[[01;31m2013-08-16 10:06:05.316 TRACE nova.compute.manager ^[[01;35m[instance: f1f87ce0-0833-4476-8f71-74870b5e7068] ^[[00m

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1213126/+subscriptions