cloudfoundry-attic / etcd-release

Apache License 2.0
3 stars 17 forks source link

unbound variable in logs #45

Open alex-slynko opened 7 years ago

alex-slynko commented 7 years ago

In https://github.com/cloudfoundry-incubator/etcd-release/blob/master/jobs/etcd/templates/etcd_network_diagnostics_run.sh.erb#L39-L44

echo ${cluster_members} is used, but $cluster_members is not defined.

This is the output from logs

+ echo Tue Aug 1 09:12:03 UTC 2017 - Individually query all members
++ sed 's/,/ /g'
/var/vcap/jobs/etcd/bin/etcd_network_diagnostics_run.sh: line 39: cluster_members: unbound variable
+ debug 'arp cache'

We think this might hide bigger error, since querying all members is skipped.

cf-gitbot commented 7 years ago

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/149840046

The labels on this github issue will be updated when the story is started.