Skip to content

mgr/stats: initialize mx_last_updated in FSPerfStats#56525

Merged
vshankar merged 1 commit intoceph:mainfrom
joscollin:wip-B65073-mgr-stats-exception
May 13, 2024
Merged

mgr/stats: initialize mx_last_updated in FSPerfStats#56525
vshankar merged 1 commit intoceph:mainfrom
joscollin:wip-B65073-mgr-stats-exception

Conversation

@joscollin
Copy link
Member

@joscollin joscollin commented Mar 27, 2024

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

Contribution Guidelines

  • To sign and title your commits, please refer to Submitting Patches to Ceph.

  • If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.

  • When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

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
  • jenkins test windows
  • jenkins test rook e2e

@github-actions github-actions bot added cephfs Ceph File System tests labels Mar 27, 2024
@joscollin
Copy link
Member Author

jenkins test make check arm64

@joscollin joscollin force-pushed the wip-B65073-mgr-stats-exception branch 2 times, most recently from b8583ca to a7a2503 Compare March 28, 2024 05:08
@joscollin joscollin requested a review from a team March 29, 2024 11:22
@vshankar
Copy link
Contributor

@joscollin I'm not understanding how a bug in mgr/stats is fixed by patching test_fstop.py. By reading the commit message it looks to me that this is an optimization, so, I'm assuming a real fix will be followed up shortly?

@joscollin joscollin force-pushed the wip-B65073-mgr-stats-exception branch from a7a2503 to 7c77f9e Compare April 1, 2024 05:08
@github-actions github-actions bot added the pybind label Apr 1, 2024
@joscollin joscollin changed the title qa: Fix test_dumpfs to avoid unnecessary fsmap notify in stats plugin mgr/stats, qa: avoid unnecessary fsmap notifications Apr 1, 2024
@joscollin
Copy link
Member Author

shortly

@vshankar Fixed.

@joscollin joscollin force-pushed the wip-B65073-mgr-stats-exception branch from 7c77f9e to d6f2cdb Compare April 1, 2024 08:10
Fixes the error in teuthology log:
AttributeError: 'FSPerfStats' object has no attribute 'mx_last_updated'

Fixes: https://tracker.ceph.com/issues/65073
Signed-off-by: Jos Collin <jcollin@redhat.com>
@joscollin joscollin force-pushed the wip-B65073-mgr-stats-exception branch from d6f2cdb to b96ad61 Compare April 1, 2024 09:20
@vshankar vshankar requested a review from neesingh-rh April 1, 2024 14:34
@joscollin
Copy link
Member Author

jenkins test make check arm64

@vshankar vshankar changed the title mgr/stats, qa: avoid unnecessary fsmap notifications mgr/stats: initialize mx_last_updated in FSPerfStats Apr 8, 2024
vshankar added a commit to vshankar/ceph that referenced this pull request Apr 12, 2024
* refs/pull/56525/head:
	mgr/stats: initialize mx_last_updated in FSPerfStats

Reviewed-by: Neeraj Pratap Singh <neesingh@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
vshankar added a commit to vshankar/ceph that referenced this pull request Apr 30, 2024
* refs/pull/56525/head:
	mgr/stats: initialize mx_last_updated in FSPerfStats

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Neeraj Pratap Singh <neesingh@redhat.com>
vshankar added a commit to vshankar/ceph that referenced this pull request May 6, 2024
* refs/pull/56525/head:
	mgr/stats: initialize mx_last_updated in FSPerfStats

Reviewed-by: Neeraj Pratap Singh <neesingh@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Copy link
Contributor

@vshankar vshankar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vshankar vshankar merged commit b9b27da into ceph:main May 13, 2024
@joscollin joscollin deleted the wip-B65073-mgr-stats-exception branch May 13, 2024 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants