`juju wait-for model` freezes on live model

Bug #1998405 reported by Jordan Barrett
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Medium
Unassigned

Bug Description

I have some models for which `juju wait-for model` returns the expected answer immediately:
```
$ juju wait-for model m
Model "m" is running
properties:
  life: alive
  status: available
```
and others for which it just freezes until it times out.

Both models are in a live and stable state, and I can't see any difference between them. So I'm afraid I have no idea what's causing this.

```
$ juju version --all
version: 3.0.3-ubuntu-amd64
git-commit: ae342ed49fbaa5a3d3fa9193612e1df414aa8785
```

Tags: wait-for
Revision history for this message
Joseph Phillips (manadart) wrote :

wait-for uses a multi-watcher via the API (so a websocket). It is supposed to reconnect if it drops, but maybe there's an issue with that logic.

That or we're not getting all deltas, which is a little more concerning.

Changed in juju:
status: New → Triaged
importance: Undecided → Medium
tags: added: wait-for
Revision history for this message
Samuel Allan (samuelallan) wrote (last edit ):

https://bugs.launchpad.net/juju/+bug/2019515 is possibly related, but also probably not going by the description of "some models for which ...".

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.