From owner-freebsd-virtualization@freebsd.org Fri Aug 14 02:47:44 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 83EC73B256D for ; Fri, 14 Aug 2020 02:47:44 +0000 (UTC) (envelope-from gonzo@bluezbox.com) Received: from id.bluezbox.com (id.bluezbox.com [45.55.20.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BSSXb4zNdz484y for ; Fri, 14 Aug 2020 02:47:43 +0000 (UTC) (envelope-from gonzo@bluezbox.com) Received: from localhost ([127.0.0.1] helo=id.bluezbox.com) by id.bluezbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94 (FreeBSD)) (envelope-from ) id 1k6Pkr-000Jbg-Kr for freebsd-virtualization@freebsd.org; Thu, 13 Aug 2020 19:47:42 -0700 Received: (from gonzo@localhost) by id.bluezbox.com (8.15.2/8.15.2/Submit) id 07E2lfd4075371 for freebsd-virtualization@freebsd.org; Thu, 13 Aug 2020 19:47:41 -0700 (PDT) (envelope-from gonzo@bluezbox.com) X-Authentication-Warning: id.bluezbox.com: gonzo set sender to gonzo@bluezbox.com using -f Date: Thu, 13 Aug 2020 19:47:41 -0700 From: Oleksandr Tymoshenko To: freebsd-virtualization@freebsd.org Subject: Re: azure-agent problems Message-ID: <20200814024741.GA75341@bluezbox.com> References: <20200813024653.GC72347@bastion.zyxst.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200813024653.GC72347@bastion.zyxst.net> X-Operating-System: FreeBSD/11.2-RELEASE-p10 (amd64) X-Spam-Level: -- X-Spam-Report: Spam detection software, running on the system "id.bluezbox.com", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: tech-lists (tech-lists@zyxst.net) wrote: > Hi, > > azure-agent seems to be looking for python3. Is it sufficient to ln -s > /usr/local/bin/python3.7 to python3 ? FreeBSD is 12.1-p8 > > I get these err [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Rspamd-Queue-Id: 4BSSXb4zNdz484y X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of gonzo@bluezbox.com designates 45.55.20.155 as permitted sender) smtp.mailfrom=gonzo@bluezbox.com X-Spamd-Result: default: False [-1.09 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.39)[-0.393]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.85)[-0.846]; DMARC_NA(0.00)[bluezbox.com]; NEURAL_SPAM_SHORT(0.45)[0.448]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14061, ipnet:45.55.0.0/19, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Aug 2020 02:47:44 -0000 tech-lists (tech-lists@zyxst.net) wrote: > Hi, > > azure-agent seems to be looking for python3. Is it sufficient to ln -s > /usr/local/bin/python3.7 to python3 ? FreeBSD is 12.1-p8 > > I get these errors after the vm boots: > > 2020/08/13 01:28:58.246795 INFO Daemon Detect protocol endpoints > 2020/08/13 01:28:58.281770 INFO Daemon Clean protocol > 2020/08/13 01:28:58.283604 INFO Daemon WireServer endpoint is not found. Rerun > dhcp handler > 2020/08/13 01:28:58.285277 INFO Daemon Test for route to [redacted] > 2020/08/13 01:28:58.319451 INFO Daemon Route to [redacted] exists > 2020/08/13 01:28:58.321406 INFO Daemon Wire server endpoint:[redacted] > 2020/08/13 01:28:58.342834 INFO Daemon Fabric preferred wire protocol > version:2015-04-05 > 2020/08/13 01:28:58.344988 INFO Daemon Wire protocol version:2012-11-30 > 2020/08/13 01:28:58.356856 INFO Daemon Server preferred version:2015-04-05 > 2020/08/13 01:28:58.545765 INFO Daemon Certificate with thumbprint > [redacted] has no matching private key. > 2020/08/13 01:28:58.572645 ERROR Daemon Event: name=WALinuxAgent, > op=Provision, message=Provisioning failed: [ProtocolError] [CopyOvfEnv] Error > mounting dvd: [OSUtilError] Failed to mount dvd device > Inner error: [mount -o ro -t udf,iso9660 /dev/cd0 /mnt/cdrom/secure] returned > 1: mount_udf: /dev/cd0: Device not configured > (0s), duration=0 > 2020/08/13 01:28:58.575012 INFO Daemon RDMA capabilities are not enabled, > skipping > 2020/08/13 01:28:58.618318 INFO Daemon Installed Agent WALinuxAgent-2.2.45 is > the most current agent > > and then this, about three times per second: > > 2020/08/13 01:28:58.643209 WARNING Daemon Agent WALinuxAgent-2.2.45 launched > with command 'python3 -u /usr/local/sbin/waagent -run-exthandlers' failed with > exception: [Errno 2] No such file or directory: 'python3': 'python3' > 2020/08/13 01:28:58.671068 ERROR Daemon Event: name=WALinuxAgent, op=Enable, > message=[very long stream of letters and numbers] duration=0 > > and then, this: > > 2020/08/13 01:53:31.308703 WARNING Daemon Too many files under: > /var/lib/waagent/events, removing oldest > 2020/08/13 01:53:31.311327 INFO Daemon Installed Agent WALinuxAgent-2.2.45 is > the most current agent > > repeated about thirty times per second > > I have to kill -9 waagent, or it would fill the vm with logs. > > Here's what /usr/local/bin/pyth* looks like: > > python2.7* python2.7-config* python3.7* python3.7-config@ > python3.7m* python3.7m-config* Hello, I think python3 is provided by lang/python3 meta-package: % pkg which /usr/local/bin/python3 /usr/local/bin/python3 was installed by package python3-3_3 % ls -la /usr/local/bin/python3 lrwxr-xr-x 1 root wheel 9 Jul 9 17:43 /usr/local/bin/python3 -> python3.7 -- gonzo