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.
Reviewed: https:/ /review. openstack. org/602133 /git.openstack. org/cgit/ openstack/ stx-config/ commit/ ?id=d2dcb9882c1 bcfe1c7eea1e1b0 a45ef3fab633eb
Committed: https:/
Submitter: Zuul
Branch: master
commit d2dcb9882c1bcfe 1c7eea1e1b0a45e f3fab633eb
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" apply_runtime_ manifests( ) apply_runtime_ manifests is looping (max 300s) apply_runtime_ manifests( ) is running
adds mutex between config_
and agent_audit() however:
1. config_
waiting for self._mgmt_ip to be set
2. agent_audit() is setting self._mgmt_ip but can't run
because config_
Move retry logic on self._mgmt_ip outside of apply_runtime_ manifests( ) so agent_audit()
config_
can run.
Change-Id: I3b1e2ebdaa684f a16e21662fb703d ffffa70abe3
Closes-Bug: #1790159