]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
task/hadoop: fix for multi cluster is_type() change 859/head
authorJosh Durgin <jdurgin@redhat.com>
Fri, 13 May 2016 04:43:44 +0000 (21:43 -0700)
committerJosh Durgin <jdurgin@redhat.com>
Fri, 13 May 2016 04:46:34 +0000 (21:46 -0700)
commit5ad408ec75ef893d625893fc42197242bfcaadfd
tree506dbaf45bfe240ca47187b3ce405e6875c0693c
parent7b7b835f6c252d6663a4e1353ce45d23fd090f73
task/hadoop: fix for multi cluster is_type() change

This is the only non-ceph task that uses custom roles, and it happens
to put a '.' as a delimiter between hadoop and the rest of the
role. Since the multi-cluster branch, is_type() is ceph-specific and
interprets this as a cluster named hadoop.

To avoid needing to change several branches in ceph-qa-suite, just use
a local is_hadoop_type() function instead of relying on the now
ceph-specific misc.is_type().

Fixes: http://tracker.ceph.com/issues/15862
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
teuthology/task/hadoop.py