Review Request 2099: python-providers: Convert all log messages to string before sending to CIMOM.
by Stephen Gallagher
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard-openlmi.rhcloud.com/r/2099/
-----------------------------------------------------------
Review request for OpenLMI Developers.
Repository: openlmi-providers
Description
-------
python-providers: Convert all log messages to string before sending to CIMOM.
Recent blivet update introduced unicode in some of its properties, which
ended up in CIMOM log. CIMOM does not like it, it expects const char*
and returned weird error message:
CIM_ERR_INVALID_PARAMETER: in method 'CMPIBroker_LogMessage', argument 4 of type 'char const *'
We should convert everything to string before sending to log.
Diffs
-----
src/python/lmi/providers/cmpi_logging.py 06dee703c45f4057553048ebeb2b45b3ef5c0909
Diff: http://reviewboard-openlmi.rhcloud.com/r/2099/diff/
Testing
-------
Thanks,
Jan Safranek
9 years, 8 months