Sometimes messages to Zaqar fail with with the following error.
> Error response from Zaqar. Code: 503. Title: Service temporarily
> unavailable. Description: Messages could not be enqueued. Please
> try again in a few seconds..
When this happens we should retry as it states. This change has
the task retry calling the queue_post action a maximum of 5 times
with a 1 second delay between each attempt.
Reviewed: https:/ /review. openstack. org/377827 /git.openstack. org/cgit/ openstack/ tripleo- common/ commit/ ?id=7ee66120acf 48a069905aacd8e 92367bd47ac11b
Committed: https:/
Submitter: Jenkins
Branch: master
commit 7ee66120acf48a0 69905aacd8e9236 7bd47ac11b
Author: Dougal Matthews <email address hidden>
Date: Tue Sep 27 17:07:57 2016 +0100
Retry sending messages to Zaqar if it fails
Sometimes messages to Zaqar fail with with the following error.
> Error response from Zaqar. Code: 503. Title: Service temporarily
> unavailable. Description: Messages could not be enqueued. Please
> try again in a few seconds..
When this happens we should retry as it states. This change has
the task retry calling the queue_post action a maximum of 5 times
with a 1 second delay between each attempt.
Closes-Bug: #1626103 ebc5122fc47764d bf81925bc62
Change-Id: Iba272004a8adb7