ironic-inspector/ironic_inspector
dparalen c365e5403c Stringify node_info.uuid as a precaution
Currently, utils:processing_logger_prefix() assumes node_info.uuid to be a
string.  However, a (broken) test case could encounter a TypeError logging:

   File "ironic_inspector/utils.py", line 103, in processing_logger_prefix
     return _('[node: %s]') % ' '.join(parts)
 TypeError: sequence item 0: expected string, MagicMock found

The patch purpose is to apply str(node_info.uuid) as a precaution.  This may
also help track where the real issue is with a broken test case.

Change-Id: I689f67c44a6304f7b296829fef3339872a4f6d36
2016-01-21 15:34:40 +01:00
..
common Store and expose introspection data 2015-08-27 20:18:54 -04:00
migrations Enable migration autogenerate 2015-11-02 17:24:52 +00:00
plugins Switch to IPA as a primary ramdisk 2016-01-13 17:30:56 +01:00
test Stringify node_info.uuid as a precaution 2016-01-21 15:34:40 +01:00
__init__.py Switch to pbr 2015-06-18 16:09:07 +02:00
alembic.ini Add alembic migrations for the inspector database 2015-09-23 14:44:46 +01:00
conf.py Track node identification during the whole processing 2016-01-13 12:23:15 +01:00
db.py Enable migration autogenerate 2015-11-02 17:24:52 +00:00
dbsync.py Enable migration autogenerate 2015-11-02 17:24:52 +00:00
firewall.py Improve debug logging 2015-12-14 14:19:06 +01:00
introspect.py Track node identification during the whole processing 2016-01-13 12:23:15 +01:00
main.py Track node identification during the whole processing 2016-01-13 12:23:15 +01:00
node_cache.py Track node identification during the whole processing 2016-01-13 12:23:15 +01:00
process.py Track node identification during the whole processing 2016-01-13 12:23:15 +01:00
rules.py Track node identification during the whole processing 2016-01-13 12:23:15 +01:00
utils.py Stringify node_info.uuid as a precaution 2016-01-21 15:34:40 +01:00
version.py Use Reno for release notes management 2015-11-26 10:12:14 +01:00