Project

General

Profile

Actions

Bug #50041

closed

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

Added by Daniel Pivonka about 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 1 (0 open1 closed)

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

Actions
Actions #1

Updated by Daniel Pivonka about 3 years ago

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

Updated by Ken Dreyer about 3 years ago

  • Backport set to pacific
Actions #3

Updated by Ken Dreyer about 3 years ago

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

Actions #4

Updated by Ken Dreyer about 3 years ago

  • Status changed from Fix Under Review to Resolved
Actions #5

Updated by Daniel Pivonka about 3 years ago

  • Status changed from Resolved to Pending Backport
  • Backport changed from pacific to pacific, octopus
Actions #6

Updated by Sebastian Wagner about 3 years ago

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

Updated by Daniel Pivonka almost 3 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF