Apt package installs fail intermittently.

Bug #1421238 reported by git-harry
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-ansible
Icehouse
Fix Released
Medium
Jesse Pretorius
Juno
Fix Released
Medium
git-harry

Bug Description

Package installs are prone to failure. Some apt tasks will retry on failure others do not. The tasks should be modified so they will all retry when necessary.

git-harry (git-harry)
Changed in openstack-ansible:
assignee: nobody → git-harry (git-harry)
Changed in openstack-ansible:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to os-ansible-deployment (juno)

Fix proposed to branch: juno
Review: https://review.openstack.org/156108

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on os-ansible-deployment (master)

Change abandoned by Kevin Carter (<email address hidden>) on branch: master
Review: https://review.openstack.org/155330
Reason: Because of the changes made to the structure of the repo and the impending changes to the roles this change no longer applies to master and has been abandoned. However, the change has been cherry-picked into juno @ https://review.openstack.org/#/c/156108/

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

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

commit 19f86f4c00099d5994d77a9fe8f431d9373b15a5
Author: git-harry <email address hidden>
Date: Thu Feb 12 14:10:17 2015 +0000

    Retry installing apt packages by default

    There are a number of tasks used to install apt packages. Some of the
    tasks will retry on failure and others will not. These tasks are
    susceptible to failure and so it makes sense that they retry if the
    task fails.

    This commit updates the apt tasks so that they all retry with the
    default retries and delay values of 3 and 5 respectively. In addition
    all the tasks will attempt to update the cache if it is older than
    600 seconds.

    Some of the apt tasks had the state set to latest, this has been
    changed to present because upgrades should be handled by specific
    upgrade tasks.

    Closes-Bug: #1421238
    Change-Id: I8c20c5c0a2ce87706a99734adcdf55c93efb405c

Changed in openstack-ansible:
milestone: none → next
importance: Undecided → Medium
no longer affects: openstack-ansible
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.