Red Hat Bugzilla – Bug 1276033
[LTTNG:RBD]: RBD lttng trace logs are not generated on UBUNTU 14.04
Last modified: 2017-07-30 11:34:28 EDT
Description of problem:
RBD lttng trace logs are not getting generated on UBUNTU 14.04
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Configured the vm and attached an RBD image as secondary disk, apparmor is disabled
2.configured lttng and started a session as following
lttng create -o traces librbd1
lttng enable-event -u 'librbd:*'
/* do some operationf on secondary disk from VM */
No logs are generated in the target folder
Trace logs should be generated
QEMU log is spamming:
libust[23792/23793]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
Checking AppArmor status:
apparmor module is loaded.
8 profiles are loaded.
8 profiles are in enforce mode.
0 profiles are in complain mode.
3 processes have profiles defined.
3 processes are in enforce mode.
0 processes are in complain mode.
0 processes are unconfined but have a profile defined.
The libvirt (QEMU) process is currently assigned to an enforcing profile, thus access is denied to the LTTng-UST device.
I have already removed it before starting testing using
sudo /etc/init.d/apparmor stop
sudo update-rc.d -f apparmor remove
is this the right command ?
Closing this bug as it worked after uninstalling apparmor