cthulhu: spelling, log boilerplate errors in pool_request_factory.py

Signed-off-by: Dan Mick <dan.mick@inktank.com>
cthulhu: set appropriate min_size on pool create/update

Use an algorithm similar to Ceph's: requested min_size or
default, compare to size, use whichever is smaller; or if
no requested *or* default, use size - size/2.

On update, only recalculate min_size if size or min_size is given.

Fixes: #8820
Signed-off-by: Dan Mick <dan.mick@inktank.com>
tests: try several pool min_size updates relative to size

Signed-off-by: Dan Mick <dan.mick@inktank.com>
doc: note special handling of min_size in pool create/modify

Signed-off-by: Dan Mick <dan.mick@inktank.com>
doc: missing module level in manhole notes

Signed-off-by: Dan Mick <dan.mick@inktank.com>
doc: update restapi docs

Signed-off-by: Dan Mick <dan.mick@inktank.com>
Merge pull request #194 from ceph/wip-8820

Squashed series from wip-8820
fix calamari-ctl initialize error "TEMPLATE_DIRS setting must be a tuple"

When setting calamari according to "http://calamari.readthedocs.org/en/latest/development/dev_env.html", by executing "CALAMARI_CONFIG=dev/calamari.conf calamari-ctl initialize", error happens.
Log in /tmp shows: "ImproperlyConfigured: The TEMPLATE_DIRS setting must be a tuple. Please fix your settings.".
Cause: TEMPLATE_DIRS here in settings.py is one element tuple which should have a comma.
Environment: Python 2.7.6, Ubuntu Trusty.

Signed-off-by: Xan Peng xanpeng@gmail.com

Closes #196
Set VirtualHost ServerName to 'calamari'

Prior to commit 525606f, the debian calamari.conf had ServerName set to
'graphite', while the el6 and rhel7 calamari.conf files had it set to
'calamari'.  I'm assuming 'calamari' is preferable to 'graphite' in this
context ;)

Signed-off-by: Tim Serong <tserong@suse.com>
Merge pull request #197 from SUSE/wip-fix-servername

Set VirtualHost ServerName to 'calamari'

Reviewed-by: Dan Mick <dan.mick@inktank.com>
rest-api: add endpoint for crush_node. add view and serializer

Signed-off-by: Gregory Meno <gregory.meno@inktank.com>
rest-api: remove create/update/delete endpoints

update serializer to reflect operations that are implemented in the CLI

Signed-off-by: Gregory Meno <gregory.meno@inktank.com>
saving state
cthulhu: make smart decisions about how to update a bucket

Signed-off-by: Gregory Meno <gregory.meno@inktank.com>