Comment 10 for bug 1653737

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-astute (stable/mitaka)

Reviewed: https://review.openstack.org/417359
Committed: https://git.openstack.org/cgit/openstack/fuel-astute/commit/?id=1b2bf8eaeec647cb1810347ebd4bdf96b0055c8e
Submitter: Jenkins
Branch: stable/mitaka

commit 1b2bf8eaeec647cb1810347ebd4bdf96b0055c8e
Author: Vladimir Sharshov (warpc) <email address hidden>
Date: Fri Dec 30 14:11:36 2016 +0300

    Network problem tolerance puppet status check

    Connection between node and Astute can be lost some
    times, so we need more tries to get info about task
    status on node.

    Two changes:

    - instead of 1 try Astute will run 6 tries with 10
    timeout for every attempt;
    - it will process such behavior for puppet using separately
      retries: puppet_undefined_retries

    Instead of full puppet retry status retry is safety because
    it is idempotent.

    Puppet undefined retries can be setup using Astute config
    or sending undefined_retries in puppet task parameters same
    way as for usual retries. Most important thing: it will refresh
    to original value every time when Astute get defined answer.

    Change-Id: Ie86576a3400be5a6b11041c8e6acf89abf3bbd51
    Related-Bug: #1653210
    Closes-Bug: #1653737
    (cherry picked from commit 7c0485eb1a8c75a57936eaecce935091659429e9)