juju bootstrap failed - cannot initiate replica set: cannot get replica set status: can't get local.system.replset config from self or any seed (EMPTYCONFIG)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
New
|
Undecided
|
Unassigned |
Bug Description
This is a failure to bootstrap in one of our build. This happens with juju 1.23.3.
From the console.txt:
Attempt 1 to download tools from https:/
tools from https:/
007c62a742c974c
2015-06-17 05:38:10 INFO juju.cmd supercommand.go:37 running jujud [1.23.3-
2015-06-17 05:38:10 INFO juju.network network.go:194 setting prefer-ipv6 to false
2015-06-17 05:38:11 INFO juju.agent identity.go:22 writing system identity file
2015-06-17 05:38:11 INFO juju.mongo mongo.go:172 Ensuring mongo server is running; data directory /var/lib/juju; port 37017
2015-06-17 05:38:11 INFO juju.mongo mongo.go:311 installing juju-mongodb
2015-06-17 05:38:11 INFO juju.utils.apt apt.go:143 Running: [apt-get --option=
2015-06-17 05:38:14 INFO juju.mongo open.go:125 dialled mongo successfully on address "127.0.0.1:37017"
2015-06-17 05:38:14 INFO juju.replicaset replicaset.go:73 Initiating replicaset with config replicaset.
2015-06-17 05:38:17 WARNING juju.replicaset replicaset.go:93 Initiate: fetching replication status failed: cannot get replica set status: can't get local.system.
2015-06-17 05:38:17 WARNING juju.replicaset replicaset.go:93 Initiate: fetching replication status failed: cannot get replica set status: can't get local.system.
2015-06-17 05:38:18 WARNING juju.replicaset replicaset.go:93 Initiate: fetching replication status failed: cannot get replica set status: can't get local.system.
2015-06-17 05:38:18 INFO juju.mongo open.go:125 dialled mongo successfully on address "127.0.0.1:37017"
2015-06-17 05:38:18 WARNING juju.replicaset replicaset.go:93 Initiate: fetching replication status failed: cannot get replica set status: can't get local.system.
2015-06-17 05:38:19 WARNING juju.replicaset replicaset.go:93 Initiate: fetching replication status failed: cannot get replica set
.......
2015-06-17 05:39:36 WARNING juju.replicaset replicaset.go:93 Initiate: fetching replication status failed: cannot get replica set status: can't get local.system.
2015-06-17 05:39:37 WARNING juju.replicaset replicaset.go:93 Initiate: fetching replication status failed: cannot get replica set status: can't get local.system.
2015-06-17 05:39:37 WARNING juju.replicaset replicaset.go:93 Initiate: fetching replication status failed: cannot get replica set status: can't get local.system.
2015-06-17 05:39:38 WARNING juju.replicaset replicaset.go:93 Initiate: fetching replication status failed: cannot get replica set status: can't get local.system.
2015-06-17 05:39:38 INFO juju.worker.
2015-06-17 05:39:38 ERROR juju.cmd supercommand.go:430 cannot initiate replica set: cannot get replica set status: can't get local.system.
ERROR failed to bootstrap environment: subprocess encountered error code 1
2015-06-17 05:39:39,077 [ERROR] oil_ci.juju.client: Calling "juju bootstrap" failed!
I am attaching entire log which is quite large.