← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1223253] Re: bad logging from baremetal_deploy_helper.py, line 217

 

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

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

Title:
  bad logging from baremetal_deploy_helper.py, line 217

Status in Ironic (Bare Metal Provisioning):
  Incomplete
Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  2013-09-10 07:48:36,767.767 5769 ERROR nova.virt.baremetal.deploy_helper [req-f649058f-8b8f-4392-a221-ca55a96178b0 None None] StdOut  : 
  Traceback (most recent call last):
    File "/usr/lib/python2.7/logging/__init__.py", line 851, in emit
      msg = self.format(record)
    File "/usr/lib/python2.7/logging/__init__.py", line 724, in format
      return fmt.format(record)
    File "/opt/stack/nova/nova/openstack/common/log.py", line 517, 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
  UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 17: ordinal not in range(128)
  Logged from file baremetal_deploy_helper.py, line 217

  Program stdout can be arbitrary bytes; we need to convert it to
  unicode before trying to log it.

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