-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
osd: fix osd cannot be started after being set to stop #44363
Conversation
ad95dd3
to
8f999c9
Compare
@neha-ojha @xiexingguo please review |
after osd stop is set, there will always be a stop mark in the osd map, so when the osd is restarted, the stop mark will be detected and the osd process will be killed immediately, so when it is not active, only stop osd in is_waiting_for_healthy. Fixes: https://tracker.ceph.com/issues/53667 Signed-off-by: tan changzhi <544463199@qq.com>
@xiexingguo please help to review, this bug will cause the osd to not be able to be pulled up at startup, it is urgent, thank you |
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. |
jenkins test make check |
@xiexingguo ping? |
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. |
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! |
hi @ljflores , could you please push for the review of this pr ? |
after osd stop is set, there will always be a stop mark in the osd map,
so when the osd is restarted, the stop mark will be detected and the osd
process will be killed immediately, so when it is not active,
only stop osd in is_waiting_for_healthy
Fixes: https://tracker.ceph.com/issues/53667
Signed-off-by: tan changzhi 544463199@qq.com
Checklist
Show available Jenkins commands
jenkins retest this please
jenkins test classic perf
jenkins test crimson perf
jenkins test signed
jenkins test make check
jenkins test make check arm64
jenkins test submodules
jenkins test dashboard
jenkins test dashboard cephadm
jenkins test api
jenkins test docs
jenkins render docs
jenkins test ceph-volume all
jenkins test ceph-volume tox