← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1285908] [NEW] IOError: [Errno 2] No such file or directory: '/opt/stack/data/nova/instances/UUID/libvirt.xml'

 

Public bug reported:

2014-02-27 22:17:30.887 26111 ERROR oslo.messaging.rpc.dispatcher [-] Exception during message handling: [Errno 2] No such file or directory: '/opt/stack/data/nova/instances/32ce67c4-8444-4f3a-8fda-58c8e303efdc/libvirt.xml'
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/oslo.messaging/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher     incoming.message))
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/oslo.messaging/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher     return self._do_dispatch(endpoint, method, ctxt, args)
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/oslo.messaging/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher     result = getattr(endpoint, method)(ctxt, **new_args)
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/exception.py", line 88, in wrapped
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher     payload)
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/openstack/common/excutils.py", line 68, in __exit__
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/exception.py", line 71, in wrapped
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher     return f(self, context, *args, **kw)
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/compute/manager.py", line 243, in decorated_function
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher     pass
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/openstack/common/excutils.py", line 68, in __exit__
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/compute/manager.py", line 229, in decorated_function
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher     return function(self, context, *args, **kwargs)
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/compute/manager.py", line 294, in decorated_function
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher     function(self, context, *args, **kwargs)
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/compute/manager.py", line 271, in decorated_function
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher     e, sys.exc_info())
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/openstack/common/excutils.py", line 68, in __exit__
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/compute/manager.py", line 258, in decorated_function
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher     return function(self, context, *args, **kwargs)
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/compute/manager.py", line 2076, in start_instance
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher     self._power_on(context, instance)
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/compute/manager.py", line 2064, in _power_on
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher     block_device_info)
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 2093, in power_on
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher     self._hard_reboot(context, instance, network_info, block_device_info)
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 2045, in _hard_reboot
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher     write_to_disk=True)
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 3363, in to_xml
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher     libvirt_utils.write_to_file(xml_path, xml)
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/virt/libvirt/utils.py", line 526, in write_to_file
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher     with open(path, 'w') as f:
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher IOError: [Errno 2] No such file or directory: '/opt/stack/data/nova/instances/32ce67c4-8444-4f3a-8fda-58c8e303efdc/libvirt.xml'
2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher 


logstash query: message:"No such file or directory" AND message:"libvirt.xml" AND filename:"logs/screen-n-cpu.txt"  AND message:"Exception during message handling"

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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/1285908

Title:
  IOError: [Errno 2] No such file or directory:
  '/opt/stack/data/nova/instances/UUID/libvirt.xml'

Status in OpenStack Compute (Nova):
  New

Bug description:
  2014-02-27 22:17:30.887 26111 ERROR oslo.messaging.rpc.dispatcher [-] Exception during message handling: [Errno 2] No such file or directory: '/opt/stack/data/nova/instances/32ce67c4-8444-4f3a-8fda-58c8e303efdc/libvirt.xml'
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/oslo.messaging/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher     incoming.message))
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/oslo.messaging/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher     return self._do_dispatch(endpoint, method, ctxt, args)
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/oslo.messaging/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher     result = getattr(endpoint, method)(ctxt, **new_args)
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/exception.py", line 88, in wrapped
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher     payload)
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/openstack/common/excutils.py", line 68, in __exit__
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/exception.py", line 71, in wrapped
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher     return f(self, context, *args, **kw)
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/compute/manager.py", line 243, in decorated_function
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher     pass
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/openstack/common/excutils.py", line 68, in __exit__
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/compute/manager.py", line 229, in decorated_function
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher     return function(self, context, *args, **kwargs)
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/compute/manager.py", line 294, in decorated_function
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher     function(self, context, *args, **kwargs)
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/compute/manager.py", line 271, in decorated_function
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher     e, sys.exc_info())
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/openstack/common/excutils.py", line 68, in __exit__
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/compute/manager.py", line 258, in decorated_function
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher     return function(self, context, *args, **kwargs)
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/compute/manager.py", line 2076, in start_instance
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher     self._power_on(context, instance)
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/compute/manager.py", line 2064, in _power_on
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher     block_device_info)
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 2093, in power_on
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher     self._hard_reboot(context, instance, network_info, block_device_info)
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 2045, in _hard_reboot
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher     write_to_disk=True)
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/virt/libvirt/driver.py", line 3363, in to_xml
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher     libvirt_utils.write_to_file(xml_path, xml)
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/virt/libvirt/utils.py", line 526, in write_to_file
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher     with open(path, 'w') as f:
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher IOError: [Errno 2] No such file or directory: '/opt/stack/data/nova/instances/32ce67c4-8444-4f3a-8fda-58c8e303efdc/libvirt.xml'
  2014-02-27 22:17:30.887 26111 TRACE oslo.messaging.rpc.dispatcher 

  
  logstash query: message:"No such file or directory" AND message:"libvirt.xml" AND filename:"logs/screen-n-cpu.txt"  AND message:"Exception during message handling"

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


Follow ups

References