[openstack-dev] oslo.vmware release 0.7.0

Doug Hellmann doug at doughellmann.com
Wed Nov 12 16:34:31 UTC 2014


The Oslo team is pleased to announce the release of oslo.vmware 0.7.0.

This release includes several bug fixes (https://launchpad.net/oslo.vmware/+milestone/0.7.0) as well as many other changes:


1661a0a Updated from global requirements
33f6002 Imported Translations from Transifex
8b1f97b Do not log when reraising an exception
575fd70 Imported Translations from Transifex
0b7ff54 Updated from global requirements
8ed3d53 Add unit test for VC 5.1 web fault handling
776c20d Fix to get exception detail with vCenter 5.1
62d0ba7 Download image API to bypass vCenter
6aa427d Updated from global requirements
84a39fb Updated from global requirements
e25af91 Enable the PBM WSDL to be updated
9f6f2a3 Support building wheels (PEP-427)
73d1160 Fixup autoindex.rst only if it exists
42eab0c Supress error logs when exception is thrown
2350257 Fix handling of fault details
7591589 Fix UnboundLocalError during WebFault handling
89d0131 Use faultstring attribute in suds.WebFault.fault
54455f2 Imported Translations from Transifex
95e84eb Fix the log message for progress
264e428 Add API to get the entity inventory path
ee4d9c0 VimExceptions need to support i18n objects
df59368 Switch to using oslo.utils
e55e677 Use custom transport adapter for file URLs
1c2987b getText can be called only when doc is not None
def85dd Updated from global requirements
80057e4 Add unit test for suds cache expiration
a3e493a Add a memory based shared cache
6a72bf1 Updated from global requirements
4bd0b4c VMware: Enable vCenter SSL certificate validation


For more details, please see the git log history below or http://git.openstack.org/cgit/openstack/oslo.vmware/log/

Please report issues through launchpad: https://launchpad.net/oslo.vmware

----

$ git log --no-merges 0.6.0..0.7.0

commit 1661a0af8ce14edbfb00fed0a30a3b9135517d93
Author: OpenStack Proposal Bot <openstack-infra at lists.openstack.org>
Date:   Wed Nov 5 08:35:10 2014 +0000

    Updated from global requirements
    
    Change-Id: I88286d9ef8ff5fc5210a9ed87bacffd60ff78a56

commit 33f60020b7b476e07edbf8fa40e755887ce66f2a
Author: OpenStack Proposal Bot <openstack-infra at lists.openstack.org>
Date:   Sun Nov 2 06:08:05 2014 +0000

    Imported Translations from Transifex
    
    For more information about this automatic import see:
    https://wiki.openstack.org/wiki/Translations/Infrastructure
    
    Change-Id: I2edec2f04103684b48e37e3d3cbf52756c7ae6a8

commit 8b1f97bc7e36b4c3bf85fb6c92b7481e6845f470
Author: Arnaud Legendre <arnaudleg at gmail.com>
Date:   Wed Oct 22 16:56:53 2014 -0700

    Do not log when reraising an exception
    
    It should be up to the caller to use the log level error
    when the exception is reraised. For example, if the call
    to a VIM api fails, _poll_task is currently throwing a big
    red block even if the caller ignores the exception.
    
    This patch removes the logging from _poll_task.
    
    Change-Id: I5bceb41c9a24dca45ff8689daee0eeafa7da839c

commit 575fd70985b5d21dbbe36efc317d9b0a0256d990
Author: OpenStack Proposal Bot <openstack-infra at lists.openstack.org>
Date:   Tue Oct 28 06:08:32 2014 +0000

    Imported Translations from Transifex
    
    For more information about this automatic import see:
    https://wiki.openstack.org/wiki/Translations/Infrastructure
    
    Change-Id: I376cde927d248be21354cee58e43bce78dec8832

commit 0b7ff54050e2e6565c9e8a3b71b41155524527d4
Author: OpenStack Proposal Bot <openstack-infra at lists.openstack.org>
Date:   Mon Oct 27 12:21:13 2014 +0000

    Updated from global requirements
    
    Change-Id: Id3da9d10632b68df8017d4f3dc69cec6ff2f1eb1

commit 8ed3d5308aae453c9f5ed3cd543e91dbf7c4dd9b
Author: Vipin Balachandran <vbala at vmware.com>
Date:   Tue Oct 14 17:30:48 2014 +0530

    Add unit test for VC 5.1 web fault handling
    
    This patch adds unit test for web fault raised by vCenter 5.1.
    
    Change-Id: I6879dcb50db919386facd81d3ba5e7b133f75397

commit 776c20d96845c602ed60aea0962c6bb190fa67a5
Author: Arnaud Legendre <arnaudleg at gmail.com>
Date:   Mon Oct 13 17:34:32 2014 -0700

    Fix to get exception detail with vCenter 5.1
    
    The current child path used '/detail' is not compatible with
    vCenter 5.1.
    
    This patch adds a lookup to '/Envelope/Body/Fault/detail' to make
    sure we get the detail of the exception.
    
    Change-Id: Id5ca2d87a7cba8b531a4c54111505e72c70df021

commit 62d0ba719d7dde8507f558a95a3a8844445f5655
Author: Arnaud Legendre <arnaudleg at gmail.com>
Date:   Wed Sep 17 13:56:12 2014 -0700

    Download image API to bypass vCenter
    
    This patch introduces a new API to download images. This new API
    provides a new signature which gives the ability to bypass vCenter
    when downloading images.
    
    Change-Id: Id3cf3f03e1d0622a99573bd090b8ea6b397765e0

commit 6aa427d733b6ac215477f99ffd6727f4f8b9063a
Author: OpenStack Proposal Bot <openstack-infra at lists.openstack.org>
Date:   Mon Oct 13 18:50:38 2014 +0000

    Updated from global requirements
    
    Change-Id: Id7ac4a6fda3eb2701ab372ce63cfc4f697edced4

commit 84a39fb46b63dc07d9387518cf4e673d6ef8d46b
Author: OpenStack Proposal Bot <openstack-infra at lists.openstack.org>
Date:   Sat Oct 11 15:56:20 2014 +0000

    Updated from global requirements
    
    Change-Id: Iea56589abd2f4a764bbd22fc92fb3d2a9189d276

commit e25af91e2a5a58b8568da6c0e03c4c87cadf09b3
Author: Gary Kotton <gkotton at vmware.com>
Date:   Mon Aug 18 04:58:10 2014 -0700

    Enable the PBM WSDL to be updated
    
    Enables the PBM WSDL to be updated after a session is created.
    
    An update of the WSDL will set the pbm value to None. This is lazy loaded
    so the next access to it will result in the correct session being created.
    
    Change-Id: Id70a7928ca84846018ee0a62ac020ecbeac1f5d6

commit 9f6f2a333ba1fd71a11f0c26665ee627e3eefe98
Author: Davanum Srinivas <dims at linux.vnet.ibm.com>
Date:   Thu Oct 2 16:18:01 2014 -0400

    Support building wheels (PEP-427)
    
    Universal is used to identify pure-Python module(by bdist_wheel). For
    these, it is sufficient to build a wheel with _any_ Python ABI version
    and publish that to PyPI (by whatever means).
    
    Change-Id: I2f3b3a5f75aa8dbe4c40f3b9a1d0da43a4b1a0f1

commit 73d116001bccd243fc3394c189028447ee16e514
Author: Davanum Srinivas <dims at linux.vnet.ibm.com>
Date:   Sun Sep 21 18:13:37 2014 -0400

    Fixup autoindex.rst only if it exists
    
    Closes-Bug: #1370370
    
    Change-Id: I05638808b577db8e96e5b83aa8b5a9c47f8170c1

commit 42eab0c82f0ef17cd1e7dd54da2964b8eb19c660
Author: Radoslav Gerganov <rgerganov at vmware.com>
Date:   Mon Oct 6 15:40:27 2014 +0300

    Supress error logs when exception is thrown
    
    There are many cases when exceptions from the backend are expected and
    these exceptions must not be logged as errors. For example it is a
    common pattern to catch DuplicateName/AlreadyExists exceptions and
    ignore them in the cases when multiple threads are trying to perform the
    same operation. Currently there is no way for clients to prevent logging
    these exceptions as errors and the proper way to fix this is to just
    raise the exception in oslo and let the client decide if it must be
    logged as an error or not.
    
    Closes-Bug: #1377927
    Change-Id: I5309cad5b0eeb380387eb3051d80c59b783561e8

commit 2350257410610b6a0ebf9b28ab9fcddc5551ca87
Author: Radoslav Gerganov <rgerganov at vmware.com>
Date:   Fri Oct 3 17:17:39 2014 +0300

    Fix handling of fault details
    
    Fix regression caused by adding a new transport based on 'requests'
    in commit 4bd0b4cf. When a Fault message is returned from the backed,
    the 'Envelope' and 'Body' tags are stripped and the root element becomes
    'Fault'. The path to the 'detail' string becomes '/detail' instead of
    '/Envelope/Body/Fault/detail'. The stripping is done in:
    
    suds/bindings/binding.py#detect_fault()
    
    which was not executed when the old http transport was used.
    
    Change-Id: I1b99d37fdbcbf5ea05e4823e408468a06e230ccf

commit 759158933413c8d9721a47060b77e9d6e7758cf9
Author: Vipin Balachandran <vbala at vmware.com>
Date:   Wed Oct 1 14:21:29 2014 +0530

    Fix UnboundLocalError during WebFault handling
    
    If the document attribute of WebFault is unset, the 'detail' local
    variable will be referenced before assignment which results in
    UnboundLocalError. This patch fixes the problem by initializing
    'detail' to None.
    
    Change-Id: Icf17503f46eaa389b1f31dfffc84f21f69cde3aa
    Closes-Bug: #1376172

commit 89d01319c71a3a14edc1b29fa6aa55131242d0d3
Author: Vipin Balachandran <vbala at vmware.com>
Date:   Fri Sep 19 15:42:56 2014 +0530

    Use faultstring attribute in suds.WebFault.fault
    
    WebFault handling fails with AttributeError if there is no element at
    path '/Envelope/Body/Fault/faultstring'. This patch fixes the problem
    by using faultstring attribute in WebFault.fault.
    
    Closes-Bug: #1371547
    Change-Id: Ic61b22f833dd82f4c4e2d424f320526d1bd8eacd

commit 54455f2a0b5589af1d4e77a1987770f957991e0e
Author: OpenStack Proposal Bot <openstack-infra at lists.openstack.org>
Date:   Tue Sep 30 06:45:01 2014 +0000

    Imported Translations from Transifex
    
    Change-Id: I1ebf869aa3f4d723fdc0fb01c8c72eaa81b4f289

commit 95e84ebc8814f1cfb5a143837f778350b17ba55a
Author: Radoslav Gerganov <rgerganov at vmware.com>
Date:   Mon Sep 29 14:15:22 2014 +0300

    Fix the log message for progress
    
    The log message for progress throws TypeError because a mapping is
    expected. This patch fix the format string of the message.
    
    Change-Id: I9b9ec1f8ef9ead4371b7d58bd12a35ec7d486d6a

commit 264e428b4f2d1a987b884742228d3e78a61cca05
Author: Arnaud Legendre <alegendre at vmware.com>
Date:   Thu Sep 18 12:30:14 2014 -0700

    Add API to get the entity inventory path
    
    This new API provides the inventory path for a given entity reference.
    Currently, the Nova transfer of images feature fails if the datacenter
    is located in folders. This API has to be called prior to any HTTP
    access to datastores.
    
    Change-Id: I14066601816584689fb955927496d250ed825dc2

commit ee4d9c02d3a7f404aed967c6f9212da263b84c58
Author: James Carey <jecarey at us.ibm.com>
Date:   Wed Sep 17 15:52:53 2014 +0000

    VimExceptions need to support i18n objects
    
    When lazy is enabled the i18n translation object does not support
    str() which causes failures like:
      UnicodeError: Message objects do not support str() because they may
      contain non-ascii characters. Please use unicode() or translate()
      instead.
    
    Removed str() in __init__ and updated __str__ and __unicode__
    in VimException and VimFaultsException to correctly handle this object.
    Also updated a couple of test cases to use an i18n translation object.
    
    Closes-Bug: #1374210
    Change-Id: Id55b5deb5535ba5352b449a3b78099aa912a0b54

commit df59368f76eb56fdd64ff9dac23eed805a7f07c8
Author: Davanum Srinivas <dims at linux.vnet.ibm.com>
Date:   Thu Sep 25 11:55:30 2014 -0400

    Switch to using oslo.utils
    
    Change-Id: If97d1d95341db9fbc33f6824ff326ee3fc64d8ee

commit e55e677120d18e3204bc33570c9e4db916d27300
Author: Vipin Balachandran <vbala at vmware.com>
Date:   Thu Sep 18 19:02:53 2014 +0530

    Use custom transport adapter for file URLs
    
    The requests library doesn't support local file URLs. The PBM WSDL is
    stored locally and this affects all PBM API invocations. This patch
    fixes the problem by registering a custom transport adapter for local
    files.
    
    Closes-Bug: #1371575
    Change-Id: Ie0635607847061c68c879e87db8f2541436f03d6

commit 1c2987bc4cb19fd53299abb8783763042348a768
Author: Arnaud Legendre <arnaudleg at gmail.com>
Date:   Mon Sep 22 12:08:54 2014 -0700

    getText can be called only when doc is not None
    
    Add a check to make sure getText is executed only when doc is
    not None.
    Without this check, we can potentially get:
    AttributeError: 'NoneType' object has no attribute 'getText'
    
    Change-Id: I8e2abd3abf015733642419cb8a3b86aec09c929f

commit def85dd151ec70031a801913f06f88b998e580a2
Author: OpenStack Proposal Bot <openstack-infra at lists.openstack.org>
Date:   Fri Sep 19 08:51:12 2014 +0000

    Updated from global requirements
    
    Change-Id: I1ae5d64f89c0207a4e83cd18d7b281620520af57

commit 80057e4034aa4b2308d795aa46c12ddad7d19d4b
Author: Vipin Balachandran <vbala at vmware.com>
Date:   Wed Sep 17 18:45:36 2014 +0530

    Add unit test for suds cache expiration
    
    This patch adds a unit test for suds cache expiration case.
    
    Change-Id: Iad261107c904bb9a613decfeaf56061727b3f674

commit a3e493a96b904a1cfa342b78f89d57da98e34962
Author: Davanum Srinivas <dims at linux.vnet.ibm.com>
Date:   Fri Aug 22 10:28:35 2014 -0400

    Add a memory based shared cache
    
    Simple dictionary based shared cache to speed up not just
    a single set of nested wsdl/xsd(s) but also to share the
    same cache, so when the same initial wsdl is loaded again
    we still use the cached data from the previous wsdl load.
    We essentially take the hit on the first wsdl load and
    subsequent loads will be much faster. The cached items
    expire in an hour to both clean up memory as well as
    switch to newer wsdl/xsd(s) when the vCenter is upgraded
    without needed a forced restart of nova compute process.
    
    Change-Id: Ia2265f1f8ed5fe8b05770a5572f1516893b532a0

commit 6a72bf1342d2ebf12bd79b7943747681d5877d6e
Author: OpenStack Proposal Bot <openstack-infra at lists.openstack.org>
Date:   Sat Sep 13 07:27:49 2014 +0000

    Updated from global requirements
    
    Change-Id: Iac0539078c9e665cc17a4f316df8f945e2e55110

commit 4bd0b4cf7ab45f121aaedfdf55c77aa72bce8b38
Author: Davanum Srinivas <dims at linux.vnet.ibm.com>
Date:   Tue Sep 9 15:01:33 2014 -0400

    VMware: Enable vCenter SSL certificate validation
    
    During https/ssl communication the server certificate of
    a vCenter is not validated during https handshake process.
    This patch will enable the certificate validation against root
    certificate of the vCenter to validate the identity of that vCenter.
    Nova, Cinder etc will need to specify the cacert parameter
    for this to take effect.
    
    Ported from Id: Ic24951630698068321bb62d3098de8344a35c5d0
    
    Closes-Bug: #1276207
    Co-Authored-By: Johnson koil raj <johnson.raj at hp.com>
    Change-Id: I422e6d4df4e392334c0ce47e6f5b017a8c95f61a




More information about the OpenStack-dev mailing list