Created attachment 1447785 [details] Log Description of problem: When the ovirt-sdk reader encounters raw bytes it will throw exception: Entity: line 80: parser error : PCDATA invalid Char value 1 Version-Release number of selected component (if applicable): python-ovirt-engine-sdk4-4.2.6-2.el7ev.x86_64 How reproducible: 100% Steps to Reproduce: 1. List service that contains raw bytes 2. 3. Additional info: Contact me if you need help with reproducing this bug.
Created attachment 1447787 [details] Output causing problems
I think this is an issue in the API/backend. API is returning raw binary data instead a string. As far as I understand it returns: <link_layer_discovery_protocol_element> <name>X</name> <oui>123</oui> <properties> <property> <name>somename</name> <value>[26B blob data]</value> </property> </properties> <subtype>3</subtype> <type>127</type> </link_layer_discovery_protocol_element> I think the API should parse the binary data and tranform to appropriate string based on specification or if we need to return binary data, we should return BASE64 encoding string. Dominik, I see you wrote GetLldpVDSCommand::parseTlv, can you please confirm if property value could be binary data?
> Dominik, I see you wrote GetLldpVDSCommand::parseTlv, can you please confirm if > property value could be binary data? The property should not contain binary data, but it does sometimes. This is already tracked in #1551623. *** This bug has been marked as a duplicate of bug 1551623 ***