Skip to content

Commit af2dc07

Browse files
Merge pull request #139 from matyasselmeci/pr/SOFTWARE-4511.remove-rsv
Remove RSV (SOFTWARE-4511)
2 parents cf190f9 + a31869a commit af2dc07

35 files changed

+7
-3152
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ This section is contained in `/etc/osg/config.d/10-gateway.ini` which is provide
155155

156156
| Option | Values Accepted | Explanation |
157157
|--------------------------------|-----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
158-
| **htcondor\_gateway\_enabled** | `True`, `False` | (default True). True if the CE is using HTCondor-CE, False otherwise. HTCondor-CE will be configured to support enabled batch systems. RSV will use HTCondor-CE to launch remote probes. |
158+
| **htcondor\_gateway\_enabled** | `True`, `False` | (default True). True if the CE is using HTCondor-CE, False otherwise. HTCondor-CE will be configured to support enabled batch systems. |
159159
| **job\_envvar\_path** | String | The value of the PATH environment variable to put into HTCondor jobs running with HTCondor-CE. This value is ignored if not using that batch system/gateway combination. |
160160

161161

@@ -320,7 +320,6 @@ This section is contained in `/etc/osg/config.d/30-gratia.ini` which is provided
320320
**Note for probes:**<br>
321321
Legal values for the `probe_type` part are:
322322

323-
- `metric` (for RSV)
324323
- `jobmanager` (for the appropriate jobmanager probe)
325324
- `gridftp` (for the GridFTP transfer probe)
326325

config/10-gateway.ini

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,12 @@
1010
; HTCondor-CE (from the htcondor-ce package).
1111
;
1212
; In addition to enabling the gateways on a CE, these settings are
13-
; used to tell other services, such as the various job managers and
14-
; RSV, which gateways are being used.
13+
; used to tell other services, such as the various job managers
14+
; which gateways are being used.
1515
;
1616
; This setting configures the services that use the gateway to
1717
; use HTCondor-CE. The following things will happen if this is
1818
; set to True:
19-
; - RSV will be configured to use HTCondor-CE (via Condor-G) to
20-
; run remote probes.
21-
; - RSV will be configured to run probes that test the
22-
; functionality of condor-ce.
2319
; - HTCondor-CE will be configured to work with the job managers
2420
; that are enabled in the other config files.
2521
htcondor_gateway_enabled = True

config/30-rsv.ini

Lines changed: 0 additions & 203 deletions
This file was deleted.

osg_configure/configure_modules/gratia.py

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,6 @@ def requirements_are_installed():
3131
class GratiaConfiguration(BaseConfiguration):
3232
"""Class to handle attributes and configuration related to gratia services"""
3333

34-
metric_probe_deprecation = """WARNING:
35-
The metric probe should no longer be configured using 'probes' option in the
36-
[Gratia] section. All OSG installations will automatically report to the GOC
37-
RSV collector. If you want to send to a different collector use the
38-
'gratia_collector' option in the [RSV] section and specify the
39-
hostname:port of the desired collector. If you do not understand what to
40-
do then just remove the metric probe specification in the 'probes' option
41-
in your config.ini file."""
42-
4334
def __init__(self, *args, **kwargs):
4435
super().__init__(*args, **kwargs)
4536
self.logger = logging.getLogger(__name__)
@@ -336,9 +327,6 @@ def _check_servers(self):
336327
"""
337328
valid = True
338329
for probe in self.enabled_probe_hosts:
339-
if probe == 'metric':
340-
sys.stdout.write(self.metric_probe_deprecation + "\n")
341-
self.log(self.metric_probe_deprecation, level=logging.WARNING)
342330
server = self.enabled_probe_hosts[probe].split(':')[0]
343331
if not validation.valid_domain(server, False):
344332
err_mesg = "The server specified for probe %s is not " % probe
@@ -374,6 +362,10 @@ def _set_enabled_probe_host(self, probes):
374362
probe_name = tmp[0].strip()
375363
if probe_name == 'gridftp':
376364
probe_name = 'gridftp-transfer'
365+
if probe_name == 'metric':
366+
self.log("The 'metric' probe is not supported",
367+
level=logging.WARNING)
368+
continue
377369
if len(tmp[1:]) == 1:
378370
self.enabled_probe_hosts[probe_name] = tmp[1]
379371
else:

0 commit comments

Comments
 (0)