joyent fails to bootstrap due to missing shared-secret

Bug #1300877 reported by Aaron Bentley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Triaged
High
Unassigned

Bug Description

Joyent fails to bootstrap because port 37017 never opens:

2014-04-01 16:00:01 DEBUG juju.state open.go:101 connection failed, will retry: dial tcp 127.0.0.1:37017: connection refused
2014-04-01 16:00:02 ERROR juju.cmd supercommand.go:300 failed to initialize state: no reachable servers

Port 37017 never opens because /var/lib/juju-shared-secret is missing:

Apr 1 16:24:57 a7e8a5a6-0d83-e7e6-f992-c2887c6f7b44 mongod.37017[12721]: Tue Apr 1 16:24:57.871 error getting file /var/lib/juju/shared-secret: No such file or directory
Apr 1 16:24:57 a7e8a5a6-0d83-e7e6-f992-c2887c6f7b44 kernel: [ 275.665049] init: juju-db main process (12721) terminated with status 1

Revision history for this message
John A Meinel (jameinel) wrote :

This looks like it would have been caused by:
  2524 Andrew Wilkins 2014-04-01 [merge]
      [r=axwalk] Generate/set state serving info

      The bootstrap-state invocation of jujud is
      modified to generate a shared secret for the
      Mongo replicaset. This is stored in:
       $(datadir)/shared-secret.

      During state initialisation, state serving
      info (including the shared secret) is stored
      in state.

      https://codereview.appspot.com/83050045/

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.