Shell tasks fail earlier than specified timeout

Bug #1641190 reported by Evgeniy L
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Evgeniy L

Bug Description

Detailed bug description:
 Using a plugin I can specify timeout for tasks with type shell, maximum timeout for such tasks is 300 seconds, even if timeout in the task is greater.
Steps to reproduce:
 Create a task with timeout 1000 seconds, for a long running task, which takes 500 seconds to complete.
Expected results:
 Task passes.
Actual result:
 Task fails.
Reproducibility:
 100%
Workaround:
 Make puppet tasks instead of shell.
Impact:
 May affect even non-custom installation.
Description of the environment:
 Released versions 9.2 and 10.0 are affected.

Revision history for this message
Evgeniy L (rustyrobot) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-astute (master)

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

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

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/400620

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-astute (master)

Reviewed: https://review.openstack.org/396767
Committed: https://git.openstack.org/cgit/openstack/fuel-astute/commit/?id=e4abca68270a6d0156fbf4cabd0cd5030c4b89b8
Submitter: Jenkins
Branch: master

commit e4abca68270a6d0156fbf4cabd0cd5030c4b89b8
Author: Evgeny L <email address hidden>
Date: Wed Nov 9 01:25:25 2016 +0000

    Set timeout for resource which is used to wrap shell tasks.

    Slow tasks fail, because default timeout for `exec` resource
    is 300 seconds. The patch passes timeout from the task to
    puppet wrapper.

    Closes-bug: #1641190
    Change-Id: I8f7c2120e61144911481c83b0da391e30bbc6f2f

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

Reviewed: https://review.openstack.org/395275
Committed: https://git.openstack.org/cgit/openstack/fuel-astute/commit/?id=199a67cb31ba03d43587f56ad76a556fffa4195f
Submitter: Jenkins
Branch: stable/mitaka

commit 199a67cb31ba03d43587f56ad76a556fffa4195f
Author: Evgeny L <email address hidden>
Date: Wed Nov 9 01:25:25 2016 +0000

    Set timeout for resource which is used to wrap shell tasks.

    Slow tasks fail, because default timeout for `exec` resource
    is 300 seconds. The patch passes timeout from the task to
    puppet wrapper.

    Closes-bug: #1641190
    Change-Id: I8f7c2120e61144911481c83b0da391e30bbc6f2f

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

Reviewed: https://review.openstack.org/400620
Committed: https://git.openstack.org/cgit/openstack/fuel-astute/commit/?id=e8e6a3bdb9c6e2a306045c47f1f83a11e4a9dfbf
Submitter: Jenkins
Branch: stable/newton

commit e8e6a3bdb9c6e2a306045c47f1f83a11e4a9dfbf
Author: Evgeny L <email address hidden>
Date: Wed Nov 9 01:25:25 2016 +0000

    Set timeout for resource which is used to wrap shell tasks.

    Slow tasks fail, because default timeout for `exec` resource
    is 300 seconds. The patch passes timeout from the task to
    puppet wrapper.

    Closes-bug: #1641190
    Change-Id: I8f7c2120e61144911481c83b0da391e30bbc6f2f

tags: added: in-stable-newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-astute 11.0.0.0rc1

This issue was fixed in the openstack/fuel-astute 11.0.0.0rc1 release candidate.

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.