Skip to content

Commit 4db0235

Browse files
Fix etcd health check: use curl instead of etcdctl
etcdctl is not bundled in gcr.io/etcd-development/etcd:v3.5.21 image. Switch health check to use curl against the /health HTTP endpoint. Signed-off-by: Aishwarya2001A <aaishwar@progress.com>
1 parent c82b349 commit 4db0235

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
env:
3737
ETCD_LISTEN_CLIENT_URLS: http://0.0.0.0:2379
3838
ETCD_ADVERTISE_CLIENT_URLS: http://0.0.0.0:2379
39-
options: --health-cmd "ETCDCTL_API=3 etcdctl --endpoints http://localhost:2379 endpoint health" --health-interval 10s --health-timeout 5s --health-retries 5
39+
options: --health-cmd "curl -f http://localhost:2379/health" --health-interval 10s --health-timeout 5s --health-retries 5
4040

4141
keystone:
4242
image: openio/openstack-keystone:pike

0 commit comments

Comments
 (0)