Script is hanging when ansible task failed

Bug #1880851 reported by Sagi (Sergey) Shnaidman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Sagi (Sergey) Shnaidman

Bug Description

When tripleoclient runs the Ansible playbook of introspection and it fails, the client doesn't exit but holding on the job until timeout of job.
Example:

https://logserver.rdoproject.org/52/731052/1/openstack-check/tripleo-ci-centos-8-ovb-3ctlr_1comp-featureset001/28b4996/logs/undercloud/home/zuul/overcloud_introspect.log.txt.gz

tags: added: train-backport-potential
tags: added: ussuri-backport-potential
removed: train-backport-potential
Revision history for this message
Sagi (Sergey) Shnaidman (sshnaidm) wrote :
summary: - Tripleoclient is hanging when ansible task failed
+ Script is hanging when ansible task failed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-quickstart-extras (master)

Fix proposed to branch: master
Review: https://review.opendev.org/734798

Changed in tripleo:
assignee: nobody → Sagi (Sergey) Shnaidman (sshnaidm)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-quickstart-extras (master)

Reviewed: https://review.opendev.org/734798
Committed: https://git.openstack.org/cgit/openstack/tripleo-quickstart-extras/commit/?id=daa2b6be47ee03213877e79664aa0ff87dad7659
Submitter: Zuul
Branch: master

commit daa2b6be47ee03213877e79664aa0ff87dad7659
Author: Sagi Shnaidman <email address hidden>
Date: Wed Jun 10 14:18:39 2020 +0300

    Run tcpdump separately from introspection

    There are various issues with stopping tcpdump in shell script
    in background so it won't affect other commands. Also for
    moving to operators we need to separate these steps.
    Run tcpdump in a different task.

    Closes-Bug: #1880851

    Change-Id: I38dc2a53c6bb56eaa916e84798dcd3c0fac3fa1a

Changed in tripleo:
status: In Progress → Fix Released
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.