GNU bug report logs - #22196
Ansible, python executable on remote host

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Al McElrath <hello@HIDDEN>; Keywords: moreinfo; dated Thu, 17 Dec 2015 20:35:02 UTC; Maintainer for guix is bug-guix@HIDDEN.
Added tag(s) moreinfo. Request was from ludo@HIDDEN (Ludovic Courtès) to control <at> debbugs.gnu.org. Full text available.

Message received at 22196 <at> debbugs.gnu.org:


Received: (at 22196) by debbugs.gnu.org; 19 Dec 2015 14:12:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 19 09:12:57 2015
Received: from localhost ([127.0.0.1]:56385 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aAIFk-0001cG-VA
	for submit <at> debbugs.gnu.org; Sat, 19 Dec 2015 09:12:57 -0500
Received: from eggs.gnu.org ([208.118.235.92]:54289)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <ludo@HIDDEN>) id 1aAIFi-0001c4-U3
 for 22196 <at> debbugs.gnu.org; Sat, 19 Dec 2015 09:12:55 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ludo@HIDDEN>) id 1aAIFa-0002VV-LY
 for 22196 <at> debbugs.gnu.org; Sat, 19 Dec 2015 09:12:49 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41772)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1aAIFa-0002VR-IB; Sat, 19 Dec 2015 09:12:46 -0500
Received: from reverse-83.fdn.fr ([80.67.176.83]:44222 helo=pluto)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1aAIFa-0007Gg-0K; Sat, 19 Dec 2015 09:12:46 -0500
From: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=)
To: Al McElrath <hello@HIDDEN>
Subject: Re: bug#22196: Ansible, python executable on remote host
References: <87vb7w3jft.fsf@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 29 Frimaire an 224 de la =?utf-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x3D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-unknown-linux-gnu
Date: Sat, 19 Dec 2015 15:12:44 +0100
In-Reply-To: <87vb7w3jft.fsf@HIDDEN> (Al McElrath's message of "Thu, 17
 Dec 2015 12:32:22 -0800")
Message-ID: <87oadmzfvn.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 22196
Cc: 22196 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

Hi!

Al McElrath <hello@HIDDEN> skribis:

> I had some trouble with ansible that I'd like to share. I believe it
> tries to use the same path to the python executable on the remote host
> as exists locally, which is problematic for guix:
>
> '/bin/sh: 1: /gnu/store/5isi4xqg1jr5rqbr6pfap28fw5116dnr-python-2.7.10/bi=
n/python: not found'

Oops, indeed.

> workaround in the form of a setting to specify the remote python path,
> "ansible_python_interpreter":
>
> http://docs.ansible.com/ansible/intro_inventory.html#list-of-behavioral-i=
nventory-parameters
>
> Not quite a bug, but maybe this will help someone else.

I=E2=80=99m guessing we could at least change the default value.  Would it =
be
possible to set the default value of =E2=80=98ansible_python_interpreter=E2=
=80=99 to
just =E2=80=98python=E2=80=99, hoping that it will be searched for in $PATH=
 on the
remote host?

Sounds like the most viable option.

Thanks for your report!

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#22196; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 17 Dec 2015 20:34:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 17 15:34:35 2015
Received: from localhost ([127.0.0.1]:54759 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1a9fFz-0000Um-5i
	for submit <at> debbugs.gnu.org; Thu, 17 Dec 2015 15:34:35 -0500
Received: from eggs.gnu.org ([208.118.235.92]:52285)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <hello@HIDDEN>) id 1a9fEA-0000RU-33
 for submit <at> debbugs.gnu.org; Thu, 17 Dec 2015 15:32:42 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <hello@HIDDEN>) id 1a9fE3-0007e6-U7
 for submit <at> debbugs.gnu.org; Thu, 17 Dec 2015 15:32:36 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:36962)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <hello@HIDDEN>) id 1a9fE3-0007e2-Ro
 for submit <at> debbugs.gnu.org; Thu, 17 Dec 2015 15:32:35 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:43249)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <hello@HIDDEN>) id 1a9fE2-0005aq-Ux
 for bug-guix@HIDDEN; Thu, 17 Dec 2015 15:32:35 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <hello@HIDDEN>) id 1a9fDz-0007d8-JO
 for bug-guix@HIDDEN; Thu, 17 Dec 2015 15:32:34 -0500
Received: from atonesir.com ([23.239.4.175]:36271 helo=mail.atonesir.com)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <hello@HIDDEN>) id 1a9fDz-0007bD-DZ
 for bug-guix@HIDDEN; Thu, 17 Dec 2015 15:32:31 -0500
Received: from [127.0.0.1] (localhost [127.0.0.1])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by mail.atonesir.com (Postfix) with ESMTPSA id B7621220E5
 for <bug-guix@HIDDEN>; Thu, 17 Dec 2015 20:32:22 +0000 (UTC)
DMARC-Filter: OpenDMARC Filter v1.3.0 mail.atonesir.com B7621220E5
Authentication-Results: mail.atonesir.com; dmarc=none header.from=atonesir.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=atonesir.com;
 s=default; t=1450384342;
 bh=gPp7J05fDZtJEGCcqLs9V+7cBQjvYPkvhEUou/Q5r/E=;
 h=From:To:Subject:Date;
 b=Bzgkfm9TfBBqoKcKd/Z23//8c9mC57kErYcboK5HHJdox/CKxa8ZswgVLjZh2Fk7o
 TWmfww1y7zY04ij55DpaJttCsFJsS0DfvoXoPhZvf25oFHc1JaymINHnvFmr0Ps6Mn
 XlXaJ2QMVPGJhQZDGXFopVXDyYGVv0DJZ6jXkrzE=
From: Al McElrath <hello@HIDDEN>
To: bug-guix@HIDDEN
Subject: Ansible, python executable on remote host
Date: Thu, 17 Dec 2015 12:32:22 -0800
Message-ID: <87vb7w3jft.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Thu, 17 Dec 2015 15:34:33 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.1 (----)


Hi,

I had some trouble with ansible that I'd like to share. I believe it
tries to use the same path to the python executable on the remote host
as exists locally, which is problematic for guix:

'/bin/sh: 1: /gnu/store/5isi4xqg1jr5rqbr6pfap28fw5116dnr-python-2.7.10/bin/python: not found'

I imagine this can be a problem for non-guix users too, and there's a
workaround in the form of a setting to specify the remote python path,
"ansible_python_interpreter":

http://docs.ansible.com/ansible/intro_inventory.html#list-of-behavioral-inventory-parameters

Not quite a bug, but maybe this will help someone else.




Acknowledgement sent to Al McElrath <hello@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#22196; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 3 May 2016 20:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.