This is an automatically generated e-mail. To reply, visit: http://reviewboard-openlmi.rhcloud.com/r/2099/

This change has been marked as submitted.


Review request for OpenLMI Developers.
By Jan Safranek.

Updated Říj. 7, 2014, 1:58 odp.

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)

View Diff