Skip to content

Backporting PRs 67236 and 67419 - #67533

Merged
batrick merged 2 commits into
ceph:tentaclefrom
rkachach:fix_tentacle_backports
Apr 9, 2026
Merged

batrick merged 2 commits into
ceph:tentaclefrom
rkachach:fix_tentacle_backports

Conversation

@rkachach

@rkachach rkachach commented Feb 25, 2026 •

Copy link
Copy Markdown
Contributor

Backport of PRs #67419 and #67236

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.

The OSD class cannot be pickled due to having the
`remove_util` field which itself cannot be pickled.

```
2026-02-05T20:30:15.199 INFO:teuthology.orchestra.run.trial079.stderr:+ ceph orch osd rm status
2026-02-05T20:30:15.199 INFO:teuthology.orchestra.run.trial079.stderr:+ grep '^1'
2026-02-05T20:30:15.356 INFO:teuthology.orchestra.run.trial079.stderr:Error EINVAL: Traceback (most recent call last):
2026-02-05T20:30:15.357 INFO:teuthology.orchestra.run.trial079.stderr:  File "/usr/share/ceph/mgr/mgr_module.py", line 1975, in _handle_command
2026-02-05T20:30:15.357 INFO:teuthology.orchestra.run.trial079.stderr:    return self.CLICommand.COMMANDS[cmd['prefix']].call(self, cmd, inbuf)  # type: ignore[attr-defined]
2026-02-05T20:30:15.357 INFO:teuthology.orchestra.run.trial079.stderr:  File "/usr/share/ceph/mgr/mgr_module.py", line 533, in call
2026-02-05T20:30:15.357 INFO:teuthology.orchestra.run.trial079.stderr:    return self.func(mgr, **kwargs)
2026-02-05T20:30:15.357 INFO:teuthology.orchestra.run.trial079.stderr:  File "/usr/share/ceph/mgr/orchestrator/cli.py", line 18, in wrapper
2026-02-05T20:30:15.357 INFO:teuthology.orchestra.run.trial079.stderr:    return func(*args, **kwargs)
2026-02-05T20:30:15.357 INFO:teuthology.orchestra.run.trial079.stderr:  File "/usr/share/ceph/mgr/orchestrator/module.py", line 1612, in _osd_rm_status
2026-02-05T20:30:15.357 INFO:teuthology.orchestra.run.trial079.stderr:    completion = self.remove_osds_status()
2026-02-05T20:30:15.357 INFO:teuthology.orchestra.run.trial079.stderr:  File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 1840, in inner
2026-02-05T20:30:15.357 INFO:teuthology.orchestra.run.trial079.stderr:    completion = self._oremote(method_name, args, kwargs)
2026-02-05T20:30:15.357 INFO:teuthology.orchestra.run.trial079.stderr:  File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 1911, in _oremote
2026-02-05T20:30:15.357 INFO:teuthology.orchestra.run.trial079.stderr:    return mgr.remote(o, meth, *args, **kwargs)
2026-02-05T20:30:15.357 INFO:teuthology.orchestra.run.trial079.stderr:  File "/usr/share/ceph/mgr/mgr_module.py", line 2559, in remote
2026-02-05T20:30:15.357 INFO:teuthology.orchestra.run.trial079.stderr:    return self._ceph_dispatch_remote(module_name, method_name,
2026-02-05T20:30:15.357 INFO:teuthology.orchestra.run.trial079.stderr:RuntimeError: Remote method threw exception: TypeError: cannot pickle 'CephadmOrchestrator' object
```

This commit adds a __getstate__ function which should
allow pickle to work around this

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

Signed-off-by: Adam King <[email protected]>
(cherry picked from commit 5544880)
@adk3798

adk3798 commented Feb 25, 2026

Copy link
Copy Markdown
Contributor

jenkins test make check

@rkachach

rkachach commented Apr 9, 2026

Copy link
Copy Markdown
Contributor Author

@batrick
batrick merged commit 26da752 into ceph:tentacle Apr 9, 2026
27 of 29 checks passed
@batrick batrick modified the milestones: tentacle, v20.2.2 Apr 9, 2026
@github-actions

github-actions Bot commented Apr 9, 2026

Copy link
Copy Markdown
        This is an automated message by src/script/redmine-upkeep.py.

        I found one or more `Fixes:` tags in the commit messages in

        `git log 26da752287f828e48cd51abe38aa906ebcac1111^..26da752287f828e48cd51abe38aa906ebcac1111`

        The referenced tickets are:

        * https://tracker.ceph.com/issues/74978

@batrick

batrick commented Jun 1, 2026

Copy link
Copy Markdown
Member

https://pulpito.ceph.com/pdonnell-2026-06-01_16:46:10-orch-tentacle-release-distro-default-trial/

/teuthology/pdonnell-2026-06-01_16:46:10-orch-tentacle-release-distro-default-trial/252173/teuthology.log

2026-06-01T17:51:33.420 INFO:teuthology.orchestra.run.trial020.stderr:Error EINVAL: Traceback (most recent call last):
2026-06-01T17:51:33.420 INFO:teuthology.orchestra.run.trial020.stderr:  File "/usr/share/ceph/mgr/mgr_module.py", line 1997, in _handle_command
2026-06-01T17:51:33.420 INFO:teuthology.orchestra.run.trial020.stderr:    return self.CLICommand.COMMANDS[cmd['prefix']].call(self, cmd, inbuf)  # type: ignore[attr-defined]
2026-06-01T17:51:33.420 INFO:teuthology.orchestra.run.trial020.stderr:  File "/usr/share/ceph/mgr/mgr_module.py", line 532, in call
2026-06-01T17:51:33.420 INFO:teuthology.orchestra.run.trial020.stderr:    return self.func(mgr, **kwargs)
2026-06-01T17:51:33.421 INFO:teuthology.orchestra.run.trial020.stderr:  File "/usr/share/ceph/mgr/orchestrator/cli.py", line 18, in wrapper
2026-06-01T17:51:33.421 INFO:teuthology.orchestra.run.trial020.stderr:    return func(*args, **kwargs)
2026-06-01T17:51:33.421 INFO:teuthology.orchestra.run.trial020.stderr:  File "/usr/share/ceph/mgr/orchestrator/module.py", line 1607, in _osd_rm_status
2026-06-01T17:51:33.421 INFO:teuthology.orchestra.run.trial020.stderr:    completion = self.remove_osds_status()
2026-06-01T17:51:33.421 INFO:teuthology.orchestra.run.trial020.stderr:  File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 1830, in inner
2026-06-01T17:51:33.421 INFO:teuthology.orchestra.run.trial020.stderr:    completion = self._oremote(method_name, args, kwargs)
2026-06-01T17:51:33.421 INFO:teuthology.orchestra.run.trial020.stderr:  File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 1901, in _oremote
2026-06-01T17:51:33.421 INFO:teuthology.orchestra.run.trial020.stderr:    return mgr.remote(o, meth, *args, **kwargs)
2026-06-01T17:51:33.421 INFO:teuthology.orchestra.run.trial020.stderr:  File "/usr/share/ceph/mgr/mgr_module.py", line 2579, in remote
2026-06-01T17:51:33.421 INFO:teuthology.orchestra.run.trial020.stderr:    return self._ceph_dispatch_remote(module_name, method_name,
2026-06-01T17:51:33.421 INFO:teuthology.orchestra.run.trial020.stderr:RuntimeError: Remote method threw exception: TypeError: cannot pickle 'CephadmOrchestrator' object

PTAL @rkachach @adk3798

@batrick

batrick commented Jun 1, 2026

Copy link
Copy Markdown
Member

https://pulpito.ceph.com/pdonnell-2026-06-01_16:46:10-orch-tentacle-release-distro-default-trial/

/teuthology/pdonnell-2026-06-01_16:46:10-orch-tentacle-release-distro-default-trial/252173/teuthology.log

2026-06-01T17:51:33.420 INFO:teuthology.orchestra.run.trial020.stderr:Error EINVAL: Traceback (most recent call last):
2026-06-01T17:51:33.420 INFO:teuthology.orchestra.run.trial020.stderr:  File "/usr/share/ceph/mgr/mgr_module.py", line 1997, in _handle_command
2026-06-01T17:51:33.420 INFO:teuthology.orchestra.run.trial020.stderr:    return self.CLICommand.COMMANDS[cmd['prefix']].call(self, cmd, inbuf)  # type: ignore[attr-defined]
2026-06-01T17:51:33.420 INFO:teuthology.orchestra.run.trial020.stderr:  File "/usr/share/ceph/mgr/mgr_module.py", line 532, in call
2026-06-01T17:51:33.420 INFO:teuthology.orchestra.run.trial020.stderr:    return self.func(mgr, **kwargs)
2026-06-01T17:51:33.421 INFO:teuthology.orchestra.run.trial020.stderr:  File "/usr/share/ceph/mgr/orchestrator/cli.py", line 18, in wrapper
2026-06-01T17:51:33.421 INFO:teuthology.orchestra.run.trial020.stderr:    return func(*args, **kwargs)
2026-06-01T17:51:33.421 INFO:teuthology.orchestra.run.trial020.stderr:  File "/usr/share/ceph/mgr/orchestrator/module.py", line 1607, in _osd_rm_status
2026-06-01T17:51:33.421 INFO:teuthology.orchestra.run.trial020.stderr:    completion = self.remove_osds_status()
2026-06-01T17:51:33.421 INFO:teuthology.orchestra.run.trial020.stderr:  File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 1830, in inner
2026-06-01T17:51:33.421 INFO:teuthology.orchestra.run.trial020.stderr:    completion = self._oremote(method_name, args, kwargs)
2026-06-01T17:51:33.421 INFO:teuthology.orchestra.run.trial020.stderr:  File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 1901, in _oremote
2026-06-01T17:51:33.421 INFO:teuthology.orchestra.run.trial020.stderr:    return mgr.remote(o, meth, *args, **kwargs)
2026-06-01T17:51:33.421 INFO:teuthology.orchestra.run.trial020.stderr:  File "/usr/share/ceph/mgr/mgr_module.py", line 2579, in remote
2026-06-01T17:51:33.421 INFO:teuthology.orchestra.run.trial020.stderr:    return self._ceph_dispatch_remote(module_name, method_name,
2026-06-01T17:51:33.421 INFO:teuthology.orchestra.run.trial020.stderr:RuntimeError: Remote method threw exception: TypeError: cannot pickle 'CephadmOrchestrator' object

PTAL @rkachach @adk3798

for provenance: https://tracker.ceph.com/issues/75168

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants