Closed esunar closed 1 year ago
(by aluria) The "--machines" target should also flag if there are KVMs or LXDs running in the specified machine IDs.
For the initial implementation, warning if there are containers or VMs should be enough. Another bug will be filed to lookup which applications would be running inside the containers/VMs so they can be treated as "machines-inside-machines".
As an example, if a machine "0" exists,
(by martin-kalcok) should this be tied to the "--machines" flag only? We are already checking affected machines for presence of other principal units regardless of target (--units/--machines) maybe we can add the check for vm/container presence there.
In addition to using juju-verify on list of units, it should be also possible to target one (or more) machine. Expected behavior is that juju-verify would collect all principal units running on those machines and treat it as if those units were passed as an argument.
Usage example:
Targeting units
$ juju-verify reboot --units nova-compute/0 nova-compute/1
Targeting machines
$ juju-verify reboot --machines 0 1
Imported from Launchpad using lp2gh.
date created: 2021-02-15T14:47:06Z
owner: martin-kalcok
assignee: martin-kalcok
the launchpad url