Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't call get_subsystems from within delete_bdev(). #270

Merged
merged 3 commits into from
Oct 19, 2023

Conversation

gbregman
Copy link
Contributor

Fixes #260

When we delete a bdev we go over any namespace which might use it and remove it. for this we used get_subsystems. Instead of using get_subsystem we now use the local state.

Fixes ceph#260

Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
@gbregman gbregman requested a review from oritwas October 18, 2023 14:23
@gbregman
Copy link
Contributor Author

gbregman commented Oct 18, 2023

Was originally PR #268 but it got closed by github

control/grpc.py Outdated Show resolved Hide resolved
control/grpc.py Outdated Show resolved Hide resolved
control/grpc.py Outdated Show resolved Hide resolved
control/grpc.py Outdated Show resolved Hide resolved
control/grpc.py Outdated Show resolved Hide resolved
Fixes ceph#260

Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
@gbregman gbregman requested a review from oritwas October 19, 2023 11:54
Copy link
Member

@oritwas oritwas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Look good

@gbregman gbregman merged commit 8a0e16c into ceph:devel Oct 19, 2023
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Don't call get_subsystems from within delete_bdev
2 participants