Skip to content

mgr/DaemonServer: keep daemon in service map when it has no tasks - #36091

Merged
tchaikov merged 2 commits into
ceph:masterfrom
tchaikov:wip-46495
Jul 16, 2020
Merged

tchaikov merged 2 commits into
ceph:masterfrom
tchaikov:wip-46495

Conversation

@tchaikov

@tchaikov tchaikov commented Jul 14, 2020 •

Copy link
Copy Markdown
Contributor

@bk201

bk201 commented Jul 15, 2020

Copy link
Copy Markdown
Contributor

jenkins test dashboard

@bk201 bk201 changed the title mgr/DaemonServer: keep daemon in service map when it has no tasks mgr/DaemonServer: keep daemon in service map when it has no tasks 1 Jul 15, 2020
@bk201

bk201 commented Jul 15, 2020

Copy link
Copy Markdown
Contributor

jenkins test dashboard

@bk201 bk201 changed the title mgr/DaemonServer: keep daemon in service map when it has no tasks 1 mgr/DaemonServer: keep daemon in service map when it has no tasks Jul 15, 2020
@bk201

bk201 commented Jul 15, 2020

Copy link
Copy Markdown
Contributor

The rgw is back in the service_map, thanks for the fix!

Comment thread src/mgr/DaemonServer.cc Resolved
Comment thread src/mgr/DaemonServer.cc Resolved
tchaikov added 2 commits July 15, 2020 12:36
be explicit that the caller is only interested in the task_status

Signed-off-by: Kefu Chai <[email protected]>
we should not remove a daemon from service map even if it has no task
running, as it is not an evidence that the service is removed from the
cluster.

this change partially reverts 5a7d063

Fixes: https://tracker.ceph.com/issues/46495
Signed-off-by: Kefu Chai <[email protected]>
@vshankar

Copy link
Copy Markdown
Contributor

Thanks @tchaikov

@vshankar

Copy link
Copy Markdown
Contributor

This might need a small fix to cephfs scrub tests -- I'll push that out

@vshankar

Copy link
Copy Markdown
Contributor

This might need a small fix to cephfs scrub tests -- I'll push that out

this is already handled in scrub tests.

@vshankar

Copy link
Copy Markdown
Contributor

I'll run this through fs suite (scrub tests)

@vshankar

Copy link
Copy Markdown
Contributor

@guits

guits commented Jul 15, 2020

Copy link
Copy Markdown
Contributor

@tchaikov @vshankar this is breaking all ceph-ansible CI jobs. Is there something else needed to get this PR merged? Thanks!

@tchaikov

tchaikov commented Jul 15, 2020 •

Copy link
Copy Markdown
Contributor Author

@tchaikov @vshankar this is breaking all ceph-ansible CI jobs. Is there something else needed to get this PR merged? Thanks!

@guits i need to

@tchaikov

Copy link
Copy Markdown
Contributor Author

@batrick i am merging this PR without waiting for your test results as it should help to address the breakages in our tests. if it breaks cephfs tests. please ping me. i will get it fixed ASAP.

@tchaikov
tchaikov merged commit 9e21f4d into ceph:master Jul 16, 2020
@tchaikov
tchaikov deleted the wip-46495 branch July 16, 2020 09:17
@batrick

batrick commented Jul 16, 2020

Copy link
Copy Markdown
Member

@batrick i am merging this PR without waiting for your test results as it should help to address the breakages in our tests. if it breaks cephfs tests. please ping me. i will get it fixed ASAP.

No worries, thanks.

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.

5 participants