Feature #24636
openBetter control of random distro feature
0%
Description
I'd love it if there was an override for the random distro "$" feature. An option like (—no-random) to get ALL distros. Also, a feature that let's me specify the distro. How does the the "$" feature currently interact with the -d option? Can I force a specific distro?
I have to run the following command over and over until the random distro matches to get jobs scheduled:
teuthology-suite --machine-type smithi --suite rados/standalone --ceph wip-zafman-testing2 --filter 'rados:standalone/{supported-random-distro$/{ubuntu_latest.yaml} workloads/erasure-code.yaml}' -p 100 --num 50
Adding --no-random would make the --filter work every time.
Updated by David Zafman almost 6 years ago
As a workaround I always cherry-pick this change so that the distro is fixed. If we had this feature, I wouldn't need to use this workaround.
diff --git a/qa/suites/rados/standalone/distro/ubuntu_16.04.yaml b/qa/suites/rados/standalone/distro/ubuntu_16.04.yaml new file mode 100644 index 0000000..a459fdd --- /dev/null +++ b/qa/suites/rados/standalone/distro/ubuntu_16.04.yaml @@ -0,0 +1,2 @@ +os_type: ubuntu +os_version: "16.04" diff --git a/qa/suites/rados/standalone/supported-random-distro$ b/qa/suites/rados/standalone/supported-random-distro$ deleted file mode 120000 index 7cef21e..0000000 --- a/qa/suites/rados/standalone/supported-random-distro$ +++ /dev/null @@ -1 +0,0 @@ -../basic/supported-random-distro$ \ No newline at end of file
Updated by David Zafman almost 6 years ago
To be clear my workaround switches to a single non-random distro (Ubuntu 16.04). My use of the word "fixed" is ambiguous.