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: expose gather-facts api method #41816
cephadm: expose gather-facts api method #41816
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
request changes
b769f47
to
821eaa6
Compare
821eaa6
to
05afb6d
Compare
05afb6d
to
1184b50
Compare
1184b50
to
e92a01a
Compare
jenkins test dashboard |
0f8485f
to
d2a3703
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd love to see some unit testing.
78be92c
to
615e16c
Compare
jenkins test make check |
615e16c
to
7a57edd
Compare
Added a unit-test! |
7a57edd
to
15d3454
Compare
15d3454
to
b8ea2e3
Compare
Fixes: https://tracker.ceph.com/issues/51209 This PR intends to expose host metadata(gather-facts) api method Signed-off-by: Avan Thakkar <athakkar@redhat.com> Signed-off-by: Aashish Sharma <aasharma@redhat.com>
b8ea2e3
to
f103702
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@pytest.fixture() | ||
def test_facts(): | ||
facts = {'node-1.ceph.com', {'bios_version': 'F2', 'cpu_cores': 16}} | ||
HostCache.facts = facts |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
This PR intends to expose host metadata(gather-facts) api method
Fixes: https://tracker.ceph.com/issues/51209
Signed-off-by: Avan Thakkar athakkar@redhat.com
Signed-off-by: Aashish Sharma aasharma@redhat.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 api
jenkins test docs
jenkins render docs
jenkins test ceph-volume all
jenkins test ceph-volume tox