juju-update-bootstrap-address plugin

Bug #1254579 reported by Tim Penhey
10
This bug affects 1 person
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

Martin Packman (gz)
Changed in juju-core:
assignee: nobody → Martin Packman (gz)
Martin Packman (gz)
Changed in juju-core:
status: Triaged → In Progress
Martin Packman (gz)
Changed in juju-core:
milestone: none → 1.17.0
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
James Page (james-page)
Changed in juju-core (Ubuntu):
status: New → Fix Released
James Page (james-page)
description: updated
Revision history for this message
Rolf Leggewie (r0lf) wrote :

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".

Changed in juju-core (Ubuntu Saucy):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.