status stays green for unit where uniter is in restart loop

Bug #1962011 reported by Heather Lanigan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
High
Unassigned

Bug Description

Juju should bubble up to status output when a unit has a uniter in a restart loop due to error, currently it stays green which is misleading.

It's a different bug which needs to be resolved, but can be triggered in juju 2.9.22:

1. bootstrap 2.8
2. deploy ubuntu charm
3. upgrade juju client and controller to 2.9 - do no upgrade the default model.
4. juju refresh --switch ch:ubuntu ubuntu.

The unit will stay green, but fall into a uniter restart loop of:
unit-ubuntu-0: 14:13:42 INFO juju.worker.uniter unit "ubuntu/0" shutting down: failed to initialize uniter for "unit-ubuntu-0": cannot parse URL "ch:amd64/focal/ubuntu-19": schema "ch" not valid
unit-ubuntu-0: 14:13:42 ERROR juju.worker.dependency "uniter" manifold worker returned unexpected error: failed to initialize uniter for "unit-ubuntu-0": cannot parse URL "ch:amd64/focal/ubuntu-19": schema "ch" not valid

Revision history for this message
Ian Booth (wallyworld) wrote :

When you say "stays green", do you mean the workload status shows as "Active", which juju renders as green? (green being an indication that the workload is healthy). As opposed to the agent status, which should reflect the error in the uniter. I guess agent status does show hook errors and other issues with the charm but not uniter restarts due to errors.

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.