← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1466914] [NEW] XenServer: rotate logs causes tempest failure

 

Public bug reported:

Guest does not have a console available

Traceback (most recent call last):
  File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 1760, in get_console_output
    'get_console_log', {'dom_id': dom_id})
  File "/opt/stack/nova/nova/virt/xenapi/client/session.py", line 208, in call_plugin
    self.host_ref, plugin, fn, args)
  File "/opt/stack/nova/nova/virt/xenapi/client/session.py", line 282, in _unwrap_plugin_exceptions
    return func(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/XenAPI.py", line 229, in __call__
    return self.__send(self.__name, args)
  File "/usr/local/lib/python2.7/dist-packages/XenAPI.py", line 133, in xenapi_request
    result = _parse_result(getattr(self, methodname)(*full_params))
  File "/usr/local/lib/python2.7/dist-packages/XenAPI.py", line 203, in _parse_result
    raise Failure(result['ErrorDescription'])
Failure: ['XENAPI_PLUGIN_FAILURE', 'get_console_log', 'IOError', "[Errno 2] No such file or directory: '/var/log/xen/guest/console.242'"]

This is most likely because the rotate script (which runs every minute)
deletes all log files

** Affects: nova
     Importance: Medium
         Status: New


** Tags: xenserver

** Changed in: nova
   Importance: Undecided => Medium

** Tags added: xenserver

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

Title:
  XenServer: rotate logs causes tempest failure

Status in OpenStack Compute (Nova):
  New

Bug description:
  Guest does not have a console available

  Traceback (most recent call last):
    File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 1760, in get_console_output
      'get_console_log', {'dom_id': dom_id})
    File "/opt/stack/nova/nova/virt/xenapi/client/session.py", line 208, in call_plugin
      self.host_ref, plugin, fn, args)
    File "/opt/stack/nova/nova/virt/xenapi/client/session.py", line 282, in _unwrap_plugin_exceptions
      return func(*args, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/XenAPI.py", line 229, in __call__
      return self.__send(self.__name, args)
    File "/usr/local/lib/python2.7/dist-packages/XenAPI.py", line 133, in xenapi_request
      result = _parse_result(getattr(self, methodname)(*full_params))
    File "/usr/local/lib/python2.7/dist-packages/XenAPI.py", line 203, in _parse_result
      raise Failure(result['ErrorDescription'])
  Failure: ['XENAPI_PLUGIN_FAILURE', 'get_console_log', 'IOError', "[Errno 2] No such file or directory: '/var/log/xen/guest/console.242'"]

  This is most likely because the rotate script (which runs every
  minute) deletes all log files

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


Follow ups

References