← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1194917] Re: xeanpi: invalid logging line

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => havana-2

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

Title:
  xeanpi: invalid logging line

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  This is what I see in compute log:

  2013-06-26 14:02:34.851 DEBUG nova.virt.xenapi.volumeops [req-286ae122-06e4-4dfc-9e91-4416e37689b1 demo demo] Attach_volume: {u'driver_volume_type': u'iscsi', 'serial': u'ca6e35e2-7056-42b8-a4d4-546cc1a8c998',
   u'data': {u'target_discovered': False, u'target_iqn': u'iqn.2010-10.org.openstack:volume-ca6e35e2-7056-42b8-a4d4-546cc1a8c998', u'target_portal': u'10.219.3.143:3260', u'volume_id': u'ca6e35e2-7056-42b8-a4d4-
  546cc1a8c998', u'target_lun': 1, u'auth_password': u'KErojkWaXXJLGRrk9mBM', u'auth_username': u'boAtvqyJyX5i2DkdccDG', u'auth_method': u'CHAP'}}, instance-00000001," /dev/xvdc from (pid=23955) attach_volume /o
  pt/stack/nova/nova/virt/xenapi/volumeops.py:51
  Traceback (most recent call last):
    File "/usr/lib/python2.7/logging/__init__.py", line 846, in emit
      msg = self.format(record)
    File "/opt/stack/nova/nova/openstack/common/log.py", line 551, in format
      return logging.StreamHandler.format(self, record)
    File "/usr/lib/python2.7/logging/__init__.py", line 723, in format
      return fmt.format(record)
    File "/opt/stack/nova/nova/openstack/common/log.py", line 515, in format
      return logging.Formatter.format(self, record)
    File "/usr/lib/python2.7/logging/__init__.py", line 464, in format
      record.message = record.getMessage()
    File "/usr/lib/python2.7/logging/__init__.py", line 328, in getMessage
      msg = msg % self.args
  TypeError: not enough arguments for format string
  Logged from file volume_utils.py, line 237

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