juju-update-bootstrap-address plugin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Martin Packman | ||
1.16 |
Fix Released
|
High
|
Martin Packman | ||
juju-core (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Saucy |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Users of juju environments with failed bootstrap nodes are unable to restore the environment (backup/recovery)
[Test Case]
In a failed environment which has had a new bootstrap node provisioned and the original state restored from backup as described in bug #1254729
juju update-bootstrap
Existing machines will be updated to report into the new juju bootstrap node.
[Regression Potential]
Minimal; this new plugin is separate to the existing codebase.
[Original Bug Report]
The purpose of this plugin is to update a bootstrap address on all other running juju machines given that the bootstrap node has failed completely, and another bootstrap node has been brought up using the plugins described in bug 1254574 and bug 1254577.
Fundamentally this should be reasonably simple:
run 'juju status' and parse the results to get a list of machines to ssh into (excluding machine 0).
for each machine:
ssh to that machine
stop the machine agent and each unit agent
edit the udp address in the /etc/rsyslog configuration for each juju agent
restart rsyslog
edit the api addresses and state addresses stored for the machine and each unit agent
start the machine agent and each unit agent
Related branches
- Juju Engineering: Pending requested
-
Diff: 164 lines (+159/-0)1 file modifiedcmd/plugins/juju-update-bootstrap/updatebootstrap.go (+159/-0)
Changed in juju-core: | |
assignee: | nobody → Martin Packman (gz) |
Changed in juju-core: | |
status: | Triaged → In Progress |
Changed in juju-core: | |
milestone: | none → 1.17.0 |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
Changed in juju-core (Ubuntu): | |
status: | New → Fix Released |
description: | updated |
saucy has seen the end of its life and is no longer receiving any updates. Marking the saucy task for this ticket as "Won't Fix".