'max-logs-age' panic on bootstrap with lxd provider
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Ian Booth |
Bug Description
Bootstrap failed - timing out with 'unable to contact api server' - on a LXD provider.
Ubuntu version 16.04
LXD version 2.13 (from http//ppa.
Juju version 2.2 beta3 (a recent fork from the juju/develop branch)
The LXD container was brought up, and looking at the machine-0.log, it ends with the following panic:
panic: empty value for "max-logs-age" found in configuration (type <nil>, val <nil>)
goroutine 424 [running]:
github.
github.
github.
github.
github.
created by github.
Changed in juju: | |
assignee: | Christian Muirhead (2-xtian) → Ian Booth (wallyworld) |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
This seems very much like a mismatch between source and agent binary. It's possible for that to happen when the source used to compile the bootstrap client is older than tip and it picks up an incompatible binary from streams. This happens semi-regularly with forks which then go stale.
I can't reproduce this at all from tip of devel, which btw current reports 2.2 beta4.
Could you see if it's reproducible from develop tip; ie rebase your fork.