juju-deployer model teardown skips machine 0
Bug #1713949 reported by
James Page
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Charm Test Infra |
Fix Released
|
Medium
|
James Page | ||
juju-deployer |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
UOSCI makes use of bundletester, which uses juju-deployer to tear down services and units on a model; as part of this process it force terminates all machines *apart* from machine 0, which in a juju 2.0 model is no longer the controller.
This results in odd model recycle behaviour - if the application on machine 0 has a hook error as the rest of the model tears down, it will block the test execution.
Related branches
lp:~james-page/juju-deployer/terminate-machine-0
- Tim Van Steenburgh (community): Approve
- Ryan Beisner (community): Approve
-
Diff: 55 lines (+9/-5)2 files modifieddeployer/env/base.py (+7/-3)
deployer/env/go.py (+2/-2)
Changed in charm-test-infra: | |
assignee: | nobody → James Page (james-page) |
status: | New → In Progress |
importance: | Undecided → Medium |
Changed in juju-deployer: | |
status: | New → In Progress |
Changed in charm-test-infra: | |
status: | In Progress → Fix Released |
Changed in juju-deployer: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
Example of this:
https:/ /review. openstack. org/#/c/ 497660
the hook is probably erroring due to the force termination of the other machines in the model; I'm not sure we need to fix anything in the charm per-say, but we do need to fixup juju-deploy to be more intelligent when tearing down models.