Comment 3 for bug 1420312

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-ansible-deployment (juno)

Reviewed: https://review.openstack.org/156628
Committed: https://git.openstack.org/cgit/stackforge/os-ansible-deployment/commit/?id=8513dd167e5100ace741900c1e191511ecf5954d
Submitter: Jenkins
Branch: juno

commit 8513dd167e5100ace741900c1e191511ecf5954d
Author: git-harry <email address hidden>
Date: Tue Feb 10 14:33:14 2015 +0000

    Remove ImportError handling in dynamic_inventory

    The import of netaddr any yaml is done within a try/except block. If an
    ImportError occurs an error message is printed and the script ignores
    it. Ansible does not display the printed message and the script will
    still fail, just later on.

    This commit removes the exception handling so that if there is an
    ImportError the script will fail straight away.

    Change-Id: Iff935db62bde954ac4ff0b920409c18dd494bdff
    Closes-Bug: #1420312
    (cherry picked from commit de32ddca574150806c4dbb9a47930b0b6d1196f0)