Juju wait incompatible with juju 3.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juju Wait Plugin |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Juju wait has some compatibility issues with juju 3.0:
```
2022-10-20-00:37:24 root DEBUG [localhost]: juju-wait -m foundations-
2022-10-20-00:37:25 root DEBUG DEBUG:root:
2022-10-20-00:37:29 root DEBUG DEBUG:root:
2022-10-20-00:37:33 root DEBUG DEBUG:root:
2022-10-20-00:37:37 root DEBUG DEBUG:root:
2022-10-20-00:37:42 root DEBUG DEBUG:root:
2022-10-20-00:37:46 root DEBUG DEBUG:root:
2022-10-20-00:37:50 root DEBUG DEBUG:root:
2022-10-20-00:37:54 root DEBUG DEBUG:root:
2022-10-20-00:37:58 root DEBUG DEBUG:root:
2022-10-20-00:38:03 root DEBUG DEBUG:root:
2022-10-20-00:38:07 root DEBUG DEBUG:root:
2022-10-20-00:38:11 root DEBUG DEBUG:root:
2022-10-20-00:38:16 root DEBUG DEBUG:root:
2022-10-20-00:38:20 root DEBUG DEBUG:root:
2022-10-20-00:38:24 root DEBUG DEBUG:root:
2022-10-20-00:38:28 root DEBUG DEBUG:root:
2022-10-20-00:38:32 root DEBUG DEBUG:root:
2022-10-20-00:38:37 root DEBUG DEBUG:root:
2022-10-20-00:38:41 root DEBUG DEBUG:root:
2022-10-20-00:38:45 root DEBUG DEBUG:root:
2022-10-20-00:38:50 root DEBUG DEBUG:root:
2022-10-20-00:38:50 root DEBUG DEBUG:root:
2022-10-20-00:38:54 root DEBUG DEBUG:root:
2022-10-20-00:38:58 root DEBUG DEBUG:root:
2022-10-20-00:39:03 root DEBUG DEBUG:root:
2022-10-20-00:39:07 root DEBUG DEBUG:root:
2022-10-20-00:39:11 root DEBUG DEBUG:root:
2022-10-20-00:39:16 root DEBUG DEBUG:root:
2022-10-20-00:39:20 root DEBUG DEBUG:root:
2022-10-20-00:39:24 root DEBUG DEBUG:root:
2022-10-20-00:39:29 root DEBUG DEBUG:root:
2022-10-20-00:39:50 root DEBUG INFO:root:All units idle since 2022-10-20 00:39:33.435080Z (metallb-
2022-10-20-00:39:50 root DEBUG ERROR:root:ERROR option provided but not defined: --unit
2022-10-20-00:39:50 root DEBUG
2022-10-20-00:39:50 root DEBUG ERROR:root:juju run --format=yaml --unit metallb-
```
Juju wait shouldn't be electing a leader for metallb-speaker since its wait-excluded, and `juju run` is moved to `juju exec` in juju 3.0.
Related branches
- Loïc Gomez: Approve (+1)
- Canonical IS Reviewers: Pending requested
- Canonical IS Reviewers: Pending requested
- Tom Haddon: Pending requested
-
Diff: 71 lines (+27/-5)1 file modifiedjuju_wait/__init__.py (+27/-5)
tags: | added: cdo-qa |
Changed in juju-wait: | |
status: | New → Fix Committed |
One thing to note is that Juju 3.0 now has a "juju wait-for" command built in. It can wait for applications, units, and so on, and it takes an optional query expression.