Feature #9100
open
Automate - manual over-ride for slowness on VMs
Added by Yuri Weinstein over 9 years ago.
Updated over 9 years ago.
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)
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
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
Are we using this for all suite branches?
We use it for VPS runs only regardless branches I think
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'
?
I can comment on actual suggestion, but it feels like this feature should be easy configurable on user level.
Also available in: Atom
PDF