Skip to content

Commit

Permalink
Merge pull request ceph#37678 from ideepika/wip-drop-hammer-from-qa
Browse files Browse the repository at this point in the history
qa: drop hammer branch qa tests

Reviewed-by: Josh Durgin <[email protected]>
Reviewed-by: Neha Ojha <[email protected]>
  • Loading branch information
neha-ojha authored Oct 23, 2020
2 parents 6434564 + 7ef1855 commit 27871ca
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 132 deletions.
98 changes: 0 additions & 98 deletions qa/erasure-code/ec-feature-plugins-v3.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions qa/machine_types/schedule_rados_ovh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ echo "Scheduling " $2 " branch"
if [ $2 = "master" ] ; then
# run master branch with --newest option looking for good sha1 7 builds back
teuthology-suite -v -c $2 -m $3 -k distro -s rados --subset $(echo "(($(date +%U) % 4) * 7) + $1" | bc)/28 --newest 7 -e $4 ~/vps.yaml $5
elif [ $2 = "hammer" ] ; then
# run hammer branch with less jobs
teuthology-suite -v -c $2 -m $3 -k distro -s rados --subset $(echo "(($(date +%U) % 4) * 7) + $1" | bc)/56 -e $4 ~/vps.yaml $5
elif [ $2 = "jewel" ] ; then
# run jewel branch with /40 jobs
teuthology-suite -v -c $2 -m $3 -k distro -s rados --subset $(echo "(($(date +%U) % 4) * 7) + $1" | bc)/40 -e $4 ~/vps.yaml $5
Expand Down
3 changes: 0 additions & 3 deletions qa/machine_types/schedule_subset.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ if [ $2 = "master" ] ; then
# run master branch with --newest option looking for good sha1 7 builds back with /100000 jobs
# using '-p 80 --force-priority' as an execption ATM
teuthology-suite -v -c $2 -m $3 -k $6 -s $4 --subset $(echo "(($(date +%U) % 4) * 7) + $1" | bc)/100000 --newest 7 -e $5 $7 -p 80 --force-priority
elif [ $2 = "hammer" ] ; then
# run hammer branch with less jobs
teuthology-suite -v -c $2 -m $3 -k $6 -s $4 --subset $(echo "(($(date +%U) % 4) * 7) + $1" | bc)/56 -e $5 $7
elif [ $2 = "jewel" ] ; then
# run jewel branch with /40 jobs
teuthology-suite -v -c $2 -m $3 -k $6 -s $4 --subset $(echo "(($(date +%U) % 4) * 7) + $1" | bc)/40 -e $5 $7
Expand Down
10 changes: 0 additions & 10 deletions qa/suites/teuthology/buildpackages/tasks/branch.yaml

This file was deleted.

26 changes: 8 additions & 18 deletions qa/tasks/ceph.py
Original file line number Diff line number Diff line change
Expand Up @@ -974,14 +974,9 @@ def cluster(ctx, config):
)
mnt_point = DATA_PATH.format(
type_='osd', cluster=cluster_name, id_=id_)
try:
remote.run(args=[
'sudo', 'chown', '-R', 'ceph:ceph', mnt_point
])
except run.CommandFailedError as e:
# hammer does not have ceph user, so ignore this error
log.info('ignoring error when chown ceph:ceph,'
'probably installing hammer: %s', e)
remote.run(args=[
'sudo', 'chown', '-R', 'ceph:ceph', mnt_point
])

log.info('Reading keys from all nodes...')
keys_fp = BytesIO()
Expand Down Expand Up @@ -1071,14 +1066,9 @@ def cluster(ctx, config):
'--keyring', keyring_path,
],
)
try:
remote.run(args=[
'sudo', 'chown', '-R', 'ceph:ceph', mnt_point
])
except run.CommandFailedError as e:
# hammer does not have ceph user, so ignore this error
log.info('ignoring error when chown ceph:ceph,'
'probably installing hammer: %s', e)
remote.run(args=[
'sudo', 'chown', '-R', 'ceph:ceph', mnt_point
])

run.wait(
mons.run(
Expand Down Expand Up @@ -1321,7 +1311,7 @@ def run_daemon(ctx, config, type_):
daemon_signal = 'term'

# create osds in order. (this only matters for pre-luminous, which might
# be hammer, which doesn't take an id_ argument to legacy 'osd create').
# be jewel/hammer, which doesn't take an id_ argument to legacy 'osd create').
osd_uuids = {}
for remote, roles_for_host in daemons.remotes.items():
is_type_ = teuthology.is_type(type_, cluster_name)
Expand All @@ -1348,7 +1338,7 @@ def run_daemon(ctx, config, type_):
]
)
except:
# fallback to pre-luminous (hammer or jewel)
# fallback to pre-luminous (jewel)
remote.run(
args=[
'sudo', 'ceph', '--cluster', cluster_name,
Expand Down

0 comments on commit 27871ca

Please sign in to comment.