more than 10 upgrades to a charm causes horrible infinite loop
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Roger Peppe |
Bug Description
Over the course of a few days, one of our machines had its charm upgraded, turns out that the 11th upgrade went wrong and resulted in an infinite loop which was pretty tricky to recover from.
Got this in my juju debug-log
custard-
custard-
custard-
The strftime() style formatting in the filename is suspicious.
I think the newDir function in the deployer.go file is wrong: http://
instead of
time.Now(
the following would be better:
time.Now(
Here's the go code I used to work out how the Time class works (it's my first go program): https:/
Changed in juju-core: | |
assignee: | nobody → Roger Peppe (rogpeppe) |
Changed in juju-core: | |
status: | Triaged → Fix Committed |
milestone: | none → 1.11.3 |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
A nice place to test out go code is at: http:play. golang. org
It will run queries server side and let you share the results. play.golang. org/p/1C5k3aFKm I
http://