Local bootstrap failure gives unhelpful message
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
Running 'juju bootstrap' with a local provider while another process is doing package management results in an unhelpful error message:
% juju --version
1.20.13-
% juju bootstrap
uploading tools for series [precise trusty utopic]
Logging to /home/bac/
Bootstrapping Juju machine agent
541983e88a35bdc
2014-12-11 15:05:18 INFO juju.cmd supercommand.go:37 running jujud [1.20.13.
2014-12-11 15:05:18 DEBUG juju.agent agent.go:377 read agent config, format "1.18"
2014-12-11 15:05:18 INFO juju.provider.local environprovider
2014-12-11 15:05:18 DEBUG juju.cmd.jujud bootstrap.go:210 starting mongo
2014-12-11 15:05:18 DEBUG juju.cmd.jujud bootstrap.go:235 calling ensureMongoServer
2014-12-11 15:05:18 INFO juju.mongo mongo.go:171 Ensuring mongo server is running; data directory /home/bac/
2014-12-11 15:05:18 INFO juju.mongo mongo.go:326 installing juju-mongodb
2014-12-11 15:05:18 INFO juju.utils.apt apt.go:132 Running: [apt-get --option=
2014-12-11 15:05:28 ERROR juju.utils.apt apt.go:166 apt-get command failed: unexpected error type *errors.errorString
args: []string{"apt-get", "--option=
2014-12-11 15:05:28 ERROR juju.cmd supercommand.go:323 cannot install mongod: apt-get failed: unexpected error type *errors.errorString
Bootstrap failed, destroying environment
ERROR exit status 1
Changed in juju-core: | |
status: | Triaged → Won't Fix |
This bug overlaps with a few other apt bugs. I am setting this to medium because I believe the other apt/race bugs show the issue is worse than this bug reports. In general, Juju need to wait to get access to apt.