Bug 682511 - vdsClient over ssl does not work with python 2.7
Summary: vdsClient over ssl does not work with python 2.7
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: vdsm
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Dan Kenigsberg
QA Contact: yeylon@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-06 09:58 UTC by Oded Ramraz
Modified: 2016-04-18 06:38 UTC (History)
6 users (show)

Fixed In Version: vdsm-4.9.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-10 20:46:38 UTC
oVirt Team: ---


Attachments (Terms of Use)

Description Oded Ramraz 2011-03-06 09:58:58 UTC
Description of problem:

When i try to run vdsClient secure commands from python 2.7 ( On Fedora 14 host ) i get the following exception:

Traceback (most recent call last):
  File "/usr/share/vdsm/vdsClient.py", line 1984, in <module>
    code, message = commands[command][0](commandArgs)
  File "/usr/share/vdsm/vdsClient.py", line 304, in do_getVdsStats
    return self.ExecAndExit(self.s.getVdsStats())
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1224, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1570, in __request
    verbose=self.__verbose
  File "/usr/lib64/python2.7/site-packages/M2Crypto/m2xmlrpclib.py", line 64, in request
    return self.parse_response(h.getfile())
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1449, in parse_response
    if response.getheader("Content-Encoding", "") == "gzip":
AttributeError: '_fileobject' object has no attribute 'getheader'



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 2 Dan Kenigsberg 2011-09-12 10:18:12 UTC
http://gerrit.usersys.redhat.com/800


Note You need to log in before you can comment on or make changes to this bug.