Skip to content

Commit

Permalink
[PLT-339] Clusterctl move management retries are not working (#569)
Browse files Browse the repository at this point in the history
* Fix Clusterctl move management retries on dial tcp

* Add Changelog information

* change date format

* change date format

---------

Co-authored-by: dandres-stratio <[email protected]>
  • Loading branch information
iamjanr and dandres-stratio authored Jun 21, 2024
1 parent 3cc1bbd commit 8ee8a74
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Changelog

## 0.17.0-0.5.1 (2024-06-19)
## 0.17.0-0.5.1 (upcoming)

* [Core] Ensure that keoscluster exists in the upgrade script
* [Core] Fix clusterctl move retries

## 0.17.0-0.5.0 (2024-06-10)

Expand Down
2 changes: 1 addition & 1 deletion pkg/commons/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ func ExecuteCommand(n nodes.Node, command string, timeout int, envVars ...[]stri
if len(envVars) > 0 {
cmd.SetEnv(envVars[0]...)
}
retryConditions := []string{"dial tcp: lookup", "NotFound", "timed out waiting"}
retryConditions := []string{"dial tcp", "NotFound", "timed out waiting"}
provisionCommands := strings.Contains(command, "kubectl") || strings.Contains(command, "helm") || strings.Contains(command, "clusterctl")
for i := 0; i < 3; i++ {
raw = bytes.Buffer{}
Expand Down

0 comments on commit 8ee8a74

Please sign in to comment.