[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] HTCondor 8.4 on CentOS 7 - control groups



Mine's happy with it.  In my /usr/lib/systemd/system/condor.service, I have the line "ControlGroup=/condor".

My systemd is 219-19.el7_2.9.

FWIW selinux and firewalld are enabled.

Klint.

-----Original Message-----
From: HTCondor-users [mailto:htcondor-users-bounces@xxxxxxxxxxx] On Behalf Of Michael V Pelletier
Sent: Tuesday, 20 September 2016 2:10 AM
To: htcondor-users@xxxxxxxxxxx
Subject: [HTCondor-users] HTCondor 8.4 on CentOS 7 - control groups

Trying to stand up an HTCondor Central Manager is probably not the best way to introduce onself to systemd and CentOS 7, but here I am.

The stock RPM for 8.4.8 for EL7 downloaded from UW results in the following errors thrown by systemd:

$ sudo systemctl status condor
● condor.service - Condor Distributed High-Throughput-Computing
   Loaded: loaded (/usr/lib/systemd/system/condor.service; enabled; vendor
preset: disabled)
   Active: inactive (dead)

Sep 19 11:02:51 ___ systemd[1]: 
[/usr/lib/systemd/system/condor.service:16] Unknown lvalue 'ControlGroup' 
in section 'Service'
Sep 19 11:34:18 ___ systemd[1]: 
[/usr/lib/systemd/system/condor.service:16] Unknown lvalue 'ControlGroup' 
in section 'Service'
Sep 19 11:34:30 ___ systemd[1]: 
[/usr/lib/systemd/system/condor.service:16] Unknown lvalue 'ControlGroup' 
in section 'Service'
Sep 19 11:34:30 ___ systemd[1]: 
[/usr/lib/systemd/system/condor.service:16] Unknown lvalue 'ControlGroup' 
in section 'Service'
Sep 19 11:35:38 ___ systemd[1]: 
[/usr/lib/systemd/system/condor.service:16] Unknown lvalue 'ControlGroup' 
in section 'Service'
Sep 19 11:53:29 ___ systemd[1]: Stopped Condor Distributed High-Throughput-Computing.
$

I see a ControlGroupAttribute lvalue documented, at least.

I've set up the cgconfig.conf as documented in the manual, and once I found the /sys/fs/cgroup directory I was able to find the /sys/fs/cgroup/cpu/htcondor directory, so it does appear to be working after a fashion, but I'm not clear on whether I actually need to do the cgconfig.conf update at all?

I'm currently running systemd 219-19.el7_2.7, and the latest available from CentOS Updates is .13.

Any suggestsions out there from anyone running HTCondor on RHEL / CentOS 7?