wait_for module hang for a long time if the port is opened during precheck

Bug #1688152 reported by Jeffrey Zhang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Undecided
Jeffrey Zhang
Ocata
Fix Released
Undecided
Unassigned

Bug Description

wait_for has a timeout parameter with 300 as default value, which will make the task wait 300 seconds for the port started or stopped. it is useless for precheck. need change timeout to the minimum value: 1

Changed in kolla-ansible:
milestone: none → pike-2
assignee: nobody → Jeffrey Zhang (jeffrey4l)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master)

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

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

Reviewed: https://review.openstack.org/462332
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=b1f015616c4c7fd9a89dc07365c7cc025705071c
Submitter: Jenkins
Branch: master

commit b1f015616c4c7fd9a89dc07365c7cc025705071c
Author: Jeffrey Zhang <email address hidden>
Date: Thu May 4 08:52:57 2017 +0800

    Add timeout parameter for precheck tasks

    wait_for module waits 300 seconds for the port started or stopped. This
    is meaningless and useless in precheck. This patch change timeout to 1
    seconds.

    Change-Id: I9b251ec4ba17ce446655917e8ef5e152ef947298
    Closes-Bug: #1688152

Changed in kolla-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 5.0.0.0b2

This issue was fixed in the openstack/kolla-ansible 5.0.0.0b2 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/ocata)

Reviewed: https://review.openstack.org/473205
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=251dcd4a477e6ad7f3dfc1fe5d88f158a263d001
Submitter: Jenkins
Branch: stable/ocata

commit 251dcd4a477e6ad7f3dfc1fe5d88f158a263d001
Author: Jeffrey Zhang <email address hidden>
Date: Thu May 4 08:52:57 2017 +0800

    Add timeout parameter for precheck tasks

    wait_for module waits 300 seconds for the port started or stopped. This
    is meaningless and useless in precheck. This patch change timeout to 1
    seconds.

    Change-Id: I9b251ec4ba17ce446655917e8ef5e152ef947298
    Closes-Bug: #1688152
    (cherry picked from commit b1f015616c4c7fd9a89dc07365c7cc025705071c)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 4.0.2

This issue was fixed in the openstack/kolla-ansible 4.0.2 release.

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.