retrofitting failure is not reflected to juju unit status
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
charm-octavia-diskimage-retrofit |
New
|
Undecided
|
Unassigned |
Bug Description
When another bug 2037935 happened, I realized that juju unit status is still in maintenance/idle although the retrofitting process clearly failed.
octavia-
It would be nice the unit status turns into error/blocked when the retrofitting process failed instead of keeping maintenance/
$ juju show-operation 13
{}
ERROR operation 13 not found
root@quick-maas:~# juju show-operation -m openstack 13
summary: retrofit-image run on octavia-
status: failed
action:
name: retrofit-image
parameters:
force: false
source-image: ""
timing:
enqueued: 2023-10-04 05:36:06 +0000 UTC
started: 2023-10-04 05:36:06 +0000 UTC
completed: 2023-10-04 05:38:11 +0000 UTC
tasks:
"14":
host: octavia-
status: failed
timing:
enqueued: 2023-10-04 05:36:06 +0000 UTC
started: 2023-10-04 05:36:06 +0000 UTC
completed: 2023-10-04 05:38:11 +0000 UTC
message: Command '['octavia-
'
exit status 1.
results:
return-code: 0