Project

General

Profile

Actions

Bug #45284

closed
RM RM

cephadm: Access host files on "cephadm shell"

Bug #45284: cephadm: Access host files on "cephadm shell"

Added by Ricardo Marques over 6 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Ricardo Marques
Category:
cephadm (binary)
Target version:
Due date:
% Done:

0%

Source:
Backport:
octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v16.0.0-1329-gd347db28bc
Released In:
v16.2.0~2666
Upkeep Timestamp:
2025-07-15T01:13:33+00:00

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'

RM Updated by Ricardo Marques over 6 years ago Actions #1

  • Assignee set to Ricardo Marques

RM Updated by Ricardo Marques over 6 years ago Actions #2

  • Status changed from New to In Progress

RM Updated by Ricardo Marques over 6 years ago Actions #3

  • Pull request ID set to 34773

SW Updated by Sebastian Wagner over 6 years ago Actions #4

  • Status changed from In Progress to Pending Backport

SW Updated by Sebastian Wagner over 6 years ago Actions #5

  • Status changed from Pending Backport to Resolved
  • Target version changed from v16.0.0 to v15.2.4

UB Updated by Upkeep Bot over 1 year ago Actions #6

  • Merge Commit set to d347db28bcc04c1ee9266338549b5c5c8bd28b05
  • Fixed In set to v16.0.0-1329-gd347db28bc
  • Released In set to v16.2.0~2666
  • Upkeep Timestamp set to 2025-07-15T01:13:33+00:00
Actions

Also available in: PDF Atom