HP LeftHand driver fails with Paramiko 1.13.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Jim Branen | ||
Havana |
Fix Released
|
Undecided
|
Unassigned | ||
Icehouse |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When the HP LeftHand driver is configured in legacy mode it will fail with the following exception, if paramiko 1.13.0 is installed:
2014-03-27 13:33:22.189 DEBUG cinder.
/data/cinder/
Traceback (most recent call last):
File "/usr/local/
timer()
File "/usr/local/
cb(*args, **kw)
File "/usr/local/
waiter.switch()
File "/usr/local/
result = function(*args, **kwargs)
File "/opt/stack/
service.start()
File "/opt/stack/
self.
File "/opt/stack/
self.
File "/opt/stack/
self.
File "/opt/stack/
volume_stats = self.driver.
File "/opt/stack/
retval = f(*args, **kwargs)
File "/opt/stack/
data = self.proxy.
File "/opt/stack/
self.
File "/opt/stack/
'clusterName': self.configurat
File "/opt/stack/
result_xml = etree.fromstrin
File "lxml.etree.pyx", line 3003, in lxml.etree.
File "parser.pxi", line 1724, in lxml.etree.
ValueError: Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration.
This bug also exists with the Havana version of the driver. cinder.
Workaround: install paramiko 1.10.0
tags: | added: drivers lefthand |
Changed in cinder: | |
assignee: | nobody → Jim Branen (james-branen) |
tags: | added: havana-backport-potential |
Changed in cinder: | |
milestone: | none → juno-1 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | juno-1 → 2014.2 |
seems like we need to either get rid of "legacy mode" (I'm uncertain if/why we need the multiple modes at this point) or fix the issues that you're hitting here.
Pinning paramiko is not something I want to do because of other drivers and projects that are using paramiko and the global req's file.
Also, it's certainly too late to do anything here for Icehouse other than "fixing" the lefthand driver. Same holds true for Havana, modifying the requirement is not really an option.