Return-Path: X-Original-To: apmail-bigtop-user-archive@www.apache.org Delivered-To: apmail-bigtop-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 58C3818F83 for ; Wed, 9 Dec 2015 06:59:43 +0000 (UTC) Received: (qmail 13373 invoked by uid 500); 9 Dec 2015 06:59:43 -0000 Delivered-To: apmail-bigtop-user-archive@bigtop.apache.org Received: (qmail 13291 invoked by uid 500); 9 Dec 2015 06:59:43 -0000 Mailing-List: contact user-help@bigtop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@bigtop.apache.org Delivered-To: mailing list user@bigtop.apache.org Received: (qmail 13281 invoked by uid 99); 9 Dec 2015 06:59:43 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Dec 2015 06:59:43 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id AC506180985 for ; Wed, 9 Dec 2015 06:59:42 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.998 X-Spam-Level: ** X-Spam-Status: No, score=2.998 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id PxREynwPZPcF for ; Wed, 9 Dec 2015 06:59:35 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 804B020DB9 for ; Wed, 9 Dec 2015 06:59:34 +0000 (UTC) Received: from [10.118.3.229] ([195.124.237.158]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0LyEJp-1aICP82uk1-015arW for ; Wed, 09 Dec 2015 07:54:28 +0100 From: Carsten Maul Content-Type: multipart/alternative; boundary="Apple-Mail=_B0C30174-9E4A-4654-831A-D6F51229E38F" Message-Id: <345FD511-09E4-432D-89B1-99280B738274@gmx.de> Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) Subject: Re: Dependency cycle issue during puppet deployment Date: Wed, 9 Dec 2015 07:54:25 +0100 References: <03B5EB18-A13C-419C-8EF5-B6D265FE9B56@gmx.de> <20151208182355.GM17588@tpx> To: user@bigtop.apache.org In-Reply-To: <20151208182355.GM17588@tpx> X-Mailer: Apple Mail (2.3096.5) X-Provags-ID: V03:K0:jtQtUOehHQS07AuaMwA9Bf3i+RpdapO5zuAwV5qGq6CEwIj2CDQ BwlYsogbQ9/Y0/34KnquYiW8apECe8VfDQdmJ85F+8ERV58oM/wER1ciOuKY8HzWIJJVZpR I3o5FI3J14OB+j7+YlXhlcjq+wg1d8tY9rdp2j7IL42jRacbLdZJ3MY8K43Eu/vG+IzPBQn 0KeCfO4eJcAN7EgDI1Waw== X-UI-Out-Filterresults: notjunk:1;V01:K0:gFXZh/5oEWQ=:vVVMVnRfv/oxj6QKSFhh3Z AOEZ1j+aStW66jD8+R+d8Y98TPthTOC4C+4HAcgCgC7CfwIfVjZ6WSEYECv6q41wZpnCp1y0O OVtbu2K54pYpg30/LnBDyhKRM9FV9VPtyucglVHLyq+KGuM9l+uNnzpDT8twFcxSy0otZx1tl nymMX+tmM827hZZQf+NACHeHWvfRM2O433sxldhlgBwphA+YwPd6Lg2fpChbq0BrG3KvVz0w6 6dD7zmhPrLy0qv58XViXybqTR9aZB0sMPlsL6OZC467ADKiWmlCFOjFU5lgRaXx4/H4JW2CBK Xd8MfdJniXgdFJp8bGfaiYX8EMZdNstjyGEUuvPuP32lAtEwE8cxqnmPQ4NJqOXpf4qfweBUr UySW/XULTZV+DUJBxkP0dz8EzAZVm1uxoK+Arz//HWezIHSojZGpqk2qR56NydDQ0pyawV0zf FHslzFpyq/c2K7RYUfwYnL3cidbcSPAfGSC3PTFgVQSHPw3aoiy/o4efk3xNImmS5E+gLIh/N iz/sZb+W8ZVkANHjd2D4i1DrTQLiQIAX2mm38np0O4TcheCTUsda2kaIoHQB6Isbx4NVsOKC6 xccvd8b+BzwO1HFv/5WoCBdPxctZVqf+/gmFDDDbG0Xbw9ZSk8ck8AmW/KwR2LRdf/MfqMbQn BYmQ0+lwm1kfGRHojZSTSUkf6wRSmYuTteF2J39YTi5ZXkLStya2WGePo6VBUQ2TMPbjZqTor VtplQUYZNYZuZ3PJk4I02r8XyW0eXE4cil2yFw9GhfA7wwK+sW0KKO/v+4dndLlJYQ6v8wdfZ IA1c1DQ --Apple-Mail=_B0C30174-9E4A-4654-831A-D6F51229E38F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi Cos, I am running debian 8 (jessie) stock puppet 3.7.2. After your post I tested a deploy with Ubuntu 14.04.3 LTS Server. I am = getting even more puppet errors. For example, under my ubuntu test = system it can not find the is_bool function. Under Ubuntu I installed: sudo apt-get install puppet puppet-module-puppetlabs-stdlib = puppet-module-puppetlabs-apt The installed puppet version under Ubuntu is 3.4.3. I am starting puppet from /opt/bigtop directory like this: puppet apply -d = --modulepath=3Dbigtop-deploy/puppet/modules:/usr/share/puppet/modules = bigtop-deploy/puppet/manifests/site.pp The Error under Ubuntu: Error: Unknown function is_bool at = /opt/bigtop/bigtop-deploy/puppet/manifests/site.pp:75 on node = ubuntu140403lts.localdomain I really don=C2=B4t understand all the puppet problems. is_bool is part = of the stdlib, so why is it unknown? sudo puppet module list /etc/puppet/modules (no modules installed) /usr/share/puppet/modules =E2=94=9C=E2=94=80=E2=94=80 puppetlabs-apt (v1.4.0) =E2=94=94=E2=94=80=E2=94=80 puppetlabs-stdlib (v4.1.0) Any suggestions? Puppet seems to be like Chucky the puppet to me in the = moment... Kind regards Carsten > Am 08.12.2015 um 19:23 schrieb Konstantin Boudnik : >=20 > What Puppet are you on? The reason I am asking is because I personally = do the > deployment on Ubuntu all the time (not with Vagrant, but just by = running > puppet apply) and it works like a charm. >=20 > Thanks, > Cos >=20 > On Tue, Dec 08, 2015 at 04:43PM, Carsten Maul wrote: >> Hi, >>=20 >> if I do a bigtop deployment via puppet I get an dependency cycle for = apt_update: >>=20 >> Error: Could not apply complete catalog: Found 1 dependency cycle: >> (Anchor[apt::source::Bigtop] =3D> Apt::Source[Bigtop] =3D> = Exec[apt_update] =3D> Class[Apt::Update] =3D> = Anchor[apt::source::Bigtop]) >>=20 >> The origin of the dependency deployment is the file = bigtop-deploy/puppet/manifests/site.pp, line 57, which belongs to a code = block that is responsible to add the bigtop repository to apt: >>=20 >> Apt::Source<||> -> Exec['apt_update'] -> Package<||> >>=20 >> If I remove this line, the dependency cycle error is gone. = Unfortunately, I have to add the bigtop repository and update apt by = myself in this case. >>=20 >> Any suggestions how to fix this without disabling the statement? >>=20 >>=20 >> Kind regards >>=20 >> Carsten --Apple-Mail=_B0C30174-9E4A-4654-831A-D6F51229E38F Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi Cos,

I = am running debian 8 (jessie) stock puppet 3.7.2.

After your post I tested a deploy with = Ubuntu 14.04.3 LTS Server. I am getting even more puppet errors. For = example, under my ubuntu test system it can not find the is_bool = function.
Under Ubuntu I installed:
sudo apt-get install puppet = puppet-module-puppetlabs-stdlib = puppet-module-puppetlabs-apt
The installed puppet version under = Ubuntu is 3.4.3.

I am starting puppet from /opt/bigtop directory like = this:
puppet apply -d = --modulepath=3Dbigtop-deploy/puppet/modules:/usr/share/puppet/modules = bigtop-deploy/puppet/manifests/site.pp

The Error under = Ubuntu:
Error: Unknown function is_bool at = /opt/bigtop/bigtop-deploy/puppet/manifests/site.pp:75 on node = ubuntu140403lts.localdomain

I really don=C2=B4t understand all the puppet = problems. is_bool is part of the stdlib, so why is it unknown?

sudo puppet module = list
/etc/puppet/modules (no modules = installed)
/usr/share/puppet/modules
=E2=94=9C=E2=94=80=E2=94=80 puppetlabs-apt (v1.4.0)
=E2=94=94=E2=94= =80=E2=94=80 puppetlabs-stdlib (v4.1.0)

Any suggestions? Puppet seems to be = like Chucky the puppet to me in the moment...

Kind = regards

Carsten

Am 08.12.2015 um 19:23 schrieb = Konstantin Boudnik <cos@apache.org>:

What = Puppet are you on? The reason I am asking is because I personally do = the
deployment on Ubuntu all the time (not with Vagrant, = but just by running
puppet apply) and it works like a = charm.

Thanks,
 Cos

On Tue, Dec 08, 2015 at 04:43PM, Carsten Maul = wrote:
Hi,

if I do a bigtop deployment via puppet I get = an dependency cycle for apt_update:

Error: = Could not apply complete catalog: Found 1 dependency cycle:
(Anchor[apt::source::Bigtop] =3D> Apt::Source[Bigtop] = =3D> Exec[apt_update] =3D> Class[Apt::Update] =3D> = Anchor[apt::source::Bigtop])

The origin of = the dependency deployment is the file = bigtop-deploy/puppet/manifests/site.pp, line 57, which belongs to a code = block that is responsible to add the bigtop repository to apt:

Apt::Source<||> -> Exec['apt_update'] = -> Package<||>

If I remove this = line, the dependency cycle error is gone. Unfortunately, I have to add = the bigtop repository and update apt by myself in this case.

Any suggestions how to fix this without = disabling the statement?


Kind = regards

Carsten

= --Apple-Mail=_B0C30174-9E4A-4654-831A-D6F51229E38F--