Skip to content

Comments

neorados: Fix Neorados CephContext leak and prevent future ones#66368

Open
adamemerson wants to merge 1 commit intoceph:mainfrom
adamemerson:wip-neorados-leak
Open

neorados: Fix Neorados CephContext leak and prevent future ones#66368
adamemerson wants to merge 1 commit intoceph:mainfrom
adamemerson:wip-neorados-leak

Conversation

@adamemerson
Copy link
Contributor

@adamemerson adamemerson commented Nov 21, 2025

We were getting something with a reference already on it, then taking a second for the RADOS object to own without dropping the first.

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

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

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

@adamemerson
Copy link
Contributor Author

adamemerson commented Nov 21, 2025

When this is QAd, it should have RBD, RGW, and Core testing.

@adamemerson
Copy link
Contributor Author

jenkins test signed

@adamemerson
Copy link
Contributor Author

jenkins test api

@perezjosibm
Copy link
Contributor

perezjosibm commented Dec 9, 2025

teuthology-suite -m smithi -s crimson-rados -p 101 --force-priority -c wip-perezjos-crimson-only-11-12-2025-PR66368 -f crimson-debug --distro centos --distro-version 9 --suite-branch main --suite-repo https://github.com/ceph/ceph.git # PR66368
2025-12-11 16:03:34,417.417 INFO:teuthology.suite.run:Test results viewable at

https://pulpito.ceph.com/jjperez-2025-12-11_15:57:53-crimson-rados-wip-perezjos-crimson-only-11-12-2025-PR66368-distro-crimson-debug-smithi/
(forgot to use --filter rados_api_tests might try a separate run for this only)

@Matan-B
Copy link
Contributor

Matan-B commented Dec 16, 2025

@adamemerson, can we merge this based on the tests above?

We were getting something with a reference already on it, then taking
a second for the RADOS object to own without dropping the first.

Fixes: https://tracker.ceph.com/issues/71478
Signed-off-by: Adam C. Emerson <[email protected]>
@adamemerson
Copy link
Contributor Author

@adamemerson, can we merge this based on the tests above?

It should have an RBD run if there's any way we can manage it.

@adamemerson
Copy link
Contributor Author

jenkins test api

@adamemerson
Copy link
Contributor Author

jenkins test windows

@adamemerson
Copy link
Contributor Author

jenkins test make check

1 similar comment
@Matan-B
Copy link
Contributor

Matan-B commented Jan 14, 2026

jenkins test make check

@adamemerson
Copy link
Contributor Author

@idryomov @yuriw Can you pull this into the next RBD run whenever they're working? It's been QA'd everywhere else and can merge if that passes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Tested

Development

Successfully merging this pull request may close these issues.

7 participants