Skip to content

mgr/cephadm: check existence of the RADOS pool#36508

Merged
sebastian-philipp merged 3 commits intoceph:masterfrom
mgfritch:cephadm-nfs-rados-pool
Aug 17, 2020
Merged

mgr/cephadm: check existence of the RADOS pool#36508
sebastian-philipp merged 3 commits intoceph:masterfrom
mgfritch:cephadm-nfs-rados-pool

Conversation

@mgfritch
Copy link
Contributor

@mgfritch mgfritch commented Aug 7, 2020

Check existence of the RADOS pool during orch reconfig/redeploy:

$ bin/ceph orch reconfig nfs.foo
Error EINVAL: Traceback (most recent call last):
  File "/usr/share/ceph/mgr/mgr_module.py", line 1171, in _handle_command
    return self.handle_command(inbuf, cmd)
  File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 138, in handle_command
    return dispatch[cmd['prefix']].call(self, cmd, inbuf)
  File "/usr/share/ceph/mgr/mgr_module.py", line 311, in call
    return self.func(mgr, **kwargs)
  File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 100, in <lambda>
    wrapper_copy = lambda *l_args, **l_kwargs: wrapper(*l_args, **l_kwargs)
  File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 89, in wrapper
    return func(*args, **kwargs)
  File "/usr/share/ceph/mgr/orchestrator/module.py", line 1088, in _service_action
    raise_if_exception(completion)
  File "/usr/share/ceph/mgr/orchestrator/_interface.py", line 658, in raise_if_exception
    raise e
rados.ObjectNotFound: [errno 2] RADOS object not found (RADOS object not found (error opening pool 'b'cephfs.a.dat''))

Signed-off-by: Michael Fritch mfritch@suse.com

Checklist

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

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

@mgfritch mgfritch requested a review from a team as a code owner August 7, 2020 00:56
@mgfritch mgfritch changed the title Cephadm nfs rados pool mgr/cephadm: check existence of the RADOS pool Aug 7, 2020
@sebastian-philipp sebastian-philipp added the wip-swagner-testing My Teuthology tests label Aug 7, 2020
Signed-off-by: Michael Fritch <mfritch@suse.com>
Signed-off-by: Michael Fritch <mfritch@suse.com>
Signed-off-by: Michael Fritch <mfritch@suse.com>
@mgfritch mgfritch force-pushed the cephadm-nfs-rados-pool branch from b94a5cb to 4419c18 Compare August 7, 2020 16:46
@sebastian-philipp
Copy link
Contributor

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