Project

General

Profile

Actions

Task #6982

closed

Ensure that setting up a new ceph cluster is less than 5 minutes of work

Added by Nico Schottelius over 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
High
Assignee:
ll nu
Target version:
-
Start date:
07/18/2019
Due date:
% Done:

0%

Estimated time:
PM Check date:

Description

  • Have a cdist type/types ready
  • Have it publicly documented
  • Require the minimum amount of parameters
  • Maybe base it on the existing internal ceph types
  • Maybe push it upstream into cdist (-> coordinate with Darko)

Rough sketch

  • get fsid via uuidgen
    
    fsid=6b1e41a1-6346-407a-8d40-b640bf2e4bba
    ceph_mons="ceph-mon1 ceph-mon2 ceph-mon3" 
    
    case $__target_host in
    __ceph-mon*)
        __ceph --fsid $fsid --mons "$ceph_mons" 
     ;;
    esac
    
    cdist config ceph-mon*
    OSDs manually created
    

Rough sketch, but whole process should really take < 5m, including creating VMs

Actions

Also available in: Atom PDF