charm hides an error

Bug #1991557 reported by Marian Gasparovic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charm-octavia-diskimage-retrofit
New
Undecided
Unassigned

Bug Description

When charm fails during retrofit action it does not show anything in juju, charm is active/idle and status message does not indicate any error.
An example would be when it hits this error for example - https://bugs.launchpad.net/charm-octavia-diskimage-retrofit/+bug/1975491

Amphora image is not created but operator has no clue it failed.

Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

Hi Marian

Please could you add the ubuntu-track that this was on: e.g. jammy-yoga or focal-yoga or something else?

Thanks!

Changed in charm-octavia-diskimage-retrofit:
status: New → Incomplete
Revision history for this message
Marian Gasparovic (marosg) wrote :

It was jammy-yoga

Changed in charm-octavia-diskimage-retrofit:
status: Incomplete → New
Revision history for this message
Frode Nordahl (fnordahl) wrote :

I'm a bit curious about this, the process of creating a new image is initiated by the operator running an action. The result of which is provided either synchronously by passing `--wait` to the juju `run-action` command, or asynchronously through the `show-action-output` and `show-action-status` commands.

AFAIK, the charm does not perform this process in any hook execution, and I don't think it would be appropriate to globally set the charms status based on the outcome of a random action execution. Or am I missing something?

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.