ceph/teuthology/task
Loic Dachary 98e0617651 erasure-code: separate profile from pool creation
Instead of being hard coded, the erasure code profile is read from yaml
as:

    erasure_code_profile:
      name: teuthologyprofile
      k: 2
      m: 1
      ruleset-failure-domain: osd

Which translates into

    ceph osd erasure-code-profile set teuthologyprofile \
        k=2 m=1 ruleset-failure-domain=osd

The semantic of k/m etc. depends on the erasure code plugin, but it is
common to use k as the dividing factor for each object and m as the
number of coding chunks.

Using a different set of parameters or a different plugin can
be done without modifying the teuthology code:

    erasure_code_profile:
      name: LRCprofile
      plugin: LRC
      mapping: __DD__DD
      layers: [[ "_cDD_cDD", "" ], [ "cDDD____", "" ], [ "____cDDD", ""]]

For backward compatibility, the default erasure code profile is set to

      k: 2
      m: 1
      ruleset-failure-domain: osd

which matches the previously hardcoded default of the corresponding
functions.

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-06-30 22:43:57 +02:00
..
calamari
test Add unit test for task.devstack.parse_os_table() 2014-02-21 11:23:31 -06:00
__init__.py
adjust-ulimits
admin_socket.py Revert "Lines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'" 2014-03-27 11:35:28 -05:00
apache.conf.template rgw: idle timeout config moves to the external server line 2014-03-27 10:24:00 -07:00
args.py Fixed task/args.py docstrings. 2014-02-14 17:28:38 -08:00
autotest.py Revert "Lines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'" 2014-03-27 11:35:28 -05:00
blktrace.py Fix docstrings for task/blktrace.py, peering_speed_test.py, proc_thrasher.py and 2014-02-14 15:13:01 -08:00
calamari.py Revert "Lines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'" 2014-03-27 11:35:28 -05:00
ceph_client.py
ceph_deploy.py tasks: Use '_' instead of '-' in names 2014-05-28 14:39:41 +01:00
ceph_fuse.py Add a timeout for unmounting 2014-06-03 12:39:38 -05:00
ceph_manager.py erasure-code: separate profile from pool creation 2014-06-30 22:43:57 +02:00
ceph.py Merge pull request #265 from ceph/wip-orchestra 2014-06-03 09:12:21 -04:00
chef.py
cifs_mount.py tasks: Use '_' instead of '-' in names 2014-05-28 14:39:41 +01:00
clock.py Don't pass a custom logger anymore 2014-05-10 09:10:23 -05:00
common_fs_utils.py Revert "Lines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'" 2014-03-27 11:35:28 -05:00
cram.py Revert "Lines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'" 2014-03-27 11:35:28 -05:00
daemon-helper
devstack.py Add explanations to asserts 2014-02-21 09:57:29 -06:00
die_on_err.py Revert "Lines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'" 2014-03-27 11:35:28 -05:00
divergent_priors.py Revert "Lines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'" 2014-03-27 11:35:28 -05:00
dump_stuck.py Revert "Lines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'" 2014-03-27 11:35:28 -05:00
ec_lost_unfound.py task/: add tests for ec and rep mark_unfound_lost delete 2014-04-22 17:39:29 -07:00
edit_sudoers.sh
exec.py Revert "Lines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'" 2014-03-27 11:35:28 -05:00
filestore_idempotent.py Update users of the teuthology.orchestra.run APIs 2014-05-30 16:05:23 -05:00
hadoop.py
install.py Use VersionNotFoundError packages are missing 2014-05-13 10:21:18 -05:00
interactive.py Moves node: remote mapping to the internal task. 2014-04-29 05:09:07 -07:00
internal.py Update users of the teuthology.orchestra.run APIs 2014-05-30 16:05:23 -05:00
iscsi.py
kclient.py
kcon_most
kcon_most.py
kernel.py Merge pull request #268 from ceph/wip-5400 2014-06-09 16:41:10 -05:00
knfsd.py
localdir.py
lockfile.py Update users of the teuthology.orchestra.run APIs 2014-05-30 16:05:23 -05:00
locktest.py Update users of the teuthology.orchestra.run APIs 2014-05-30 16:05:23 -05:00
lost_unfound.py Revert "Lines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'" 2014-03-27 11:35:28 -05:00
manypools.py Revert "Lines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'" 2014-03-27 11:35:28 -05:00
mds_creation_failure.py Revert "Lines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'" 2014-03-27 11:35:28 -05:00
mds_journal_migration.py tasks/mds_journal_migration: create. 2014-05-28 14:39:41 +01:00
mds_thrash.py Revert "Lines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'" 2014-03-27 11:35:28 -05:00
metadata.yaml
mon_clock_skew_check.py Revert "Lines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'" 2014-03-27 11:35:28 -05:00
mon_recovery.py Revert "Lines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'" 2014-03-27 11:35:28 -05:00
mon_thrash.py When ignoring a raised exception, at least log it 2014-03-31 17:46:27 -05:00
mpi.py Revert "Lines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'" 2014-03-27 11:35:28 -05:00
multibench.py
nfs.py
nop.py
object_source_down.py Revert "Lines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'" 2014-03-27 11:35:28 -05:00
omapbench.py Revert "Lines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'" 2014-03-27 11:35:28 -05:00
osd_backfill.py Update users of the teuthology.orchestra.run APIs 2014-05-30 16:05:23 -05:00
osd_failsafe_enospc.py Update users of the teuthology.orchestra.run APIs 2014-05-30 16:05:23 -05:00
osd_recovery.py Update users of the teuthology.orchestra.run APIs 2014-05-30 16:05:23 -05:00
parallel_example.py Update users of the teuthology.orchestra.run APIs 2014-05-30 16:05:23 -05:00
parallel.py Revert "Do not spawn a parallel task if dictionary entry does not exist." 2014-03-06 16:56:14 -08:00
peer.py Revert "Lines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'" 2014-03-27 11:35:28 -05:00
peering_speed_test.py Revert "Lines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'" 2014-03-27 11:35:28 -05:00
pexec.py Revert "Lines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'" 2014-03-27 11:35:28 -05:00
populate_rbd_pool.py task/: add populate_rbd_pool for quickly spinning up a pool with rbd stuff 2014-05-19 15:04:54 -07:00
print.py Add print task. 2014-03-10 16:45:03 -07:00
proc_thrasher.py Fix docstrings for task/blktrace.py, peering_speed_test.py, proc_thrasher.py and 2014-02-14 15:13:01 -08:00
qemu.py Fix kvm issues for Trusty 2014-04-14 16:07:27 -07:00
rados.py erasure-code: separate profile from pool creation 2014-06-30 22:43:57 +02:00
radosbench.py erasure-code: separate profile from pool creation 2014-06-30 22:43:57 +02:00
radosgw_admin_rest.py tasks: Use '_' instead of '-' in names 2014-05-28 14:39:41 +01:00
radosgw_admin.py radosgw-admin: adjust bucket link interface 2014-06-02 09:23:27 -05:00
radosgw_agent.py Update users of the teuthology.orchestra.run APIs 2014-05-30 16:05:23 -05:00
rbd_fsx.py rbd_fsx: expose krbd and related fsx options 2014-05-07 17:55:09 +04:00
rbd.py rbd: change test_script to run_xfstests_krbd.sh 2014-05-31 15:16:52 +04:00
recovery_bench.py Revert "Lines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'" 2014-03-27 11:35:28 -05:00
rep_lost_unfound_delete.py task/: add tests for ec and rep mark_unfound_lost delete 2014-04-22 17:39:29 -07:00
repair_test.py Add missng docstrings to repair_test.py 2014-05-13 14:02:13 -07:00
rest_api.py tasks: Use '_' instead of '-' in names 2014-05-28 14:39:41 +01:00
restart.py Update users of the teuthology.orchestra.run APIs 2014-05-30 16:05:23 -05:00
rgw_logsocket.py tasks: Use '_' instead of '-' in names 2014-05-28 14:39:41 +01:00
rgw.py rgw: fix indentation for cache_pools 2014-05-06 09:22:49 -07:00
s3readwrite.py Revert "Lines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'" 2014-03-27 11:35:28 -05:00
s3roundtrip.py Revert "Lines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'" 2014-03-27 11:35:28 -05:00
s3tests.py Revert "Lines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'" 2014-03-27 11:35:28 -05:00
samba.py Fixed broken quotations 2014-05-19 16:18:48 -07:00
scrub_test.py Revert "Lines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'" 2014-03-27 11:35:28 -05:00
scrub.py Revert "Lines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'" 2014-03-27 11:35:28 -05:00
sequential.py
sleep.py
ssh_keys.py Fix docstrings and minor formatting in task/ssh_keys.py 2014-02-14 15:48:38 -08:00
swift.py Revert "Lines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'" 2014-03-27 11:35:28 -05:00
tasktest.py
tgt.py
thrashosds.py Allow scrubbing while thrashing 2014-04-28 11:00:38 -07:00
timer.py
userdata_setup.yaml
userdata_teardown.yaml
valgrind.supp valgrind: fix tcmalloc suppression for trusty 2014-04-28 15:57:36 -07:00
watch_notify_stress.py Revert "Lines formerly of the form '(remote,) = ctx.cluster.only(role).remotes.keys()'" 2014-03-27 11:35:28 -05:00
workunit.py Use Remote.user 2014-05-10 09:10:22 -05:00