Skip to content

Commit

Permalink
rpk tuning: allow clocksource to fail
Browse files Browse the repository at this point in the history
clocksource isn't available on Azure nor on ARM.

As follow up, we should figure out which clocksource to actually use,
but for now we can just allow failure.

Closes #6290
  • Loading branch information
twmb committed Sep 17, 2022
1 parent 9a14ffe commit 99a9c49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/go/rpk/pkg/cli/cmd/redpanda/tune/tune.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,8 @@ func tune(
results = append(results, result{tunerName, false, enabled, supported, reason})
// We exit with code 1 when it's enabled and not supported except
// for disk_write_cache since it's only supported for GCP.
exit1 = exit1 || enabled && !supported && tunerName != "disk_write_cache"
// We also allow clocksource to fail, see #6444.
exit1 = exit1 || enabled && !supported && !(tunerName == "disk_write_cache" || tunerName == "clocksource")
continue
}
log.Debugf("Tuner parameters %+v", params)
Expand Down

0 comments on commit 99a9c49

Please sign in to comment.