juju 1.25.0: cannot initiate replica set: cannot dial mongo to initiate replicaset: no reachable servers

Bug #1536337 reported by Larry Michel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Autopilot Log Analyser
Fix Committed
Undecided
Andreas Hasenack
juju-core
Expired
Undecided
Unassigned

Bug Description

We're hitting these failures:

Reading package lists...
Building dependency tree...
Reading state information...
cloud-image-utils is already the newest version.
cloud-image-utils set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
tmux is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Attempt 1 to download tools from https://streams.canonical.com/juju/tools/releases/juju-1.25.0-trusty-amd64.tgz...
tools from https://streams.canonical.com/juju/tools/releases/juju-1.25.0-trusty-amd64.tgz downloaded: HTTP 200; time 4.093s; size 18672448 bytes; speed 4561922.000 bytes/s Tools downloaded successfully.
0419fcde2d571a00eddd0b2fb9e35f5102a9fd81cbecd4a2d0b648da7740eab3 /var/lib/juju/tools/1.25.0-trusty-amd64/tools.tar.gz
2016-01-19 14:36:45 INFO juju.cmd supercommand.go:37 running jujud [1.25.0-trusty-amd64 gc]
2016-01-19 14:36:45 INFO juju.network network.go:242 setting prefer-ipv6 to false
2016-01-19 14:36:45 INFO juju.agent identity.go:22 writing system identity file
2016-01-19 14:36:45 INFO juju.mongo mongo.go:175 Ensuring mongo server is running; data directory /var/lib/juju; port 37017
2016-01-19 14:36:45 INFO juju.mongo mongo.go:339 installing juju-mongodb
2016-01-19 14:36:45 INFO juju.utils.packaging.manager utils.go:57 Running: apt-get --option=Dpkg::Options::=--force-confold --option=Dpkg::options::=--force-unsafe-io --assume-yes --quiet install juju-mongodb
2016-01-19 14:44:33 INFO juju.worker.peergrouper initiate.go:78 finished MaybeInitiateMongoServer
2016-01-19 14:44:33 ERROR juju.cmd supercommand.go:429 cannot initiate replica set: cannot dial mongo to initiate replicaset: no reachable servers
ERROR failed to bootstrap environment: subprocess encountered error code 1
2016-01-19 14:44:34,309 [ERROR] oil_ci.juju.client: Calling "juju bootstrap" failed!

Failure is similar to bug 1423273 which was marked as invalid and bug 1355782.

These are automated builds and we don't currently collect /var/log/syslog

Tags: oil
Revision history for this message
Larry Michel (lmic) wrote :
Revision history for this message
Cheryl Jennings (cherylj) wrote :

Larry, I'm not sure there's much we can tell from here without /var/log/syslog to look at what mongo's doing. Is there any way to collect that in the automated build?

Revision history for this message
Cheryl Jennings (cherylj) wrote :

Moving to incomplete until we can get the syslog.

Changed in juju-core:
status: New → Incomplete
Revision history for this message
Larry Michel (lmic) wrote :

Cheryl, I am working on adding attempt to collect syslog automatically when bootstrap node is reachable. I'll attach syslog once we're able to collect.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for juju-core because there has been no activity for 60 days.]

Changed in juju-core:
status: Incomplete → Expired
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

I got the same with 1.25.6, also in an automated run and I don't have /var/log/syslog from the bootstrap node.

This is the last bit of the bootstrap output:
Reading state information...
cloud-image-utils is already the newest version.
cloud-image-utils set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
tmux is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Attempt 1 to download tools from https://streams.canonical.com/juju/tools/agent/1.25.6/juju-1.25.6-trusty-amd64.tgz...
tools from https://streams.canonical.com/juju/tools/agent/1.25.6/juju-1.25.6-trusty-amd64.tgz downloaded: HTTP 200; time 4.449s; size 18647709 bytes; speed 4191636.000 b
ytes/s Tools downloaded successfully.
b3a6c835e28902b302f65be08d944252136c0b1bc015953cd6c51f246c4a3e1e /var/lib/juju/tools/1.25.6-trusty-amd64/tools.tar.gz
2016-08-18 17:24:04 INFO juju.cmd supercommand.go:37 running jujud [1.25.6-trusty-amd64 gc]
2016-08-18 17:24:04 INFO juju.network network.go:242 setting prefer-ipv6 to false
2016-08-18 17:24:05 INFO juju.agent identity.go:22 writing system identity file
2016-08-18 17:24:05 INFO juju.mongo mongo.go:208 Ensuring mongo server is running; data directory /var/lib/juju; port 37017
2016-08-18 17:24:05 INFO juju.mongo mongo.go:372 installing juju-mongodb
2016-08-18 17:24:05 INFO juju.utils.packaging.manager utils.go:57 Running: apt-get --option=Dpkg::Options::=--force-confold --option=Dpkg::options::=--force-unsafe-io --
assume-yes --quiet install juju-mongodb
2016-08-18 17:29:11 INFO juju.worker.peergrouper initiate.go:78 finished MaybeInitiateMongoServer
2016-08-18 17:29:11 ERROR juju.cmd supercommand.go:429 cannot initiate replica set: cannot dial mongo to initiate replicaset: no reachable servers
ERROR failed to bootstrap environment: subprocess encountered error code 1
')

Changed in autopilot-log-analyser:
assignee: nobody → Andreas Hasenack (ahasenack)
status: New → In Progress
Changed in autopilot-log-analyser:
status: In Progress → Fix Committed
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.