In a model with keystone yoga deployed:
juju deploy ubuntu --series jammy
| #!/usr/bin/env python3 | |
| """ | |
| This is a tool for recovering lost machine units in current model | |
| Usage: | |
| {0} model-name dest-dir | |
| """ | |
| # changes summary: | |
| # added logic to prevent overwrite /var/lib/juju to avoid removing non-machine units |
| #!/usr/bin/env python3 | |
| """ | |
| Evacuation assistance script to assist in finding destinations for | |
| evacuating instances that are in affinity or anti-affinity groups, | |
| as a workaround for bug https://bugs.launchpad.net/bugs/1821755. | |
| Authors: | |
| - rodrigo.barbieri@canonical.com |
| #!/usr/bin/env python3 | |
| """Unit tests for EvacuationAssistant.""" | |
| import ddt | |
| import copy | |
| import json | |
| import mock | |
| from evacuation_assistant import evacuation_assistant | |
| import random |