Project

General

Profile

Actions

Bug #43368

closed

cephadm not requiring lvm2

Added by Sebastian Wagner over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

node1:~ # ceph orchestrator device ls
Error EINVAL: Traceback (most recent call last):
  File "/usr/share/ceph/mgr/mgr_module.py", line 1064, in _handle_command
    return CLICommand.COMMANDS[cmd['prefix']].call(self, cmd, inbuf)
  File "/usr/share/ceph/mgr/mgr_module.py", line 304, in call
    return self.func(mgr, **kwargs)
  File "/usr/share/ceph/mgr/orchestrator.py", line 132, in wrapper
    return func(*args, **kwargs)
  File "/usr/share/ceph/mgr/orchestrator_cli/module.py", line 242, in _list_devices
    orchestrator.raise_if_exception(completion)
  File "/usr/share/ceph/mgr/orchestrator.py", line 643, in raise_if_exception
    raise e
  File "/usr/lib64/python3.6/multiprocessing/pool.py", line 119, in worker
    result = (True, func(*args, **kwds))
  File "/usr/lib64/python3.6/multiprocessing/pool.py", line 44, in mapstar
    return list(map(*args))
  File "/usr/share/ceph/mgr/cephadm/module.py", line 176, in <lambda>
    return cls(on_complete=lambda x: f(*x), value=value, name=name, **c_kwargs)
  File "/usr/share/ceph/mgr/cephadm/module.py", line 891, in _get_inventory
    ['--', 'inventory', '--format=json'])
  File "/usr/share/ceph/mgr/cephadm/module.py", line 642, in _run_cephadm
    code, '\n'.join(err)))
RuntimeError: cephadm exited with an error code: 1, stderr:INFO:cephadm:/usr/bin/podman:stderr Error: error checking path "/run/lvm": stat /run/lvm: no such file or directory
Traceback (most recent call last):
  File "<stdin>", line 2378, in <module>
  File "<stdin>", line 303, in _infer_fsid
  File "<stdin>", line 1672, in command_ceph_volume
  File "<stdin>", line 232, in call_throws
RuntimeError: Failed command: /usr/bin/podman run --rm --net=host --privileged -e CONTAINER_IMAGE=ceph/ceph -e NODE_NAME=node1 -v /run/lvm:/run/lvm -v /run/udev:/run/udev -v /dev:/dev -v /var/log/ceph/1aad48ca-2195-11ea-aa56-52540044d765:/var/log/ceph:z -v /var/lib/ceph/1aad48ca-2195-11ea-aa56-52540044d765/crash:/var/lib/ceph/crash:z -v /run/lock/lvm:/run/lock/lvm -v /var/run/ceph/1aad48ca-2195-11ea-aa56-52540044d765:/var/run/ceph:z -v /sys:/sys --entrypoint /usr/sbin/ceph-volume ceph/ceph inventory --format=json
Actions #1

Updated by Sebastian Wagner over 4 years ago

  • Status changed from In Progress to Fix Under Review
Actions #2

Updated by Sebastian Wagner over 4 years ago

  • Pull request ID set to 32323
Actions #3

Updated by Sebastian Wagner over 4 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF