Project

General

Profile

Actions

Bug #51829

closed

cephadm: deploying cephadm-exporter fails with shutil SameFileError

Added by Adam King almost 3 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
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

]: /bin/podman: stderr Error: error inspecting object: no such container ceph-00000000-0000-0000-0000-0000deadbeef-cephadm-exporter.smithi155
757]: Reconfig daemon cephadm-exporter.smithi155 ...
757]: cephadm-exporter will use default port (9443)
757]: Verifying port 9443 ...
757]: Traceback (most recent call last):
757]:   File "/var/lib/ceph/00000000-0000-0000-0000-0000deadbeef/cephadm.148bc0385ca1692f67211e7b000ddd9198f9eb84e1325b77872db82bca3d2b02", line 8300, in <module>
757]:     main()
757]:   File "/var/lib/ceph/00000000-0000-0000-0000-0000deadbeef/cephadm.148bc0385ca1692f67211e7b000ddd9198f9eb84e1325b77872db82bca3d2b02", line 8288, in main
757]:     r = ctx.func(ctx)
757]:   File "/var/lib/ceph/00000000-0000-0000-0000-0000deadbeef/cephadm.148bc0385ca1692f67211e7b000ddd9198f9eb84e1325b77872db82bca3d2b02", line 1764, in _default_image
757]:     return func(ctx)
757]:   File "/var/lib/ceph/00000000-0000-0000-0000-0000deadbeef/cephadm.148bc0385ca1692f67211e7b000ddd9198f9eb84e1325b77872db82bca3d2b02", line 4483, in command_deploy
757]:     uid, gid, ports=daemon_ports)
757]:   File "/var/lib/ceph/00000000-0000-0000-0000-0000deadbeef/cephadm.148bc0385ca1692f67211e7b000ddd9198f9eb84e1325b77872db82bca3d2b02", line 2661, in deploy_daemon
757]:     cephadm_exporter.deploy_daemon_unit(config_js)
757]:   File "/var/lib/ceph/00000000-0000-0000-0000-0000deadbeef/cephadm.148bc0385ca1692f67211e7b000ddd9198f9eb84e1325b77872db82bca3d2b02", line 7433, in deploy_daemon_unit
757]:     self.binary_path)
757]:   File "/usr/lib64/python3.6/shutil.py", line 245, in copy
757]:     copyfile(src, dst, follow_symlinks=follow_symlinks)
757]:   File "/usr/lib64/python3.6/shutil.py", line 104, in copyfile
757]:     raise SameFileError("{!r} and {!r} are the same file".format(src, dst))
757]: shutil.SameFileError: '/var/lib/ceph/00000000-0000-0000-0000-0000deadbeef/cephadm.148bc0385ca1692f67211e7b000ddd9198f9eb84e1325b77872db82bca3d2b02' and '/var/lib/ceph/00000000-0000-0000-0000-0000deadbeef/>

https://pulpito.ceph.com/swagner-2021-07-23_06:45:42-rados:cephadm-wip-swagner3-testing-2021-07-23-0211-distro-basic-smithi/6288482/

Actions #1

Updated by Kefu Chai over 2 years ago

  • Status changed from New to Resolved
  • Pull request ID set to 42511
Actions

Also available in: Atom PDF