Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

fix(store): block metadata start until confd runs #4117

Closed
wants to merge 1 commit into from

Conversation

carmstrong
Copy link
Contributor

We faced a race condition where the MDS could start and initialize
with an invalid keyring file, since it hadn't yet been templated
by confd.

closes #4115

We faced a race condition where the MDS could start and initialize
with an invalid keyring file, since it hadn't yet been templated
by confd.
@carmstrong carmstrong self-assigned this Jul 27, 2015
@carmstrong carmstrong added this to the v1.9 milestone Jul 27, 2015
@@ -47,6 +47,11 @@ if ! etcdctl --no-sync -C $ETCD get ${ETCD_PATH}/filesystemSetupComplete >/dev/n
fi
fi

until confd -onetime -node $ETCD --confdir /app --log-level error; do
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isn't this covered by lines 11-14? If that passes, the keyring file should be templated. Odd...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, came to the same conclusion a few minutes ago...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

store-metadata: mds.-1.0 ERROR: failed to authenticate: (1) Operation not permitted
2 participants