-
Notifications
You must be signed in to change notification settings - Fork 219
ETCD Fails to start #367
Comments
@rmenn When using self-hosted etcd there should be no service file on the host (everything is run as a pod - including etcd). This PR #350 (should be merged shortly) allows launching self-hosted etcd clusters using the hack/quickstart examples - might be a good place to start from? Unfortunately we haven't started documenting much of this (and I apologize for that) - some doc related tracking issues: |
@aaronlevy i get the problems addressed by #350 but am i am still at wits end why etcd isnt accepting environment variables to start up, regardless of the face if i am using the self hosted version or not. Please let me know if i am rolling out something which shouldnt, the etcd errors are quite beyond me |
@rmenn: The issue your having is in regards then to running a etcd node manually on the host? Are you placing that config as a drop-in under |
I am using the latest stable and passing the config via cloud config the environment variables are passed via cloud config as well. |
Thats very odd, my best guess would be a subtle error in your cloud-config yaml or possibly existing drop-ins sitting around on-disk. Just taking a stab in the dark here. Maybe you can post the entire cloud-config yaml here? Here is an example: https://github.com/kubernetes-incubator/bootkube/blob/master/hack/multi-node/etcd-cloud-config.yaml Also, it has an error about |
Here is the cloud config |
@rmenn You shouldn't use If you're "bringing your own etcd" - then it could be started via systemd (or otherwise). But if you're testing self-hosted etcd - it is expected to run in the cluster as pods (not on the host) and bootkube/etcd-operator should manage that for you. |
@aaronlevy i realized my mistake a day ago, i should have closed this out. But still curious why the errors showed up. But can confirm that the errors dont show up when i use the self hosted and not supply the systemd config for etcd. |
I have the following error when i try and bring up a self hosted etcd cluster
Here is the config
I am passing both
ETCD_ADVERTISE_CLIENT_URLS
andETCD_LISTEN_CLIENT_URLS
as required but as in the logs it isnt recognizing and picking upETCD_ADVERTISE_CLIENT_URLS
.The text was updated successfully, but these errors were encountered: