- Issued:
- 2013-06-10
- Updated:
- 2013-06-10
RHBA-2013:0912 - Bug Fix Advisory
Synopsis
new package: rhevm-sdk
Type/Severity
Bug Fix Advisory
Red Hat Insights patch analysis
Identify and remediate systems affected by this advisory.
Topic
A new rhevm-sdk package is now available.
Description
The rhevm-sdk package provides a Python Software Development Kit to
facilitate the development of custom applications and scripts that interact
with Red Hat Enterprise Virtualization Manager.
The package contains a Python library that simplifies communication with
the Red Hat Enterprise Virtualization Manager REST API by providing an
object-oriented view to developers.
This update also fixes the following bugs:
- Previously, an unexpected parameter, 'source_address', would cause an
error when using Python 2.6 to connect to the Command Line Interface (CLI).
This parameter was included in 'ovirtsdk/web/httpsconnection.py' using
Python 2.7 version of 'httplib.HTTPSConnection'. Now, the 'source_address'
parameter has been removed from 'httplib.HTTPSConnection initialization'
and does not cause the error when using Python 2.6 to connect to the CLI.
(BZ#893017)
- Previously, the Software Development Kit (SDK) ignored the '--insecure'
option and would still require a CA certificate when connecting to the REST
API. A new parameter, 'validate-cert-chain', which defaults to 'True', has
been added to ensure certificate chain validation during connection.
(BZ#915225)
- A previous bug fix to API session-based authentication impacted SDK
session-based authentication as including 'Prefer' header with
'Authorization' header bypassed the JSESSION cookie. Now, the JSESSION
cookie is not bypassed and session-based authentication works as expected.
(BZ#916285)
As well, this update adds the following enhancements:
- Scripts are now able to communicate with multiple Red Hat Enterprise
Virtualization Managers by creating and manipulating separate instances of
the ovirtsdk.API Python class. (BZ#853947)
- Debug mode for the Software Development Kit (SDK) and Command Line
Interface (CLI) now prints the whole response body, not just the status.
(BZ#887808)
Users of Red Hat Enterprise Virtualization Manager that need to build
custom Python applications or scripts to interact with Red Hat Enterprise
Virtualization Manager should install this new rhevm-sdk package.
Solution
Before applying this update, make sure all previously-released errata relevant
to your system have been applied.
This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
https://access.redhat.com/knowledge/articles/1125
Affected Products
- Red Hat Virtualization 3.2 x86_64
Fixes
- BZ - 853947 - PRD32 - [RHEVM-SDK]: Cannot create simultaneous connections to multiple servers
- BZ - 887808 - [RHEVM-SDK] [RFE]: add print of the whole response body and not only its status in debug mode for sdk and cli
- BZ - 893017 - ovirt-shell can't connect to engine when using pyphon 2.6 (httplib.HTTPSConnection source_address error)
- BZ - 915225 - RHEVM-SDK: Add constructor parameter validate-cert-chain=True
- BZ - 916285 - RHEVM-SDK: session based authentication is broken
CVEs
(none)
References
(none)
Red Hat Virtualization 3.2
SRPM | |
---|---|
x86_64 | |
rhevm-sdk-3.2.0.11-1.el6ev.noarch.rpm | SHA-256: 7799e31e57e8aa786d558a5cf1373d8b9925693e6b937c2c9346ff9291758908 |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.