discovery.etcd.io icon indicating copy to clipboard operation
discovery.etcd.io copied to clipboard

`discovery: bad discovery endpoint` Unable to GET token

Open mikesimos opened this issue 5 years ago • 5 comments

I 'm getting discovery: bad discovery endpoint errors on two existing discovery endpoints. A get request to the discovery url yields: 400 (Bad Request) Unable to GET token However, I was able to create new discovery endpoints that work as expected. Any known issues?

mikesimos avatar Apr 18 '19 14:04 mikesimos

I'm reporting here same problem. Cannot access discovery.io and new machines are not able to join the cluster.

colonha avatar Apr 23 '19 15:04 colonha

Same issue here right now. Did anything change recently?

Flygsand avatar May 13 '19 09:05 Flygsand

Looks like CoreOS (Redhat) updated the API to a newest version removing some features (Like DELETE) and remove some (Not sure if all) exiting keys.

Since I was using these removed features I decided to build a private etcd discovery service by myself.

colonha avatar May 13 '19 13:05 colonha

/cc @philips I think this may be related to the current ongoing work for https://github.com/etcd-io/discovery.etcd.io.

lucab avatar May 13 '19 13:05 lucab

The discovery service did change. See https://groups.google.com/forum/#!topic/etcd-dev/q-pN4PiGY_o

Unfortunately we had to delete all existing tokens in the migration. However, discovery tokens should only be used for initial boot strapping and were periodically deleted in the past. So, I am surprised to hear there are issues.

The new discovery.etcd.io code base is in a PR here https://github.com/etcd-io/etcd/pull/10627/ and if you are having issues please file a detailed issue on https://github.com/etcd-io/discovery.etcd.io.

@colonha In particular I would be interested to hear what API calls you were using exactly. My intention was not to break the existing API but I ported it to a new backend so it is possible something not covered by a test broke.

philips avatar May 13 '19 19:05 philips