Project

General

Profile

Bug #43609

cephadm: /usr/sbin/udevadm: error while loading shared libraries: libsystemd-shared-239.so: cannot open shared object file: No such file or director

Added by Sage Weil 3 days ago. Updated about 9 hours ago.

Status:
New
Priority:
Urgent
Assignee:
-
Category:
teuthology
Target version:
-
% Done:

0%

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

Description

2020-01-14T16:39:45.842 INFO:teuthology.orchestra.run.smithi193.stderr:Error EINVAL: Traceback (most recent call last):
2020-01-14T16:39:45.842 INFO:teuthology.orchestra.run.smithi193.stderr:  File "/usr/share/ceph/mgr/mgr_module.py", line 1064, in _handle_command
2020-01-14T16:39:45.842 INFO:teuthology.orchestra.run.smithi193.stderr:    return CLICommand.COMMANDS[cmd['prefix']].call(self, cmd, inbuf)
2020-01-14T16:39:45.843 INFO:teuthology.orchestra.run.smithi193.stderr:  File "/usr/share/ceph/mgr/mgr_module.py", line 304, in call
2020-01-14T16:39:45.843 INFO:teuthology.orchestra.run.smithi193.stderr:    return self.func(mgr, **kwargs)
2020-01-14T16:39:45.843 INFO:teuthology.orchestra.run.smithi193.stderr:  File "/usr/share/ceph/mgr/orchestrator.py", line 140, in wrapper
2020-01-14T16:39:45.843 INFO:teuthology.orchestra.run.smithi193.stderr:    return func(*args, **kwargs)
2020-01-14T16:39:45.843 INFO:teuthology.orchestra.run.smithi193.stderr:  File "/usr/share/ceph/mgr/orchestrator_cli/module.py", line 364, in _create_osd
2020-01-14T16:39:45.843 INFO:teuthology.orchestra.run.smithi193.stderr:    orchestrator.raise_if_exception(completion)
2020-01-14T16:39:45.843 INFO:teuthology.orchestra.run.smithi193.stderr:  File "/usr/share/ceph/mgr/orchestrator.py", line 654, in raise_if_exception
2020-01-14T16:39:45.844 INFO:teuthology.orchestra.run.smithi193.stderr:    raise e
2020-01-14T16:39:45.844 INFO:teuthology.orchestra.run.smithi193.stderr:  File "/lib64/python3.6/multiprocessing/pool.py", line 119, in worker
2020-01-14T16:39:45.844 INFO:teuthology.orchestra.run.smithi193.stderr:    result = (True, func(*args, **kwds))
2020-01-14T16:39:45.844 INFO:teuthology.orchestra.run.smithi193.stderr:  File "/usr/share/ceph/mgr/cephadm/module.py", line 190, in <lambda>
2020-01-14T16:39:45.844 INFO:teuthology.orchestra.run.smithi193.stderr:    return cls(on_complete=lambda x: f(*x), value=args, name=name, **c_kwargs)
2020-01-14T16:39:45.844 INFO:teuthology.orchestra.run.smithi193.stderr:  File "/usr/share/ceph/mgr/cephadm/module.py", line 982, in _create_osd
2020-01-14T16:39:45.844 INFO:teuthology.orchestra.run.smithi193.stderr:    stdin=j)
2020-01-14T16:39:45.844 INFO:teuthology.orchestra.run.smithi193.stderr:  File "/usr/share/ceph/mgr/cephadm/module.py", line 668, in _run_cephadm
2020-01-14T16:39:45.845 INFO:teuthology.orchestra.run.smithi193.stderr:    code, '\n'.join(err)))
2020-01-14T16:39:45.845 INFO:teuthology.orchestra.run.smithi193.stderr:RuntimeError: cephadm exited with an error code: 1, stderr:INFO:cephadm:/bin/podman:stderr  stderr: /usr/sbin/udevadm: error while loading shared libraries: libsystemd-shared-239.so: cannot open shared object file: No such file or directory

/a/sage-2020-01-14_16:06:27-rados:thrash-old-clients-wip-sage2-testing-2020-01-13-1256-distro-basic-smithi/4667616

see https://github.com/ceph/ceph-container/issues/1571

History

#1 Updated by Sebastian Wagner 2 days ago

  • Project changed from mgr to Orchestrator
  • Category set to teuthology

#2 Updated by Sage Weil about 9 hours ago

The container seems to be missing /usr/lib/systemd.

One some containers (e.g., quay.io/ceph-ci/ceph:aac84a3d967b052385cc0d9df29c6f51680655bf), i can 'dnf update' or 'dnf install systemd-239' or 'dnf install systemdudev' and upgrade from systemd-udev-239-13.el8_0.5.x86_64 to systemd-udev-239-18.el8_1.1.x86_64 and that restores it.

On others (e.g. today's latest-master-devel), the package is already systemd-239-18.el8_1.1.x86_64 and /usr/lib/systemd is missing.

note that the files belong to the systemd-239 package

[ceph: root@gnit /]# rpm -ql systemd-239-18.el8_1.1.x86_64 | grep -c /usr/lib/systemd   
266

#3 Updated by Sage Weil about 9 hours ago

  • Description updated (diff)

Also available in: Atom PDF