Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unclear error when trying to boostrap without prior init #3909

Closed
knz opened this issue Jan 17, 2016 · 6 comments
Closed

Unclear error when trying to boostrap without prior init #3909

knz opened this issue Jan 17, 2016 · 6 comments
Assignees

Comments

@knz
Copy link
Contributor

knz commented Jan 17, 2016

This is a followup to #3883. After upgrading to ae2807b and starting with (as per README): --gossip=NODE1:26257,NODE2,26257,... I get:

I0117 17:11:26.081857 22348 gossip/gossip.go:911  starting client to 54.164.25.39:26257
I0117 17:11:26.081937 22348 storage/engine/rocksdb.go:106  opening rocksdb instance at "data"
W0117 17:11:26.083304 22348 rpc/client.go:320  rpc/codec/tls.go:62: unexpected HTTP response: 404 Not Found
I0117 17:11:26.164753 22348 server/node.go:280  store store=0:0 ([ssd]=data) not bootstrapped
I0117 17:11:26.164793 22348 gossip/gossip.go:267  read 0 gossip host(s) for bootstrapping from persistent storage
I0117 17:11:26.164808 22348 server/node.go:389  connecting to gossip network to verify cluster ID...
I0117 17:11:27.082166 22348 gossip/gossip.go:911  starting client to 54.152.118.20:26257
W0117 17:11:27.083761 22348 rpc/client.go:320  rpc/codec/tls.go:62: unexpected HTTP response: 404 Not Found
W0117 17:11:27.118872 22348 rpc/client.go:320  rpc/codec/tls.go:62: unexpected HTTP response: 404 Not Found
W0117 17:11:28.070934 22348 rpc/client.go:320  rpc/codec/tls.go:62: unexpected HTTP response: 404 Not Found

I also tried with --gossip=tcp=NODE:26257 and with http but to no avail.

@knz
Copy link
Contributor Author

knz commented Jan 19, 2016

Ok found the cause of the error: none of the nodes had been initialized, so there was no gossiping information to exchange in the first place.

Perhaps the message should be changed to: "no data available: either this peer has not joined the cluster yet or none of the peers was initialized"

@spencerkimball what do you think?

@knz knz changed the title Cannot start gossiping across a cluster according to documentation Unclear error when trying to boostrap without prior init Jan 19, 2016
@vivekmenezes
Copy link
Contributor

Looks like this should be a "uninitialized node failure". What exactly did
you forget to configure? Please do create an issue for it. Thanks

On Tue, Jan 19, 2016 at 11:51 AM kena notifications@github.com wrote:

Ok found the cause of the error: none of the nodes had been initialized,
so there was no gossiping information to exchange in the first place.

Perhaps the message should be changed to: "no data available: either this
peer has not joined the cluster yet or none of the peers was initialized"

@spencerkimball https://github.com/spencerkimball what do you think?


Reply to this email directly or view it on GitHub
#3909 (comment)
.

@spencerkimball
Copy link
Member

Need to track down why we're getting the 404 error. I'll take this issue.

@spencerkimball spencerkimball self-assigned this Jan 19, 2016
@knz
Copy link
Contributor Author

knz commented Jan 19, 2016

@vivekmenezes I was attempting to run start wihout running init first.

@vivekmenezes
Copy link
Contributor

Thanks for reporting it!

On Tue, Jan 19, 2016, 6:22 PM kena notifications@github.com wrote:

@vivekmenezes https://github.com/vivekmenezes I was attempting to run
start wihout running init first.


Reply to this email directly or view it on GitHub
#3909 (comment)
.

@knz
Copy link
Contributor Author

knz commented Feb 7, 2016

Fixed by #4027.

@knz knz closed this as completed Feb 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants