Add --force-new-cluster when running etcd for migrations.

This is required to avoid etcd trying to create quorum during
migrations.
This commit is contained in:
Matt Liggett 2016-11-15 15:34:46 -08:00
parent 424a0e9e82
commit cc7c142011

View File

@ -120,6 +120,7 @@ start_etcd() {
${ETCD_CMD} \
--name="etcd-$(hostname)" \
--debug \
--force-new-cluster \
--data-dir=${DATA_DIRECTORY} \
--listen-client-urls http://127.0.0.1:${ETCD_PORT} \
--advertise-client-urls http://127.0.0.1:${ETCD_PORT} \