Bug #50041
cephadm bootstrap with apply-spec anmd ssh-user option failed while adding the hosts
% Done:
0%
Source:
Tags:
Backport:
pacific, octopus
Regression:
No
Severity:
3 - minor
Reviewed:
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
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