Project

General

Profile

Actions

Feature #9100

open

Automate - manual over-ride for slowness on VMs

Added by Yuri Weinstein over 9 years ago. Updated over 9 years ago.

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

0%

Source:
Q/A
Tags:
Backport:
Reviewed:
Affected Versions:

Description

To avoid problem of slowness of VMs, currently we have added ceph-qa-suite/machine_types/vps.yaml which is called in run-time from teuthology-suite command line. The process of updating this file on teuthology box is manual.

It's likely that in addition to a couple of configurations in this file now we will have more in the future and also we may have to have different configurations for different types of machines.

One use case I can describe would be: on/off option added to the teuthology-suite CL and based on type of machine, proper machine_type/XXX.yaml is added to the final test case yaml.

(We also need to find a place where to document this after permanent solution found)

Actions #1

Updated by Zack Cerza over 9 years ago

Current contents:

overrides:
  ceph:
    conf:
      global:
        osd heartbeat grace: 100
    rgw:
      client.0:
        idle_timeout: 1200
      client.1:
        idle_timeout: 1200
      client.2:
        idle_timeout: 1200
      client.3:
        idle_timeout: 1200

Actions #2

Updated by Sage Weil over 9 years ago

not sure if it makes sense for this to live in master or in the branch that is being tested, so i'm not sure we should have teuthology-suite magically include this yet.

until then, let's symlink ~teuthworker/vps.yaml -> src/ceph-qa-suite_master/machine_type/vps.yaml .. that should make everything magically work for the time being. it's already referenced by the crontab

Actions #3

Updated by Zack Cerza over 9 years ago

Are we using this for all suite branches?

Actions #4

Updated by Yuri Weinstein over 9 years ago

symlink is done

Actions #5

Updated by Yuri Weinstein over 9 years ago

We use it for VPS runs only regardless branches I think

Actions #6

Updated by Zack Cerza over 9 years ago

Okay, why not create a function (or context manager) in teuthology/task/internal.py that sets these overrides, and add it to tasks somewhere in teuthology/run.py's main() (but only if machine_type == 'vps' ?

Actions #7

Updated by Yuri Weinstein over 9 years ago

I can comment on actual suggestion, but it feels like this feature should be easy configurable on user level.

Actions

Also available in: Atom PDF