With Paramiko 1.13.0, the method exec_command now returns Unicode.
This causes a problem when the driver tries to build the XML returned
from the LeftHand array. The XML header returned from the array defines
the encoding as encoding=UTF-8. Therefore, we must now ensure the
encoding passed to the parser is utf-8.
Reviewed: https:/ /review. openstack. org/85483 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=57e8cdb9dd8 e24919bc2243438 a6bded53491b3e
Committed: https:/
Submitter: Jenkins
Branch: master
commit 57e8cdb9dd8e249 19bc2243438a6bd ed53491b3e
Author: Jim Branen <email address hidden>
Date: Fri Apr 4 13:36:42 2014 -0700
Fixes HP LeftHand driver with Paramiko 1.13.0
With Paramiko 1.13.0, the method exec_command now returns Unicode.
This causes a problem when the driver tries to build the XML returned
from the LeftHand array. The XML header returned from the array defines
the encoding as encoding=UTF-8. Therefore, we must now ensure the
encoding passed to the parser is utf-8.
Change-Id: I7b504626e2d9a0 ee2b62820b11f56 eb136e31987
closes-bug: #1298608