Bootstrap fails if /usr/lib/juju/bin/mongod doesn't already exist

Bug #1350700 reported by Andrew Wilkins
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
Andrew Wilkins
1.20
Fix Released
Critical
Andrew Wilkins

Bug Description

CI is failing. There were some recent changes to prevent mongo upstart from being reinstalled. We need to make sure mongo itself is installed before doing that.

014-07-31 06:54:37 INFO juju.mongo mongo.go:171 Ensuring mongo server is running; data directory /var/lib/juju; port 37017
2014-07-31 06:54:37 INFO juju.mongo mongo.go:128 could not find /usr/lib/juju/bin/mongod or mongod in $PATH
2014-07-31 06:54:37 ERROR juju.cmd supercommand.go:323 exec: "mongod": executable file not found in $PATH
2014-07-31 06:54:37 ERROR juju.provider.common bootstrap.go:119 bootstrap failed: subprocess encountered error code 1
Stopping instance...
2014-07-31 06:54:39 WARNING juju.provider.openstack provider.go:1446 cannot delete security group "juju-hp-deploy-trusty-amd64-0". Used by another environment?
Bootstrap failed, destroying environment
2014-07-31 06:54:39 INFO juju.provider.common destroy.go:15 destroying environment "hp-deploy-trusty-amd64"
2014-07-31 06:54:43 WARNING juju.provider.openstack provider.go:1446 cannot delete security group "juju-hp-deploy-trusty-amd64-0". Used by another environment?
2014-07-31 06:54:44 WARNING juju.provider.openstack provider.go:1170 cannot delete security group "juju-hp-deploy-trusty-amd64". Used by another environment?
2014-07-31 06:54:45 WARNING juju.provider.openstack provider.go:1170 cannot delete security group "juju-hp-deploy-trusty-amd64-0". Used by another environment?
2014-07-31 06:54:45 ERROR juju.cmd supercommand.go:323 subprocess encountered error code 1
juju --show-log destroy-environment hp-deploy-trusty-amd64 --force -y
2014-07-31 07:04:46 INFO juju.cmd supercommand.go:37 running juju [1.20.2-trusty-amd64 gc]
2014-07-31 07:04:46 ERROR juju.cmd supercommand.go:323 environment is not bootstrapped

Andrew Wilkins (axwalk)
Changed in juju-core:
assignee: nobody → Andrew Wilkins (axwalk)
Andrew Wilkins (axwalk)
Changed in juju-core:
status: Triaged → In Progress
Revision history for this message
Andrew Wilkins (axwalk) wrote :

PRs in for master and 1.20, both live tested on ec2.

Andrew Wilkins (axwalk)
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
importance: Critical → High
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
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.