Actions
Bug #45284
closedcephadm: Access host files on "cephadm shell"
Status:
Resolved
Priority:
Normal
Assignee:
Ricardo Marques
Category:
cephadm (binary)
Target version:
% Done:
0%
Source:
Tags:
Backport:
octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Description
I have a file on my host, that I would like to use to set a "config-key":
master:/etc/ceph # head -1 /tmp/ceph-salt-ssh-id_rsa -----BEGIN RSA PRIVATE KEY-----
But when I try to use that file, I get an error because the file is not accessible inside the container:
master:/etc/ceph # cephadm shell -- ceph config-key set mgr/cephadm/ssh_identity_key -i /tmp/ceph-salt-ssh-id_rsa ... Can't open input file /tmp/ceph-salt-ssh-id_rsa: [Errno 2] No such file or directory: '/tmp/ceph-salt-ssh-id_rsa'
Updated by Ricardo Marques about 4 years ago
- Status changed from New to In Progress
Updated by Sebastian Wagner about 4 years ago
- Status changed from In Progress to Pending Backport
Updated by Sebastian Wagner almost 4 years ago
- Status changed from Pending Backport to Resolved
- Target version changed from v16.0.0 to v15.2.4
Actions