daemon-helper: optional kill an entire process group

Signed-off-by: Sage Weil <sage@inktank.com>
background_exec: run something in the background

This is a contextmanager task that will run some command in the background
for the duration of any subsequent tasks, and kill it in the cleanup
phase.

Signed-off-by: Sage Weil <sage@inktank.com>
Merge pull request #233 from ceph/wip-background

run something in the background
Fix linter errors

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
Merge pull request #271 from dachary/wip-erasure-code-profile

erasure-code: separate profile from pool creation
erasure-code: str() to avoid + conversion errors

if the value from the yaml file is an int, it must be converted into a
string bevore being concatenated with '='

Signed-off-by: Loic Dachary <loic@dachary.org>
erasure-code: do not prepend 'ceph' to the erasure-code-profile command

When used in the radosgw context, the 'ceph' string must be present but
when used in ceph_manager, the 'ceph' string is already included.

Signed-off-by: Loic Dachary <loic@dachary.org>
erasure-code: fix typo in create_pool argument name

missing _name at the end

Signed-off-by: Loic Dachary <loic@dachary.org>