Project

General

Profile

Bug #50041

cephadm bootstrap with apply-spec anmd ssh-user option failed while adding the hosts

Added by Daniel Pivonka almost 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
cephadm (binary)
Target version:
-
% Done:

0%

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

Description

ssh-copy-id is being run as the root user because cephadm requires sudo
so it is trying to use the root users ssh keys to copy the cephadm ssh key to the hosts in the spec
the user will be prompted for the host being added password if the root user did not has passwordless ssh to the host being added

ssh-copy-id needs to use the ssh keys of the user passed in by --ssh-user


Related issues

Related to Orchestrator - Bug #49277: cephadm bootstrap --apply-spec <cluster.yaml> hangs Duplicate

History

#1 Updated by Daniel Pivonka almost 3 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 40477

#2 Updated by Ken Dreyer almost 3 years ago

  • Backport set to pacific

#3 Updated by Ken Dreyer almost 3 years ago

Backported to Pacific in https://github.com/ceph/ceph/pull/40544 , will be released in v16.2.1.

#4 Updated by Ken Dreyer almost 3 years ago

  • Status changed from Fix Under Review to Resolved

#5 Updated by Daniel Pivonka almost 3 years ago

  • Status changed from Resolved to Pending Backport
  • Backport changed from pacific to pacific, octopus

#6 Updated by Sebastian Wagner almost 3 years ago

  • Related to Bug #49277: cephadm bootstrap --apply-spec <cluster.yaml> hangs added

#7 Updated by Daniel Pivonka almost 3 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF