From b324ff3dc80178f283992a72e37e5a4d14e25d71 Mon Sep 17 00:00:00 2001 From: Siteshwar Vashisht Date: Thu, 14 Mar 2024 09:38:04 +0100 Subject: [PATCH] openscanhub: workaround a bug with on demand tags Signed-off-by: Siteshwar Vashisht --- .../openscanhub/templates/etc-resallocserver-pools.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/openshift-apps/openscanhub/templates/etc-resallocserver-pools.yaml b/roles/openshift-apps/openscanhub/templates/etc-resallocserver-pools.yaml index 4512431995..a1a48e54e4 100644 --- a/roles/openshift-apps/openscanhub/templates/etc-resallocserver-pools.yaml +++ b/roles/openshift-apps/openscanhub/templates/etc-resallocserver-pools.yaml @@ -31,6 +31,11 @@ openscanhub_aws_spot_x86_64: reuse_max_count: 0 reuse_max_time: 0 + # We have to specify empty tags while using `tags_on_demand`. + # https://github.com/praiskup/resalloc/pull/151 + # TODO: Remove this in the future. + tags: [] + # TODO: Choose which tags we shall select? # Avoid preallocating machines with on demand tags. tags_on_demand: