commit 136f63995268d8c41c5cf651ec97e37dc156f49e
Author: Dan Voiculeasa <email address hidden>
Date: Tue May 11 17:04:01 2021 +0000
Armada: Fix tiller stuck connecting to postgres database
Tiller may start executing before IPv6 network is fully initialized.
This will result in tiller not being fully functional.
The liveness probe will detect that tiller didn't start properly and
restart it. But this might happen an unlimited number of times in a row.
Wait until ping is succesful to the ip of the postgres database.
This ensures that networking finished setting up.
Credits to Cole Walker <email address hidden> for proposing the
idea.
Depends-On: I177bb628497611eb64472291a04d635856c26590
Closes-Bug: 1928141
Signed-off-by: Dan Voiculeasa <email address hidden>
Change-Id: I9c5be3f30fad2650e6aa53fb80ef44f7798813ed
(cherry picked from commit 764cac1642a8820d169576da3d8d886449d3cf73)
Reviewed: https:/ /review. opendev. org/c/starlingx /integ/ +/791778 /opendev. org/starlingx/ integ/commit/ 136f63995268d8c 41c5cf651ec97e3 7dc156f49e
Committed: https:/
Submitter: "Zuul (22348)"
Branch: r/stx.5.0
commit 136f63995268d8c 41c5cf651ec97e3 7dc156f49e
Author: Dan Voiculeasa <email address hidden>
Date: Tue May 11 17:04:01 2021 +0000
Armada: Fix tiller stuck connecting to postgres database
Tiller may start executing before IPv6 network is fully initialized.
This will result in tiller not being fully functional.
The liveness probe will detect that tiller didn't start properly and
restart it. But this might happen an unlimited number of times in a row.
Wait until ping is succesful to the ip of the postgres database.
This ensures that networking finished setting up.
Credits to Cole Walker <email address hidden> for proposing the
idea.
Depends-On: I177bb628497611 eb64472291a04d6 35856c26590 50e6aa53fb80ef4 4f7798813ed d169576da3d8d88 6449d3cf73)
Closes-Bug: 1928141
Signed-off-by: Dan Voiculeasa <email address hidden>
Change-Id: I9c5be3f30fad26
(cherry picked from commit 764cac1642a8820