juju / 1.25-upgrade

Tools to upgrade and move a 1.25 environment to a 2.2.4+ controller
4 stars 7 forks source link

Extend upgrade-agents and add rollback-agents #10

Closed babbageclunk closed 7 years ago

babbageclunk commented 7 years ago

The upgrade-agents command now pushes the binaries to all machines in the environment, and pushes an agent-upgrade Python script to install the tools and update agent tools links (and it will update agent configs, although that isn't implemented yet).

The agent-upgrade script also saves all of the agent tools links and config files for rollback, and has a rollback mode that replaces them and removes the installed tools. This is run by the rollback-agents command.