Comment 30 for bug 1750656

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-pip_install (stable/pike)

Reviewed: https://review.openstack.org/547021
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-pip_install/commit/?id=c68db4e674e744f4e75841de801731f3de5da8fa
Submitter: Zuul
Branch: stable/pike

commit c68db4e674e744f4e75841de801731f3de5da8fa
Author: Jesse Pretorius <email address hidden>
Date: Thu Feb 22 15:00:41 2018 +0000

    Fix cache update after initial apt_repository fail

    If apt_repository fails to update the apt cache after updating the
    configuration, retries don't register there was a change and so no
    attempt is made to update the cache by the module on the second attempt.
    This failure can result in a failure to install packages.

    This change adds an apt module task to update the cache if the
    apt_repository task registers a change. This means updating the cache
    will get retried on failure and no longer fail silently.

    Change-Id: I3a346bec7b5656d780416054fbaa6e322b6216f2
    Partial-Bug: #1750656