Project

General

Profile

2E - Chef Cookbook Consolidation & » History » Version 1

Jessica Mack, 06/22/2015 04:48 AM

1 1 Jessica Mack
h1. 2E - Chef Cookbook Consolidation & ceph-deploy Improvements
2
3
Live Pad
4
The live pad can be found here: [pad]
5
Summit Snapshot
6
 
7
Welcome to the Ceph Etherpad!
8
9
Chef: ( http://github.com/ceph/ceph-cookbooks )
10
11
Past few months: refactored recipes, included Newdream input
12
Soliciting input for recipe features or anything else!
13
14
Current features:
15
    Deploy mon/osd
16
    Supports latest Bobtail and Cuttlefish only
17
Possible extensions:
18
    Does anyone need other release support?
19
    Limiting power of deployment keys (monitor key opens everything)
20
    Error management/recovery
21
Other issues:
22
    Consolidate best practices from many Chef cookbook authors
23
    Compatibility with ceph-deploy approach would be nice, at least from ceph-deploy -> Chef
24
25
    -> Documentation on migration path.
26
 
27
Loo k at https://github.com/wonko/ceph-cookbook to see if we can take some features.
28
29
 
30
    
31
    
32
Questions:
33
    Q: How will the Chef scripts be synced with the Barclamp Chef recipes?
34
    A: Dell/SuSE are working on it most; ideally they would simply include upstream recipes
35
36
37
Q: LWRP for creating pools? clients? manage keys? 
38
A: the intent is to deploy, but not administer, so focused on setup for now
39
 
40
Lightweigth resource Resources and Providers - kind of abstraction for objects/resources in chef - http://docs.opscode.com/lwrp.html
41
Presentation on LWRP from chefconf (thanks kbader):
42
https://docs.google.com/presentation/d/1gQj_QNbzIecZQtbb4oVNMZKlPqiO1q6d08g5l8BqWOI/edit#slide=id.p
43
 
44
   Q: when someone want to put effort in the cookbooks, what sections would you want to be tackled first? (cleanup, more distributions, hardening the runs, ...)
45
   A: first priority is better testing on Centos/Redhat/SuSE/Fedora; error handling also needs help
46
   
47
   Q: are there any tests in the cookbooks? 
48
   A: no, and we'd like to have some
49
   What kind?  Ideally we'd use something like test-kitchen with a handful of minitest handlers
50
   Not sure what the convention is for test frameworks for Chef, but "as nonsurprising as possible" always seems right to me
51
52
  Q: previously there was some goal of running a setup adding additional disks (osds) through some labels on the disks - and then auto-add them to the cluster - is this still the way to go?
53
  A: yes, ceph-create-keys/ceph-disk (in the ceph repo itself, http://github.com/ceph/ceph ) and the upstart/sysvinit scripts support auto-configuring disks today, and ceph-deploy will mark disks for that sort of delayed activation
54
  A2: We have some newer chef cookbooks that dreamhost worked with inktank on and they use the ceph-disk-prepare, ceph-disk-activate tooling, we'll open that up and share it
55
56
ceph-deploy:
57
58
Syncing efforts between ceph-deploy and Chef is a requirement; publicizing changes/conventions for other environments (Juju, Salt, Puppet) will probably be done in the mailing list
59
can it have it own mailing list please
60