Feature #9100
openAutomate - manual over-ride for slowness on VMs
0%
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)
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
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
Updated by Zack Cerza over 9 years ago
Are we using this for all suite branches?
Updated by Yuri Weinstein over 9 years ago
We use it for VPS runs only regardless branches I think
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'
?
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.