Comment 3 for bug 1913325

Revision history for this message
Xav Paice (xavpaice) wrote :

The line in tests `assert "CPUAffinity=1,2,3,4" in systemd_content` should ensure that the failure is picked up. The test reads /etc/systemd/system.conf.

I built a test system using the current 'master' for the charm, cpu-affinity-range was "". Content of /etc/systemd/system.conf included #CPUAffinity=1 2.

Change:
juju config sysconfig-focal-local cpu-affinity-range="1,2,3,4"

/etc/systemd/system.conf included CPUAffinity=1,2,3,4

My test was using focal, and charm code which at the time matches stable/21.04