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

mon/OSDMonitor: avoid null dereference if stats are not available #44550

Merged
merged 1 commit into from Jan 14, 2022

Conversation

jdurgin
Copy link
Member

@jdurgin jdurgin commented Jan 12, 2022

Not confirmed yet whether this was the issue in the bug referenced
below, however it's a necessary defensive check for the
'osd pool get-quota' command.

All other uses of get_pool_stats() already handle this case.

Related-to: https://tracker.ceph.com/issues/53740
Signed-off-by: Josh Durgin jdurgin@redhat.com

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
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

Not confirmed yet whether this was the issue in the bug referenced
below, however it's a necessary defensive check for the
'osd pool get-quota' command.

All other uses of get_pool_stats() already handle this case.

Related-to: https://tracker.ceph.com/issues/53740
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
@amathuria
Copy link
Contributor

http://pulpito.front.sepia.ceph.com/yuriw-2022-01-13_18:06:52-rados-wip-yuri3-testing-2022-01-13-0809-distro-default-smithi/

Failures unrelated, tracked in:
https://tracker.ceph.com/issues/44587
https://tracker.ceph.com/issues/53843
https://tracker.ceph.com/issues/43887
https://tracker.ceph.com/issues/53807
https://tracker.ceph.com/issues/53886
https://tracker.ceph.com/issues/53424
https://tracker.ceph.com/issues/50830

Details:
Bug #44587: failed to write 34473 to cgroup.procs
Bug #53843: mgr/dashboard: Error - yargs parser supports a minimum Node.js version of 12
Bug #43887: ceph_test_rados_delete_pools_parallel failure
Bug #53807: Dead jobs in rados/cephadm/smoke-roleless
Bug #53886: ansible: Failed to update apt cache
Bug #53424: CEPHADM_DAEMON_PLACE_FAIL in orch:cephadm/mgr-nfs-upgrade/
Bug #50830: rgw-ingress does not install

@yuriw
Copy link
Contributor

yuriw commented Jan 14, 2022

jenkins test this please

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