Project

General

Profile

Feature #6878

Restructure teuthology utility routines for use from other drivers

Added by Dan Mick over 10 years ago. Updated over 10 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:

Description

I often find myself using teuthology to set up a simple cluster to do other one-off-type tests; I have
a standard yaml fragment ending in "interactive:" and burn a terminal window for it while I experiment.
Recently I had a similar need to set up some automated Calamari construction, and I ended up writing
Python which calls teuthology as a subprocess and watches its stdout/stderr for key job parameters (the
host that was allocated by lock.py) and progress (when 'interactive' prompts, the cluster is ready).

It'd be a lot simpler to do this sort of thing if some or most of teuthology were available as a
Python library. It may be that such restructuring wouldn't be all that hard.

History

#1 Updated by Dan Mick over 10 years ago

simple.yaml is usually something like

roles:
- [mon.0, osd.0, osd.1, client.0]

tasks:
- install:
   branch: dumpling
- ceph:
- interactive:

Also available in: Atom PDF