Skip to content

quincy: mgr: do not require NOTIFY_TYPES in python modules#59130

Closed
k0ste wants to merge 1 commit intoceph:quincyfrom
k0ste:wip-66432-quincy
Closed

quincy: mgr: do not require NOTIFY_TYPES in python modules#59130
k0ste wants to merge 1 commit intoceph:quincyfrom
k0ste:wip-66432-quincy

Conversation

@k0ste
Copy link
Copy Markdown
Contributor

@k0ste k0ste commented Aug 10, 2024

backport tracker: https://tracker.ceph.com/issues/66432


backport of #57106
parent tracker: https://tracker.ceph.com/issues/55835

this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh

Many python mgr modules lack a NOTIFY_TYPES member apparently without
any downsides beyond an annoying message in the logs.  This includes
commonly used mgr modules like 'volumes' and 'cephadm'.  Stop emitting
an error for missing NOTIFY_TYPES by not assuming all mgr modules in
python should provide it. The return code is also changed to indicate
that this is not an error but the return from this function is never
checked and so it should have no impact. However, if someone started
using the return value in the future this would match the log change.

Fixes: https://tracker.ceph.com/issues/55835
Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 4589c4d)
@k0ste k0ste requested a review from a team as a code owner August 10, 2024 09:33
@github-actions github-actions bot added this to the quincy milestone Aug 10, 2024
@ljflores ljflores requested a review from adk3798 August 21, 2024 19:11
@ljflores ljflores removed the needs-qa label Aug 21, 2024
@ljflores
Copy link
Copy Markdown
Member

jenkins test api

@ljflores
Copy link
Copy Markdown
Member

@adk3798 can you approve this, and if we want it in 17.2.8, add "needs-qa" and change it to the 17.2.8 milestone?

@github-actions
Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@github-actions github-actions bot added the stale label Nov 26, 2024
@github-actions
Copy link
Copy Markdown

This pull request has been automatically closed because there has been no activity for 90 days. Please feel free to reopen this pull request (or open a new one) if the proposed change is still appropriate. Thank you for your contribution!

@github-actions github-actions bot closed this Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants