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

cephadm: fix osd size reported in 'orch ls' #43253

Merged
merged 2 commits into from Oct 14, 2021

Conversation

guits
Copy link
Contributor

@guits guits commented Sep 22, 2021

The current code enforces ('running osds' + 1), see [1].
Let's simply print the number of running osds instead of a
meaningless calculation.

[1] 1c0a0a6#diff-4f2fb7d330e74b64ac41457b7c7a723cd78db86433e0b0c398874531e5a7e39eR1852-R1859

Fixes: https://tracker.ceph.com/issues/50928

Signed-off-by: Guillaume Abrioux gabrioux@redhat.com

@sebastian-philipp
Copy link
Contributor

you think we could build a test for this?

@adk3798

This comment has been minimized.

@sebastian-philipp
Copy link
Contributor

you think we could build a test for this?

do we have a unit test for this?

@guits
Copy link
Contributor Author

guits commented Sep 29, 2021

jenkins test make check arm64

The current code enforces ('running osds' + 1), see [1].
Let's simply print the number of running osds instead of a
meaningless calculation.

[1] ceph@1c0a0a6#diff-4f2fb7d330e74b64ac41457b7c7a723cd78db86433e0b0c398874531e5a7e39eR1852-R1859

Fixes: https://tracker.ceph.com/issues/50928

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
@guits
Copy link
Contributor Author

guits commented Sep 29, 2021

jenkins test signed

1 similar comment
@guits
Copy link
Contributor Author

guits commented Sep 29, 2021

jenkins test signed

This adds a unittest in order to cover the output of 'orch ls' command
and check the reporting about the running osd number is displayed as
expected.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Co-Authored-by: Sebastian Wagner <sewagner@redhat.com>
@sebastian-philipp sebastian-philipp added the wip-swagner-testing My Teuthology tests label Sep 29, 2021
@guits
Copy link
Contributor Author

guits commented Sep 29, 2021

jenkins test dashboard cephadm

@guits
Copy link
Contributor Author

guits commented Sep 29, 2021

jenkins test signed

1 similar comment
@guits
Copy link
Contributor Author

guits commented Sep 29, 2021

jenkins test signed

@guits
Copy link
Contributor Author

guits commented Sep 30, 2021

jenkins test dashboard cephadm

@sebastian-philipp
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants