upgrade-juju in local environment causes bootstrap machine agent to restart continuously
Bug #1214676 reported by
Andrew Wilkins
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
Critical
|
Nate Finch |
Bug Description
I was investigating bug #1213832, and found that my bootstrap machine agent was restarting in a loop, hence the storage was only occasionally available. It seems to be caused by "juju upgrade-juju".
Steps to reproduce (with local provider):
1. sudo juju bootstrap
2. juju upgrade-juju --upload-tools
Now if you run "juju status", you'l see agent-state is mostly "down", occasionally running. If you look in the logs, you'll see that the agent keeps restarting on account of needing to upgrade. There are also errors relating to connecting to the API.
Changed in juju-core: | |
assignee: | nobody → Nate Finch (natefinch) |
status: | Triaged → In Progress |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
milestone: | none → 1.15.0 |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Sounds worthy of investigating. Certainly it needs to reboot 1 time once its done the download of tools, but it shouldn't need to restart again.
There is likely to be some other trigger that is causing it to restart itself continuously. Which is *likely* to just be a universal upgrade incompatibility that we need to fix before 1.14.