3e1ea2c998
Currently in cinder.brick.iscsi.iscs:LioADM.create_iscsi_target The Log message for the exception is: LOG.error("%s" % e), This rightfully results in: *** UnicodeError: UnicodeError(u'Message objects do not support str() because they may contain non-ascii characters. Please use unicode() or translate() instead.',) In some cases this causes the Volume service to stop and doesn't help a ton with debug. While looking at this also noticed a number of other similar cases where invalid LOG messages were set up. Following the i8n guidelines here: http://docs.openstack.org/developer/oslo.i18n/guidelines.html Went ahead and cleaned the bulk of the LOG messages in this file up to adhere to the guidelines as well as fixing the UnicodeError described in the bug. Change-Id: I33adf99ca25a2d8f869de5bfa85b4ca8429be05e |
||
---|---|---|
.. | ||
initiator | ||
iscsi | ||
local_dev | ||
remotefs | ||
README.txt | ||
__init__.py | ||
exception.py | ||
executor.py |
README.txt
Brick is a new library that currently is maintained in Cinder for the Havana release. It will eventually be moved external to Cinder, possibly oslo, or pypi. Any defects found in Brick, should be submitted against Cinder and fixed there, then pulled into other projects that are using brick. * Brick is used outside of Cinder and therefore cannot have any dependencies on Cinder and/or it's database.