I hereby claim:
- I am zmc on github.
- I am zmc (https://keybase.io/zmc) on keybase.
- I have a public key whose fingerprint is 63FD 0576 6599 D286 94CD A9F3 1C37 E35F 8FE0 7CEF
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python | |
""" | |
This is a test case for http://tracker.ceph.com/issues/8116 | |
It will base64-decode the payload, then attempt to ssh to your local machine | |
and read it via teuthology-wrapped paramiko | |
""" | |
import base64 | |
import subprocess | |
from teuthology.orchestra.remote import Remote |
#!/usr/bin/env python | |
import base64 | |
import subprocess | |
from teuthology.orchestra.connection import paramiko | |
from teuthology.orchestra.remote import Remote | |
bad_file_name = '/tmp/monmap.bad' | |
hostname = subprocess.Popen('hostname', stdout=subprocess.PIPE)\ | |
.stdout.read().strip() |
roles: | |
- [mon.a, mds.a, osd.0, osd.1,client.0] | |
tasks: | |
- nop: |
#!/bin/bash | |
# A simple script used by Red Hat to start teuthology-worker processes. | |
ARCHIVE=$HOME/archive | |
WORKER_LOGS=$ARCHIVE/worker_logs | |
function start_workers_for_tube { | |
echo "Starting $2 workers for $1" | |
for i in `seq 1 $2` |
We recently set up a new lab for Ceph testing and decided to document the parts of the process that are most relevant to teuthology. This is the result.
We started by setting aside two of the test machines: one as the 'teuthology node', and another as the 'paddles/pulpito node'. These would be used to orchestrate automated testing and to store and serve the results on our intranet.
TASK: [ceph-osd | debug combined_parted_results.results] ********************** | |
ok: [target078012.ovh.sepia.ceph.com] => { | |
"var": { | |
"combined_parted_results.results": [ | |
{ | |
"changed": false, | |
"cmd": "parted --script /dev/vda print | egrep -sq '^ 1.*ceph'", | |
"delta": "0:00:00.011337", | |
"end": "2016-02-22 16:36:08.487354", | |
"failed": false, |
16:20:54 zack@teuthology ceph master $ cat /tmp/old.sh
#!/bin/sh -x
set -e
# Reformat version if needed to match RPM version and release
if expr index $(git describe --always) '-' > /dev/null ; then
desc=$(git describe --always | sed 's/^v//')
RPM_VER=$(echo $desc | cut -d'-' -f1)
import gc | |
import gevent | |
import traceback | |
def find_greenlets(): | |
greenlets = list() | |
objects = gc.get_objects() | |
for obj in objects: | |
if isinstance(obj, gevent.greenlet.greenlet): |