Ensure apt operations have retries

Bug #1749680 reported by Hugh Saunders
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-ansible
In Progress
Wishlist
Hugh Saunders

Bug Description

Apt operations are inherently unreliable as they involve network communication and external servers. Most apt operations are already retried, but some remain single shot, such as https://github.com/openstack/openstack-ansible-galera_client/blob/master/tasks/galera_client_install_apt.yml#L18

We should ensure that all apt operations within OSA repos have retries.

Revision history for this message
Jean-Philippe Evrard (jean-philippe-evrard) wrote :

Good catch!

Revision history for this message
Hugh Saunders (hughsaunders) wrote :

Proposed ansible lint rule to tackle this: https://github.com/willthames/ansible-lint/pull/324

Revision history for this message
Hugh Saunders (hughsaunders) wrote :

Note to self: OSA ships rules in https://github.com/openstack/openstack-ansible-tests/tree/master/ansible-lint, if the upstream PR is rejected, the rule could be proposed to OSA.

Changed in openstack-ansible:
status: New → Confirmed
importance: Undecided → Wishlist
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-tests (master)

Fix proposed to branch: master
Review: https://review.openstack.org/547432

Changed in openstack-ansible:
assignee: nobody → Hugh Saunders (hughsaunders)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on openstack-ansible-tests (master)

Change abandoned by "Marc Gariépy <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/openstack-ansible-tests/+/547432
Reason: was merged upstream.

https://github.com/ansible/ansible-lint/pull/400/commits/c95989f5bf11d527638d97375996757e32f0596a

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.