Commit Graph

5354 Commits

Author SHA1 Message Date
Josh Durgin
563c0e99b9 tasks/populate_rbd_pool: adjust to new ctx.manager location
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:52:00 -07:00
Josh Durgin
691af92f67 tasks/peering_speed_test: adust for new ctx.manager location
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:52:00 -07:00
Josh Durgin
645a0f5d20 tasks/osd_failsafe_enospc: adjust for new ctx.manager location
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:52:00 -07:00
Josh Durgin
70db2726c5 tasks/divergent_priors*: adjust to new ctx.manager location
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:52:00 -07:00
Josh Durgin
e00437ae89 tasks/ceph_objectstore_tool: use existing manager
This is only used after the ceph task, which already createds a
manager for the cluster. Use the default 'ceph' cluster manager for
now.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:52:00 -07:00
Josh Durgin
274d79ade3 tasks/ceph_manager: make utility_task cluster-aware
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:52:00 -07:00
Josh Durgin
3948f108a8 tasks/ceph: make restart subtask cluster-aware
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:51:59 -07:00
Josh Durgin
9ad65769c7 tasks/ceph: make wait_for_mon_quorum cluster-aware
Accept a 'daemons' list like other ceph subtasks, so it can get an
optional 'cluster' setting too.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:51:59 -07:00
Josh Durgin
bb76deaf57 tasks/ceph: make wait_for_osds_up cluster-aware
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:51:59 -07:00
Josh Durgin
ef619062be tasks/ceph: update ctx.manager usage to ctx.managers
Not sure this function is ever used (no users in ceph-qa-suite yamls
or tasks.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:51:59 -07:00
Josh Durgin
1b2087231d tasks/workunit: work with roles that include cluster
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:51:59 -07:00
Josh Durgin
256ebf8a12 tasks: move find_remote to util, rename and add helper
This is a useful for any cluster-aware task.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:51:59 -07:00
Josh Durgin
a3096e8600 tasks/blktrace: make cluster-aware
Need to adjust to lookup devices by role rather than id, so might as
well add a cluster config option while we're at it. Remove the
confusing default config that is not actually used.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:51:59 -07:00
Josh Durgin
bba323834b tasks/ceph_manager: make Thrasher cluster-aware
Just a few spots need to know to lookup only osds in this cluster, or
prefix a filename with the cluster. Use CephManager.find_remote() to
avoid a bunch of repetition and look only in the intended cluster.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:51:59 -07:00
Josh Durgin
713e717fda tasks/ceph_manager: make mount_osd_data() cluster-aware
Use a cluster-specific mount point, and address osds by full role,
rather than just id, in the ctx.disk_config structures.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:51:59 -07:00
Josh Durgin
524e6d7a5e tasks/ceph_manager: add cluster param to write_conf()
Only used by cephfs right now, so don't bother changing callers.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:51:59 -07:00
Josh Durgin
ff49deb6f0 tasks/ceph_manager: simplify remote lookup, and make it cluster aware
Re-implement find_remote() using ctx.cluster.only() with a matcher
function that includes the manager's cluster, and use it instead of
miscellaneous ctx.cluster.only() calls elsewhere.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:51:59 -07:00
Josh Durgin
141c73d399 tasks/ceph_manager: parameterize CephManager with cluster
Add --cluster arguments, pass cluster to get_daemon() and
iter_daemons_of_role, replace 'ceph' with cluster in paths, and use
ctx.ceph[cluster] instead of ctx.ceph.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:51:58 -07:00
Josh Durgin
05bddf9076 tasks/thrashosds: adjust to per-cluster managers
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:51:58 -07:00
Josh Durgin
b88d595571 tasks/thrashosds: add an option to specify the cluster to thrash
Thrashing must be aware of the cluster it is using, since it maintains
some invariants (e.g. enough osds up when waiting to recover).

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:51:58 -07:00
Josh Durgin
0acbafe371 tasks/ceph: store cluster config in a per-cluster dict
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:51:58 -07:00
Josh Durgin
25ff14af74 tasks/ceph: create a CephManager per cluster
Thrashings tasks will be updated to use ctx.managers indexed by
cluster later.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:51:58 -07:00
Josh Durgin
d135470305 tasks/ceph: make healthy() cluster-aware
ceph.healthy may be used as a standalone task, so it may not always
have the cluster name in its configuration.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:51:58 -07:00
Josh Durgin
b0dd04736e tasks/ceph: make cephfs_setup() cluster-aware
Note that cephfs tests using the Filesystem abstractions will need to
be converted to understand multiple clusters later. This just updates
the ceph task portion.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:51:58 -07:00
Josh Durgin
4409710102 tasks/ceph: make crush_setup() cluster-aware
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:51:58 -07:00
Josh Durgin
e19e9e2fa3 tasks/ceph: adapt to cluster-aware daemon.resolve_role_list
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:51:57 -07:00
Josh Durgin
26b8a1f3ac tasks/ceph: make run_daemon() cluster-aware
Pass --cluster where appropriate and include the full role in file
names.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:51:57 -07:00
Josh Durgin
a54ff597fa tasks/ceph: convert cluster creation to work with multiple clusters
Add a cluster option to the ceph task, and pass that through to
cluster(). Make sure monitors and clients don't collide by adding
their cluster to paths they use.

This assumes there is one ceph task per cluster, and osds from
multiple clusters do not share hosts (or else the block device
assignment won't work).

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:51:57 -07:00
Josh Durgin
466678b980 tasks/ceph_client: add cluster param
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-05-09 11:51:57 -07:00
Sage Weil
84aeb9e89e rados: debug rgw test
Signed-off-by: Sage Weil <sage@redhat.com>
2016-05-06 12:03:14 -04:00
Sage Weil
c0031c7cee Merge pull request #984 from ceph/wip-name-len
drop broken name length config args
2016-05-05 12:46:10 -04:00
Sage Weil
2a44c3d20d drop broken name length config args
Signed-off-by: Sage Weil <sage@redhat.com>
2016-05-05 09:07:36 -04:00
David Zafman
51093a3384 Merge pull request #982 from ceph/wip-13507
Changes for wip-13507 and test fixes

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2016-05-04 09:38:56 -07:00
David Zafman
32993194d3 Merge pull request #911 from ceph/wip-8885
Add dump_ops_enable and optrack_toggle_delay options
Add noscrub_toggle_delay and flip the noscrub osd flags 

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-04 09:36:24 -07:00
Yuri Weinstein
7aa2ec1f9e copyed upgrade/infernalis suite to master branch
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2016-05-04 08:46:29 -07:00
David Zafman
5c0edbae3e repair_test: Disable scheduled scrubbing to not mess up do_pg_scrub()
Fixes: http://tracker.ceph.com/issues/15679

Signed-off-by: David Zafman <dzafman@redhat.com>
2016-05-03 09:11:51 -07:00
David Zafman
b25392451e scrub_test: Fix swapped assert error messages
Signed-off-by: David Zafman <dzafman@redhat.com>
2016-05-03 09:11:51 -07:00
David Zafman
4d0c668e9e scrub_test: Fixes need with wip-13507
Accept an attribute if not present as False
Change required due change to dict with "epoch" and "inconsistents"

Signed-off-by: David Zafman <dzafman@redhat.com>
2016-05-03 09:11:33 -07:00
Gregory Farnum
1fde198f97 Merge pull request #976 from ceph/wip-xfs-hadoop
suites/hadoop: use xfs
2016-05-03 07:09:06 -07:00
Samuel Just
5ae46a6932 Merge pull request #981 from ceph/revert-955-tracker13531
Revert "Rados: Tracker-13531-resolve stuck peering"
2016-05-02 20:39:56 -07:00
Samuel Just
18f2aa09ff Revert "Rados: Tracker-13531-resolve stuck peering" 2016-05-02 20:39:39 -07:00
Samuel Just
516beb672d Merge pull request #955 from shylesh/tracker13531
Rados: Tracker-13531-resolve stuck peering

Reviewed-by: Samuel Just <sjust@redhat.com>
2016-05-02 15:53:54 -07:00
shylesh kumar
e3bb551067 Rados: wip-13531:Resolve stuck peering
Signed-off-by: shylesh kumar <shylesh.mohan@gmail.com>
2016-05-02 12:41:14 -04:00
Sage Weil
fdd9c00c0b Merge remote-tracking branch 'gh/jewel' 2016-05-01 20:57:30 -04:00
David Zafman
8da6e97bd4 CephManager: Wait 1 second for pool creation to get far enough along
Fixes: http://tracker.ceph.com/issues/15673

Signed-off-by: David Zafman <dzafman@redhat.com>
2016-04-29 14:29:13 -07:00
David Zafman
a595651c54 CephManager: Maximum 2 minutes for raw cluster commands
Signed-off-by: David Zafman <dzafman@redhat.com>
2016-04-29 09:43:39 -07:00
David Zafman
447bf873a8 thrasher: Add noscrub_toggle_delay and flip the noscrub osd flags
Signed-off-by: David Zafman <dzafman@redhat.com>
2016-04-29 09:43:39 -07:00
David Zafman
7a528763d1 thrasher: Add dump_ops_enable and optrack_toggle_delay options
Add dump_ops_enable which continuously dumps ops using 3 commands
Add optrack_toggle_delay to alternate op tracking enablement

Signed-off-by: David Zafman <dzafman@redhat.com>
2016-04-29 09:43:38 -07:00
David Zafman
4ad3b86604 ceph_manager: Add timeout to admin_socket/osd_admin_socket
Signed-off-by: David Zafman <dzafman@redhat.com>
2016-04-29 09:43:38 -07:00
Casey Bodley
2a48199c1d Merge pull request #891 from ceph/wip-rgw-new-multisite
Wip rgw new multisite

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-04-29 12:10:28 -04:00