Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Aug 2020 03:46:53 +0100
From:      tech-lists <tech-lists@zyxst.net>
To:        freebsd-virtualization@freebsd.org
Subject:   azure-agent problems
Message-ID:  <20200813024653.GC72347@bastion.zyxst.net>

next in thread | raw e-mail | index | archive | help

--eHhjakXzOLJAF9wJ
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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. Re=
run
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=3DWALinuxAgent,
op=3DProvision, message=3DProvisioning 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] return=
ed
1: mount_udf: /dev/cd0: Device not configured
  (0s), duration=3D0
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 w=
ith
exception: [Errno 2] No such file or directory: 'python3': 'python3'
2020/08/13 01:28:58.671068 ERROR Daemon Event: name=3DWALinuxAgent, op=3DEn=
able,
message=3D[very long stream of letters and numbers] duration=3D0

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*

thanks,
--=20
J.

--eHhjakXzOLJAF9wJ
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAl80qa4ACgkQs8o7QhFz
NAWAkhAAp8TQ6EA+FQEByJPwRN1A6Ltmrv5Ch6G5iZtNvv5beLB9oyRqZcvLRyQw
+fYFUvMF2HIdksASqlnt6IPFm9tUU7dy1+Gw3gUz4iVnuPeVjhQ6m3hwzdpeD0eo
BtoCUzO/ll/Q3V/H1n+xHmb6rMR+yKanOSL2TWVcaOsJTUDIIpRhMYxzuYnI+SMk
iK7hZ43+/82bjhm5q7UPOvt6GGnPDOdDA41e51O8BdQraQCdE0d4k8hfudRqHM7F
+TfkezMg7BFkV7gSsOHFLN0YCkgk/O1rBb1qBxHtEfLgQc8Xr0ISrcgQaIGtWCbP
SVi9AgJAxq0+563Vp+fPpRM6AVg+g2auKmsLvl4ZkcQl+9XChxvaOj16ZDP04/Xp
D/9I19Ml8WNkTFNiUO5pdxSGKZuzpSLnE1hnuw06ARv3nfVt+C3AfdL2vrJbuPBP
RqUKXf/TOfrtHp4ZXLmZRpN6NUkIUJ3ME6OUdTXxjhre+kg6uFMyNMldHtl61gf2
iE8lFypluvpHs6HbNHyOTe7117JqCzr8UmsKcZuCVyClxUgltsqvIuxPCD4DMznj
2NhWHT3qDJwJLLjaoEF6N19Nkferw13GxOmHFrXtspSlCxNESuWcFOtKLVMy08Wh
JpHhu9cmk+WKlli7VNZRQUMRYEsXE0SgFXTQZtPyafW6Jz7+UOw=
=Fz/A
-----END PGP SIGNATURE-----

--eHhjakXzOLJAF9wJ--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200813024653.GC72347>