Comment 5 for bug 1790159

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to stx-config (master)

Reviewed: https://review.openstack.org/602133
Committed: https://git.openstack.org/cgit/openstack/stx-config/commit/?id=d2dcb9882c1bcfe1c7eea1e1b0a45ef3fab633eb
Submitter: Zuul
Branch: master

commit d2dcb9882c1bcfe1c7eea1e1b0a45ef3fab633eb
Author: Daniel Badea <email address hidden>
Date: Wed Sep 12 14:36:22 2018 +0000

    apply runtime manifest deadlock waiting for management ip

    Fix for "partition deleted immediately after creation"
    adds mutex between config_apply_runtime_manifests()
    and agent_audit() however:
    1. config_apply_runtime_manifests is looping (max 300s)
       waiting for self._mgmt_ip to be set
    2. agent_audit() is setting self._mgmt_ip but can't run
       because config_apply_runtime_manifests() is running

    Move retry logic on self._mgmt_ip outside of
    config_apply_runtime_manifests() so agent_audit()
    can run.

    Change-Id: I3b1e2ebdaa684fa16e21662fb703dffffa70abe3
    Closes-Bug: #1790159