test, e2e_node: drop superfluous systemd properties

commit 43c56eb403 introduced a change
where CPUAccounting, CPUAccounting and TasksAccounting are enabled for
the systemd service.

It causes a regression on RHEL 7.8 where systemd-run doesn't allow to
set TasksAccounting.

Since Delegate= already enables all the controllers, it is superfluous
to specify them.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
Giuseppe Scrivano 2020-04-28 10:29:21 +02:00
parent 4ccfeb18d9
commit b21b1a5436
No known key found for this signature in database
GPG Key ID: E4730F97F60286ED

View File

@ -195,9 +195,6 @@ func (e *E2EServices) startKubelet() (*server, error) {
cmdArgs = append(cmdArgs,
systemdRun,
"-p", "Delegate=true",
"-p", "CPUAccounting=true",
"-p", "MemoryAccounting=true",
"-p", "TasksAccounting=true",
"--unit="+unitName,
"--slice=runtime.slice",
"--remain-after-exit",