2014-05-14 18:45:39 |
Charles Butler |
description |
Ran into an issue with the local provider today that seems to be 'newish' behavior.
steps to reproduce:
juju bootstrap
juju deploy cs:trusty/ubuntu
juju deploy --repository=../ local:trusty/wordpress
juju deploy cs:trusty/mysql
Important to note - the race here, if mysql and ubuntu register the containers before the wordpress unit attempts to come online, things deploy as expected without wordpress coming online.
The specifics of the wordpress unit preventing from starting were obtained with dmesg:
[13804.451667] type=1400 audit(1400090535.864:127): apparmor="DENIED" operation="mount" info="failed type match" error=-13 profile="lxc-container-default" name="/run/rpc_pipefs/" pid=13800 comm="mount" fstype="rpc_pipefs" srcname="rpc_pipefs" flags="rw"
Adding :
mount fstype=rpc_pipefs,
to /etc/apparmor.d/abstractions/lxc/container-base appears to have alleviated the behavior. |
Ran into an issue with the local provider today that seems to be 'newish' behavior.
steps to reproduce:
juju bootstrap
juju deploy cs:trusty/ubuntu
juju deploy --repository=../ local:trusty/wordpress
juju deploy cs:trusty/mysql
Important to note - the race here, if mysql and ubuntu register the containers before the wordpress unit attempts to come online, things deploy as expected without wordpress coming online.
The specifics of the wordpress unit preventing from starting were obtained with dmesg:
[13804.451667] type=1400 audit(1400090535.864:127): apparmor="DENIED" operation="mount" info="failed type match" error=-13 profile="lxc-container-default" name="/run/rpc_pipefs/" pid=13800 comm="mount" fstype="rpc_pipefs" srcname="rpc_pipefs" flags="rw"
Adding :
mount fstype=rpc_pipefs,
to /etc/apparmor.d/abstractions/lxc/container-base appears to have alleviated the behavior.
Additional details:
+++-===================-==============-==============-============================================
ii juju-local 1.19.2-0ubuntu all dependency package for the Juju local provid
ii juju 1.19.2-0ubuntu all next generation service orchestration system
this is on 14.04 |
|