Project

General

Profile

Feature #6956

ceph-deploy: Prepare node function

Added by John Wilkins almost 8 years ago. Updated about 7 years ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:

Description

With ceph-deploy new {node} [{node}] ... we can create a new cluster. If the nodes aren't set up for SSH, ceph-deploy will handle it. That's lovely. However, we have a procedure in "Getting Started" that calls for a user with passwordless sudo, typically named "ceph", and SSH access using that user name. That's sort of a pain to set up manually for each node, and is a common problem with people getting started using Ceph. It would be nice have a ceph-deploy function that could:

1. Create the user with passwordless sudo
2. Add the SSH keys

It would be nice if we had something like this:

ceph-deploy node prepare user {node1 [node2 ...]}
ceph-deploy node prepare ssh {node1 [node2 ...]}

or simply

ceph-deploy node prepare {node1 [node2 ...]} #implies user and ssh.

We already have #2 incorporated into ceph-deploy new, which we could repurpose for:

ceph-deploy node prepare ssh {node1 [node2 ...]}
ceph-deploy node prepare ssh --uname username {node1 [node2 ...]}

The user name version may be a bit more tricky, since you'd need to authenticate with root or sudo to create the "ceph" user with passwordless sudo.

History

#1 Updated by Loïc Dachary about 7 years ago

  • Project changed from Ceph to devops
  • Category set to ceph-deploy

#2 Updated by Neil Levine about 7 years ago

  • Project changed from devops to Ceph-deploy
  • Category deleted (ceph-deploy)

Also available in: Atom PDF