[cs rev=261] "sysctl -p" fails on lxd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Neutron Gateway Charm |
Triaged
|
Low
|
Unassigned |
Bug Description
On unprivileged containers (default), neutron-gateway goes into error state because it can't change kernel parameters.
root@juju-
net.ipv4.
net.ipv4.
net.ipv4.
net.ipv6.
net.ipv6.
net.ipv6.
net.nf_
net.netfilter.
net.netfilter.
root@juju-
sysctl: cannot stat /proc/sys/
sysctl: cannot stat /proc/sys/
sysctl: cannot stat /proc/sys/
sysctl: cannot stat /proc/sys/
sysctl: cannot stat /proc/sys/
sysctl: cannot stat /proc/sys/
sysctl: cannot stat /proc/sys/
sysctl: cannot stat /proc/sys/
sysctl: cannot stat /proc/sys/
2019-04-25 08:04:17 DEBUG juju-log Updating sysctl_file: /etc/sysctl.
lt.gc_thresh3': 32768, 'net.ipv6.
ck_buckets': 204800, 'net.netfilter.
2019-04-25 08:04:17 DEBUG config-changed sysctl: cannot stat /proc/sys/
2019-04-25 08:04:17 DEBUG config-changed sysctl: cannot stat /proc/sys/
2019-04-25 08:04:17 DEBUG config-changed sysctl: cannot stat /proc/sys/
2019-04-25 08:04:17 DEBUG config-changed sysctl: cannot stat /proc/sys/
2019-04-25 08:04:17 DEBUG config-changed sysctl: cannot stat /proc/sys/
2019-04-25 08:04:17 DEBUG config-changed sysctl: cannot stat /proc/sys/
2019-04-25 08:04:17 DEBUG config-changed sysctl: cannot stat /proc/sys/
2019-04-25 08:04:17 DEBUG config-changed sysctl: cannot stat /proc/sys/
2019-04-25 08:04:17 DEBUG config-changed sysctl: cannot stat /proc/sys/
2019-04-25 08:04:17 DEBUG config-changed Traceback (most recent call last):
2019-04-25 08:04:17 DEBUG config-changed File "/var/lib/
2019-04-25 08:04:17 DEBUG config-changed hooks.execute(
2019-04-25 08:04:17 DEBUG config-changed File "/var/lib/
2019-04-25 08:04:17 DEBUG config-changed self._hooks[
2019-04-25 08:04:17 DEBUG config-changed File "/var/lib/
2019-04-25 08:04:17 DEBUG config-changed stopstart, restart_functions)
2019-04-25 08:04:17 DEBUG config-changed File "/var/lib/
2019-04-25 08:04:17 DEBUG config-changed r = lambda_f()
2019-04-25 08:04:17 DEBUG config-changed File "/var/lib/
2019-04-25 08:04:17 DEBUG config-changed (lambda: f(*args, **kwargs)), __restart_
2019-04-25 08:04:17 DEBUG config-changed File "/var/lib/
2019-04-25 08:04:17 DEBUG config-changed return f(*args, **kwargs)
2019-04-25 08:04:17 DEBUG config-changed File "/var/lib/
2019-04-25 08:04:17 DEBUG config-changed '/etc/sysctl.
2019-04-25 08:04:17 DEBUG config-changed File "/var/lib/
2019-04-25 08:04:17 DEBUG config-changed check_call(call)
2019-04-25 08:04:17 DEBUG config-changed File "/usr/lib/
2019-04-25 08:04:17 DEBUG config-changed raise CalledProcessEr
2019-04-25 08:04:17 DEBUG config-changed subprocess.
2019-04-25 08:04:17 ERROR juju.worker.
This is a regression resulting from Bug #1780348