From b290dd5f3a9d7549b80952e342ceb965b0afada7 Mon Sep 17 00:00:00 2001
From: Georg Pfuetzenreuter <georg.pfuetzenreuter@suse.com>
Date: Jun 08 2023 18:59:14 +0000
Subject: Remove os-rt.i.o.o + os-rt proxy


Neither the machine nor the service seem to be cared about by anyone.
https://progress.opensuse.org/issues/130561

Signed-off-by: Georg Pfuetzenreuter <georg.pfuetzenreuter@suse.com>

---

diff --git a/pillar/cluster/anna_elsa/backends.sls b/pillar/cluster/anna_elsa/backends.sls
index 9e6e13f..26cd71f 100644
--- a/pillar/cluster/anna_elsa/backends.sls
+++ b/pillar/cluster/anna_elsa/backends.sls
@@ -209,9 +209,6 @@ haproxy:
     obsreview: {#- to-do: investigate; port 80 only serves 404 #}
       {{ options() }}
       {{ server('obsreview', '192.168.47.39') }}
-    os_rt:
-      {{ options ('httpchk HEAD /check/check.txt HTTP/1.1\r\nHost:\ tickets-test.opensuse.org') }}
-      {{ server('os-rt', '192.168.47.48') }}
     security_txt:
       mode: http
       options:
diff --git a/pillar/cluster/anna_elsa/services_http_ext.sls b/pillar/cluster/anna_elsa/services_http_ext.sls
index e1d311e..207ef2b 100644
--- a/pillar/cluster/anna_elsa/services_http_ext.sls
+++ b/pillar/cluster/anna_elsa/services_http_ext.sls
@@ -113,7 +113,6 @@ haproxy:
         - is_board               hdr(host)     -i board.opensuse.org
         - is_redirect_itsself    hdr(host)     -i redirector.opensuse.org
         - is_rpmlint             hdr(host)     -i rpmlint.opensuse.org
-        - is_rt                  hdr(host)     -i tickets-test.opensuse.org
         - is_sso                 hdr(host)     -i sso.opensuse.org
         - is_sso                 hdr_reg(host) -i .+\.sso\.opensuse\.org
         - is_susestudio          hdr_reg(host) -i (.*\.)?susestudio.com
@@ -219,4 +218,3 @@ haproxy:
         - minio            if is_minio
         - rpmlint          if is_rpmlint
         - svn              if is_svn
-        - os_rt            if is_rt
diff --git a/pillar/id/os-rt_infra_opensuse_org.sls b/pillar/id/os-rt_infra_opensuse_org.sls
deleted file mode 100644
index c955906..0000000
--- a/pillar/id/os-rt_infra_opensuse_org.sls
+++ /dev/null
@@ -1,19 +0,0 @@
-grains:
-  city: nuremberg
-  country: de
-  hostusage:
-    - RT
-  reboot_safe: yes
-  salt_cluster: opensuse
-  virt_cluster: atreju
-
-  aliases: []
-  description: Request Tracker test installation
-  documentation:
-    - https://bestpractical.com/?rt=4.4.4
-  responsible:
-    - lrupp
-  partners: []
-  weburls:
-    - https://osrt.opensuse.org
-roles: []