Bug 1304455 - Do not use lttng in rados/rbd by default
Summary: Do not use lttng in rados/rbd by default
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RBD
Version: 1.3.2
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: 1.3.2
Assignee: Boris Ranto
QA Contact: ceph-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-03 16:34 UTC by Tanay Ganguly
Modified: 2017-07-30 15:31 UTC (History)
7 users (show)

Fixed In Version: RHEL: ceph-0.94.5-7.el7cp Ubuntu: ceph_0.94.5-5redhat1trusty
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-29 14:46:05 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1302139 0 medium CLOSED VM permanently tries to read /dev/shm/lttng-ust-wait-5 saturating logs. 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1304454 0 unspecified CLOSED Seeing Error message in Vm log file 'libust[121880/121886]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm(... 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHBA-2016:0313 0 normal SHIPPED_LIVE Red Hat Ceph Storage 1.3.2 bug fix and enhancement update 2016-02-29 19:37:43 UTC

Internal Links: 1302139 1304454

Description Tanay Ganguly 2016-02-03 16:34:51 UTC
Description of problem:
Continuously getting the Error message in vm.log file from qemu/kvm

libust[121880/121886]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886) 

Version-Release number of selected component (if applicable):
rpm -qa |grep ceph
ceph-common-0.94.5-4.el7cp.x86_64
ceph-osd-0.94.5-4.el7cp.x86_64
ceph-0.94.5-4.el7cp.x86_64
ceph-radosgw-0.94.5-4.el7cp.x86_64
ceph-debuginfo-0.94.5-4.el7cp.x86_64
ceph-selinux-0.94.5-4.el7cp.x86_64

selinux:
Loaded policy name:             targeted

How reproducible:
Always

Steps to Reproduce:
1. Create a RBD image, take snap and clone it.
2. Attach the same image in Qemu.
3. Create a VM on top of that RBD clone image.
4. Do some write operations of that image.

Actual results:
Seeing lots of Error in log message of the VM

Expected results:
There should not be any Error log message.

Additional info:


libust[121880/121886]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[121880/121886]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[121880/121886]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[121880/121886]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[121880/121886]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[121880/121886]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[121880/121886]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[121880/121886]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[121880/121886]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[121880/121886]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[121880/121886]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[121880/121886]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[121880/121886]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[121880/121886]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[121880/121886]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[121880/121886]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[121880/121886]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[121880/121886]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[121880/121886]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)

Comment 2 Boris Ranto 2016-02-03 16:44:12 UTC
We need to backport the following upstream PR (or rebase to 0.94.6):

https://github.com/ceph/ceph/pull/6415

Comment 3 Ken Dreyer (Red Hat) 2016-02-03 18:30:10 UTC
Boris is right, we need https://github.com/ceph/ceph/pull/6415

Comment 4 Boris Ranto 2016-02-03 20:50:38 UTC
dist-git commits related to build ceph-0.94.5-6.el7cp:
http://pkgs.devel.redhat.com/cgit/rpms/ceph/commit/?h=ceph-1.3-rhel-7&id=d81b7992d9797fd5138256828875a93c40400d3a

Comment 5 Boris Ranto 2016-02-03 22:02:45 UTC
The package was successfully built in brew:

https://brewweb.devel.redhat.com/taskinfo?taskID=10437793

Comment 6 Ken Dreyer (Red Hat) 2016-02-03 22:50:25 UTC
Needs adjustment to remove this conditional:

# LTTng-UST enabled on Fedora, RHEL 6, and SLES 12
%if 0%{?fedora} || 0%{?rhel} == 6 || 0%{?suse_version} == 1315
%global _with_lttng 1
%endif

The reason that upstream has this code is because lttng is not in EPEL 7. lttng is present in Red Hat Ceph Storage.

Comment 7 Boris Ranto 2016-02-03 22:51:45 UTC
dist-git commits related to build ceph-0.94.5-7.el7cp:
http://pkgs.devel.redhat.com/cgit/rpms/ceph/commit/?h=ceph-1.3-rhel-7&id=c3392557e63a072b6a6cebbe2b9a0754c9dc561c

Comment 9 Tanay Ganguly 2016-02-08 08:53:02 UTC
Marking it verified.

As i do not see any further error logs from my VM.log

libust[121880/121886]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-comm.c:886)

Comment 11 errata-xmlrpc 2016-02-29 14:46:05 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:0313


Note You need to log in before you can comment on or make changes to this bug.