From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeffrey Chen Subject: Re: LTTng on Docker Date: Mon, 10 Apr 2017 18:50:34 +0000 Message-ID: References: , Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7174880566771031329==" Return-path: Received: from NAM04-CO1-obe.outbound.protection.outlook.com (mail-oln040092010077.outbound.protection.outlook.com [40.92.10.77]) by lists.lttng.org (Postfix) with ESMTPS id 3w29N51nDQzCcl for ; Tue, 11 Apr 2017 02:04:20 +0000 (UTC) In-Reply-To: Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lttng-dev-bounces@lists.lttng.org Sender: "lttng-dev" To: =?iso-8859-1?Q?J=E9r=E9mie_Galarneau?= Cc: "lttng-dev@lists.lttng.org" List-Id: lttng-dev@lists.lttng.org --===============7174880566771031329== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_CY4PR13MB15266E0923AB26568F163499C7010CY4PR13MB1526namp_" --_000_CY4PR13MB15266E0923AB26568F163499C7010CY4PR13MB1526namp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Forgot to add the versions. My environment is: Docker: 1.12.1, build 23cf638 LTTng 2.7.1, (default version in Ubuntu 16.04 repo) Docker image: ubuntu:latest (16.04) Thanks. ________________________________ From: jeremie.galarneau@gmail.com on behalf o= f J=E9r=E9mie Galarneau Sent: Sunday, April 9, 2017 2:06 PM To: Jeffrey Chen Cc: lttng-dev@lists.lttng.org Subject: Re: [lttng-dev] LTTng on Docker On 7 April 2017 at 18:35, Jeffrey Chen wrote: > Hi: > > > I am trying to have LTTng UST tracing inside a docker container. I wasn't > able to get the UST tracing working. LTTng would not write any UST trace > files in the directory, even though it printed it would. Has it been test= ed > before? Is there any known problem? Tracing inside a container (not Docker), where the LTTng daemons and the applications are running in the same container, is known to work as this is how most of the LTTng CI works. As far as Docker is concerned, I tested it a number of times and it worked. Can you provide the versions of LTTng and Docker you're using and the session daemon's logs (launching it with the -vvv option)? Thanks, J=E9r=E9mie > > > $ lttng enable-channel --session test --userspace channel0 > > Error: Channel channel0: UST create channel failed (session ServiceFabric= _0) > Error: Command error > > > Thanks. > > > > _______________________________________________ > lttng-dev mailing list > lttng-dev@lists.lttng.org > https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev lttng-dev Info Page lists.lttng.org To see the collection of prior postings to the list, visit the lttng-dev Ar= chives. Using lttng-dev: To post a message to all the list members, send ..= . > -- J=E9r=E9mie Galarneau EfficiOS Inc. http://www.efficios.com EfficiOS www.efficios.com At EfficiOS, our main goal is diminishing the amount of time our clients sp= end identifying faults. We also enable our clients' applications to scale o= n massive multi ... --_000_CY4PR13MB15266E0923AB26568F163499C7010CY4PR13MB1526namp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Forgot to add the versions.

My environment is:

Docker: 1.12.1, build 23cf638

LTTng 2.7.1, (default version in Ubuntu 16.04 repo)

Docker image: ubuntu:latest (16.04)


Thanks.




From: jeremie.galarneau@g= mail.com <jeremie.galarneau@gmail.com> on behalf of J=E9r=E9mie Galar= neau <jeremie.galarneau@efficios.com>
Sent: Sunday, April 9, 2017 2:06 PM
To: Jeffrey Chen
Cc: lttng-dev@lists.lttng.org
Subject: Re: [lttng-dev] LTTng on Docker
 
On 7 April 2017 at 18:35, Jeffrey Chen <cpthk@l= ive.com> wrote:
> Hi:
>
>
> I am trying to have LTTng UST tracing inside a docker container. I was= n't
> able to get the UST tracing working. LTTng would not write any UST tra= ce
> files in the directory, even though it printed it would. Has it been t= ested
> before? Is there any known problem?

Tracing inside a container (not Docker), where the LTTng daemons and
the applications are running in the same container, is known to work
as this is how most of the LTTng CI works.

As far as Docker is concerned, I tested it a number of times and it
worked. Can you provide the versions of LTTng and Docker you're using
and the session daemon's logs (launching it with the -vvv option)?

Thanks,
J=E9r=E9mie

>
>
> $ lttng enable-channel --session test --userspace channel0
>
> Error: Channel channel0: UST create channel failed (session ServiceFab= ric_0)
> Error: Command error
>
>
> Thanks.
>
>
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev@lists.lttng.org
> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
lists.lttng.org

>



--
J=E9r=E9mie Galarneau
EfficiOS Inc.
http://www.efficios.com
--_000_CY4PR13MB15266E0923AB26568F163499C7010CY4PR13MB1526namp_-- --===============7174880566771031329== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbHR0bmctZGV2 IG1haWxpbmcgbGlzdApsdHRuZy1kZXZAbGlzdHMubHR0bmcub3JnCmh0dHBzOi8vbGlzdHMubHR0 bmcub3JnL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9sdHRuZy1kZXYK --===============7174880566771031329==--