when update-status is implicitly handled it should not generate a log warning
Bug #1837639 reported by
Alex Kavanagh
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Ceilometer Agent Charm |
Fix Released
|
Undecided
|
Alex Kavanagh | ||
OpenStack Cinder-Ceph charm |
Fix Released
|
Undecided
|
Alex Kavanagh | ||
OpenStack HA Cluster Charm |
Fix Released
|
Undecided
|
Alex Kavanagh | ||
OpenStack Neutron Open vSwitch Charm |
Fix Released
|
Undecided
|
Alex Kavanagh |
Bug Description
When a charm handles the update-status implicitly (it is linked to hooks.py or equivalent, but is not handled explicitly, but instead is the last call in the generic main for hooks.py), then it should not generate an error. See (from hacluster) charm:
if __name__ == '__main__':
try:
except UnregisteredHoo
set_
i.e. update-status is linked to hooks.py, the update-status does happen (set_unit_status()) but an error is logged for 'Unknown hook update-status - skipping' to the log.
Resolve this by suppressing the log message in some way.
Changed in charm-hacluster: | |
assignee: | nobody → Alex Kavanagh (ajkavanagh) |
Changed in charm-ceilometer-agent: | |
assignee: | nobody → Alex Kavanagh (ajkavanagh) |
Changed in charm-cinder-ceph: | |
status: | New → In Progress |
assignee: | nobody → Alex Kavanagh (ajkavanagh) |
Changed in charm-hacluster: | |
status: | New → In Progress |
Changed in charm-neutron-openvswitch: | |
status: | New → In Progress |
assignee: | nobody → Alex Kavanagh (ajkavanagh) |
Changed in charm-hacluster: | |
milestone: | none → 19.10 |
Changed in charm-ceilometer-agent: | |
milestone: | none → 19.10 |
Changed in charm-cinder-ceph: | |
milestone: | none → 19.10 |
Changed in charm-neutron-openvswitch: | |
milestone: | none → 19.10 |
Changed in charm-hacluster: | |
status: | Fix Committed → Fix Released |
Changed in charm-ceilometer-agent: | |
status: | Fix Committed → Fix Released |
Changed in charm-cinder-ceph: | |
status: | Fix Committed → Fix Released |
Changed in charm-neutron-openvswitch: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix proposed to branch: master /review. opendev. org/672483
Review: https:/