saltstack / salt

Software to automate the management and configuration of any infrastructure or application at scale. Install Salt from the Salt package repositories here:
https://docs.saltproject.io/salt/install-guide/en/latest/
Apache License 2.0
14.18k stars 5.48k forks source link

[BUG] Minion can't upgrade itself (at least Debian 10 and 11) #63459

Open tkaehn opened 1 year ago

tkaehn commented 1 year ago

Description A minion can't upgrade itself (at least using Debian 10 and 11)

Setup

Steps to Reproduce the behavior

root@master:~# salt minion pkg.list_upgrades
minion:
    ----------
    salt-common:
        3005.1+ds-4
    salt-minion:
        3005.1+ds-4
root@master:~# salt minion pkg.upgrade
minion:
    Minion did not return. [No response]
    The minions may not have all finished running and any remaining minions will return upon completion. To look up the return data for this job later, run the following command:

    salt-run jobs.lookup_jid 20230111093148509828
ERROR: Minions returned with non-zero exit code

root@minion:~# systemctl status salt-minion
● salt-minion.service - The Salt Minion
   Loaded: loaded (/lib/systemd/system/salt-minion.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2023-01-11 10:33:36 CET; 6min ago
     Docs: man:salt-minion(1)
           file:///usr/share/doc/salt/html/contents.html
           https://docs.saltproject.io/en/latest/contents.html
  Process: 32191 ExecStart=/usr/bin/salt-minion (code=exited, status=1/FAILURE)
 Main PID: 32191 (code=exited, status=1/FAILURE)

Jan 11 10:33:30 minion systemd[1]: Starting The Salt Minion...
Jan 11 10:33:31 minion systemd[1]: Started The Salt Minion.
Jan 11 10:33:31 minion salt-minion[32191]: The Salt Minion is shutdown.
Jan 11 10:33:36 minion systemd[1]: salt-minion.service: Main process exited, code=exited, status=1/FAILURE
Jan 11 10:33:36 minion systemd[1]: salt-minion.service: Failed with result 'exit-code'.

Expected behavior The minion should be able to upgrade/restart itself and connect to the master again.

Versions Report

root@minion:~# salt-call --versions-report
Salt Version:
          Salt: 3005.1

Dependency Versions:
          cffi: 1.14.6
      cherrypy: 18.6.1
      dateutil: 2.8.1
     docker-py: Not Installed
         gitdb: Not Installed
     gitpython: Not Installed
        Jinja2: 3.1.0
       libgit2: Not Installed
      M2Crypto: Not Installed
          Mako: Not Installed
       msgpack: 1.0.2
  msgpack-pure: Not Installed
  mysql-python: Not Installed
     pycparser: 2.21
      pycrypto: Not Installed
  pycryptodome: 3.9.8
        pygit2: Not Installed
        Python: 3.9.16 (main, Jan  6 2023, 22:50:03)
  python-gnupg: 0.4.8
        PyYAML: 5.4.1
         PyZMQ: 23.2.0
         smmap: Not Installed
       timelib: 0.2.4
       Tornado: 4.5.3
           ZMQ: 4.3.4

System Versions:
          dist: debian 10 buster
        locale: utf-8
       machine: x86_64
       release: 4.19.0-23-amd64
        system: Linux
       version: Debian GNU/Linux 10 buster

A minion running Debian 11 showed the same problem.

OrangeDog commented 1 year ago

Are you upgrading from classic to onedir? There are manual steps involved. Have a look at https://docs.saltproject.io/salt/install-guide/en/latest/topics/upgrade-to-onedir.html

For general upgrades, the minion shouldn't get stopped until the postinst does a restart. The salt job will still fail to return, but the minion should still end up running the new version.

tkaehn commented 1 year ago

No, I am not upgrading from classic to onedir in this case. The example shown was from 3005.1+ds-3 (onedir) to 3005.1+ds-4 (onedir) on Debian 10. Debian 11 is affected, too.

I haven't tested a system still running classic packages.

eliasp commented 1 year ago

Seeing the same problem on my Ubuntu 22.04 development template image, trying to upgrade 3005.1+ds-1 to 3005.1+ds-4:

[ERROR   ] An un-handled exception was caught by Salt's global exception handler:
ImportError: Loader FrozenImporter cannot handle module site
Traceback (most recent call last):
  File "PyInstaller/loader/pyimod03_importers.py", line 298, in get_code
  File "PyInstaller/loader/pyimod02_archive.py", line 296, in extract
zlib.error: Error -3 while decompressing data: incorrect header check

(Full debug output below)

Versions Report (before failing upgrade):

Salt Version:
          Salt: 3005.1

Dependency Versions:
          cffi: 1.14.6
      cherrypy: 18.6.1
      dateutil: 2.8.1
     docker-py: Not Installed
         gitdb: Not Installed
     gitpython: Not Installed
        Jinja2: 3.1.0
       libgit2: Not Installed
      M2Crypto: Not Installed
          Mako: Not Installed
       msgpack: 1.0.2
  msgpack-pure: Not Installed
  mysql-python: Not Installed
     pycparser: 2.21
      pycrypto: Not Installed
  pycryptodome: 3.9.8
        pygit2: Not Installed
        Python: 3.9.14 (main, Oct  3 2022, 21:22:21)
  python-gnupg: 0.4.8
        PyYAML: 5.4.1
         PyZMQ: 23.2.0
         smmap: Not Installed
       timelib: 0.2.4
       Tornado: 4.5.3
           ZMQ: 4.3.4

System Versions:
          dist: ubuntu 22.04 jammy
        locale: utf-8
       machine: x86_64
       release: 5.15.0-56-generic
        system: Linux
       version: Ubuntu 22.04 jammy
Full debug output ("salt-call --local -l debug state.single pkg.latest name=salt-minion")
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load log4mongo
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load raven                                                                                                                                                                                                               [DEBUG   ] Reading configuration from /etc/salt/minion
[DEBUG   ] Including configuration from '/etc/salt/minion.d/ext_pillar.conf'
[DEBUG   ] Reading configuration from /etc/salt/minion.d/ext_pillar.conf                                                                                                                                                                                                                [DEBUG   ] Including configuration from '/etc/salt/minion.d/masterless.conf'
[DEBUG   ] Reading configuration from /etc/salt/minion.d/masterless.conf
[DEBUG   ] Guessing ID. The id can be explicitly set in /etc/salt/minion                                                                                                                                                                                                                [DEBUG   ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it
[DEBUG   ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string
[DEBUG   ] Found minion id from generate_minion_id(): ubuntu-jammy-salt-shared
[WARNING ] Insecure logging configuration detected! Sensitive data may be logged.
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load log4mongo
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load raven                                                                                                                                                                                                               [DEBUG   ] Configuration file path: /etc/salt/minion
[DEBUG   ] Grains refresh requested. Refreshing grains.                                                                                                                                                                                                                                 [DEBUG   ] Reading configuration from /etc/salt/minion
[DEBUG   ] Including configuration from '/etc/salt/minion.d/ext_pillar.conf'
[DEBUG   ] Reading configuration from /etc/salt/minion.d/ext_pillar.conf
[DEBUG   ] Including configuration from '/etc/salt/minion.d/masterless.conf'
[DEBUG   ] Reading configuration from /etc/salt/minion.d/masterless.conf
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pywintypes
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load dns
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load tldextract
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load tldextract
[DEBUG   ] The functions from module 'core' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'disks' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'extra' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'lvm' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'mdadm' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'minion_process' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load napalm
[DEBUG   ] The functions from module 'opts' are being loaded by dir() on the loaded module                                                                                                                                                                                    [746/2782][DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pythoncom
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load win32com
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load win32api
[DEBUG   ] Override  __utils__: 
[DEBUG   ] The functions from module 'zfs' are being loaded by dir() on the loaded module
[DEBUG   ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it
[DEBUG   ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string
[DEBUG   ] Elapsed time getting FQDNs: 0.1259150505065918 seconds
[DEBUG   ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it
[DEBUG   ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string
[DEBUG   ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it
[DEBUG   ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string
[DEBUG   ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it
[DEBUG   ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load _bootlocale
[DEBUG   ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it
[DEBUG   ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string
[DEBUG   ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it
[DEBUG   ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string
[DEBUG   ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it
[DEBUG   ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string
[DEBUG   ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it
[DEBUG   ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load lsb_release
[DEBUG   ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it
[DEBUG   ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string
[DEBUG   ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it
[DEBUG   ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string
[DEBUG   ] The `lspci` binary is not available on the system. GPU grains will not be available.
[DEBUG   ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it
[DEBUG   ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string
[DEBUG   ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it
[DEBUG   ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string
[DEBUG   ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it
[DEBUG   ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string
[DEBUG   ] The functions from module 'zfs' are being loaded by dir() on the loaded module
[DEBUG   ] LazyLoaded zfs.is_supported
[DEBUG   ] Determining pillar cache
[DEBUG   ] The functions from module 'jinja' are being loaded by dir() on the loaded module
[DEBUG   ] LazyLoaded jinja.render
[DEBUG   ] The functions from module 'yaml' are being loaded by dir() on the loaded module
[DEBUG   ] LazyLoaded yaml.render
[DEBUG   ] The functions from module 'jinja' are being loaded by dir() on the loaded module
[DEBUG   ] LazyLoaded jinja.render
[DEBUG   ] The functions from module 'yaml' are being loaded by dir() on the loaded module
[DEBUG   ] LazyLoaded yaml.render
[DEBUG   ] The functions from module 'state' are being loaded by dir() on the loaded module
[DEBUG   ] LazyLoaded state.single
[DEBUG   ] The functions from module 'direct_call' are being loaded by dir() on the loaded module
[DEBUG   ] LazyLoaded direct_call.execute
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pywintypes
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load immutables
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load singledispatch
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load singledispatch_helpers
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load backports_abc
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load backports
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load saltwinshell
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load esky
[DEBUG   ] The functions from module 'saltutil' are being loaded by dir() on the loaded module
[DEBUG   ] LazyLoaded saltutil.is_running
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load smbprotocol
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pypsexec
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load winrm
[DEBUG   ] The functions from module 'config' are being loaded by dir() on the loaded module
[DEBUG   ] LazyLoaded config.get
[DEBUG   ] Gathering pillar data for state run
[DEBUG   ] Determining pillar cache
[DEBUG   ] The functions from module 'jinja' are being loaded by dir() on the loaded module
[DEBUG   ] LazyLoaded jinja.render
[DEBUG   ] The functions from module 'yaml' are being loaded by dir() on the loaded module                                                                                                                                                                                    [670/2782][DEBUG   ] LazyLoaded yaml.render
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load dbus
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load apt
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load apt_pkg
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load softwareproperties
[DEBUG   ] The functions from module 'pkg' are being loaded by dir() on the loaded module
[DEBUG   ] LazyLoaded pkg.install
[DEBUG   ] The functions from module 'pkg' are being loaded by dir() on the loaded module
[DEBUG   ] LazyLoaded pkg.latest
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load gnupg
[DEBUG   ] The functions from module 'lowpkg' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load portage
[DEBUG   ] The functions from module 'kernelpkg' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load yum
[DEBUG   ] The functions from module 'pkg_resource' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load rpm
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load rpmUtils
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load rpm_vercmp
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load yum
[DEBUG   ] The functions from module 'aliases' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'alternatives' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load iptc
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load rarfile
[DEBUG   ] The functions from module 'archive' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pyeapi
[DEBUG   ] The functions from module 'artifactory' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load augeas
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load azure
[DEBUG   ] Reading configuration from /etc/salt/minion
[DEBUG   ] Including configuration from '/etc/salt/minion.d/ext_pillar.conf'
[DEBUG   ] Reading configuration from /etc/salt/minion.d/ext_pillar.conf
[DEBUG   ] Including configuration from '/etc/salt/minion.d/masterless.conf'
[DEBUG   ] Reading configuration from /etc/salt/minion.d/masterless.conf
[DEBUG   ] Guessing ID. The id can be explicitly set in /etc/salt/minion
[DEBUG   ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it
[DEBUG   ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string
[DEBUG   ] Found minion id from generate_minion_id(): ubuntu-jammy-salt-shared
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load azure
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load azure
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load azure
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load azure
[DEBUG   ] The functions from module 'baredoc' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'beacons' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'bigip' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load bluetooth
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load botocore
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto3
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto3
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load botocore
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto3
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto3
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto3                                                                                                                                                                                                     [600/2782][DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto3
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto3
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto3
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto3
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load simplejson
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto3
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto3
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto3
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load M2Crypto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load crypt
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load _crypt
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load passlib
[DEBUG   ] The functions from module 'btrfs' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load capirca
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load cassandra
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pycassa
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load celery
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load ceph_cfg
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load win32file
[DEBUG   ] The functions from module 'path' are being loaded by dir() on the loaded module
[DEBUG   ] LazyLoaded path.which
[DEBUG   ] The functions from module 'chroot' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load ciscoconfparse
[DEBUG   ] The functions from module 'cloud' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'cmd' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'composer' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'config' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'consul' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'container_resource' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'cp' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'cryptdev' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'data' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load datadog
[DEBUG   ] The functions from module 'debconf' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'ip' are being loaded by dir() on the loaded module                                                                                                                                                                                      [530/2782][DEBUG   ] The functions from module 'defaults' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'devinfo' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'devmap' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'disk' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'django' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'dnsmasq' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'dnsutil' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load compose
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load compose
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load docker
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load docker
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load docker
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load docker
[DEBUG   ] Override  __salt__: 
[DEBUG   ] The functions from module 'drbd' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load elasticsearch
[DEBUG   ] The functions from module 'environ' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load etcd
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load etcd3
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load ethtool
[DEBUG   ] The functions from module 'ethtool' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'event' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'extfs' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'file' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'freezer' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load googleapiclient
[DEBUG   ] The functions from module 'gem' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'genesis' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load gentoolkit
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load github
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load shade
[DEBUG   ] The functions from module 'glassfish' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load gi
[DEBUG   ] The functions from module 'google_chat' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'gpg' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'grafana4' are being loaded by dir() on the loaded module
[DEBUG   ] Override  __grains__: 
[DEBUG   ] The functions from module 'grains' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'group' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load haproxy
[DEBUG   ] The functions from module 'hashutil' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load heatclient
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load oslo_serialization
[DEBUG   ] The functions from module 'helm' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'highstate_doc' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'hosts' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'http' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pop
[DEBUG   ] The functions from module 'aggregation' are being loaded from the provided __all__ attribute
[DEBUG   ] The functions from module 'args' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'asynchronous' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'atomicfile' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'aws' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load azure
[DEBUG   ] Reading configuration from /etc/salt/minion
[DEBUG   ] Including configuration from '/etc/salt/minion.d/ext_pillar.conf'
[DEBUG   ] Reading configuration from /etc/salt/minion.d/ext_pillar.conf
[DEBUG   ] Including configuration from '/etc/salt/minion.d/masterless.conf'
[DEBUG   ] Reading configuration from /etc/salt/minion.d/masterless.conf
[DEBUG   ] Guessing ID. The id can be explicitly set in /etc/salt/minion
[DEBUG   ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it
[DEBUG   ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string
[DEBUG   ] Found minion id from generate_minion_id(): ubuntu-jammy-salt-shared
[DEBUG   ] The functions from module 'beacons' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load botocore
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto3
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] The functions from module 'boto_elb_tag' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto                                                                                                                                                                                                      [460/2782][DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load boto
[DEBUG   ] The functions from module 'cache' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'channel' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pypsexec
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load winrm
[DEBUG   ] The functions from module 'cloud' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'color' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'compat' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'configcomparer' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'configparser' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'context' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load M2Crypto
[DEBUG   ] The functions from module 'crypt' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'ctx' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'data' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'dateutils' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'debug' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'decorators' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'dictdiffer' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'dicttrim' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'dictupdate' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load tldextract
[DEBUG   ] The functions from module 'dns' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'doc' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load docker
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load docker
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load docker
[DEBUG   ] The functions from module 'entrypoints' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'environment' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'error' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load etcd
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load etcd3
[DEBUG   ] The functions from module 'etcd_util' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'event' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load click
[DEBUG   ] The functions from module 'extend' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'extmods' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'filebuffer' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'files' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'find' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'fsutils' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'functools' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load git
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pygit2
[DEBUG   ] The functions from module 'gitfs' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'github' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'gzip_util' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'hashutils' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pycurl
[DEBUG   ] The functions from module 'http' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'iam' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'icinga2' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'immutabletypes' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'itertools' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'jid' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'jinja' are being loaded from the provided __all__ attribute
[DEBUG   ] The functions from module 'job' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'json' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'kickstart' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'kinds' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'lazy' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'listdiffer' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'locales' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load mako
[DEBUG   ] The functions from module 'mako' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'master' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'mattermost' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load memcache
[DEBUG   ] The functions from module 'migrations' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'mine' are being loaded by dir() on the loaded module                                                                                                                                                                                    [390/2782][DEBUG   ] The functions from module 'minion' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load seco
[DEBUG   ] The functions from module 'minions' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'mount' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load azure
[DEBUG   ] The functions from module 'msazure' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'msgpack' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load libnacl
[DEBUG   ] The functions from module 'namecheap' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'napalm' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pywintypes
[DEBUG   ] The functions from module 'nb_popen' are being loaded by dir() on the loaded module
[DEBUG   ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string
[DEBUG   ] The functions from module 'network' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'nxos' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'nxos_api' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'odict' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'openstack' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'oset' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'pagerduty' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'parsers' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pyVim
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load com
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load gssapi
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pyVmomi
[DEBUG   ] The functions from module 'pkg' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'platform' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'powershell' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'preseed' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'process' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'profile' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'proxy' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'psutil_compat' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'pushover' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load M2Crypto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load passlib
[DEBUG   ] The functions from module 'pycrypto' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'pydsl' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'pyinstaller' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'pyobjects' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'reactor' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'reclass' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load seco
[DEBUG   ] The functions from module 'roster_matcher' are being loaded by dir() on the loaded module
[DEBUG   ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string
[DEBUG   ] The functions from module 'rsax931' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 's3' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'saltclass' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'sanitizers' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load croniter
[DEBUG   ] The functions from module 'schedule' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'schema' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'sdb' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'slack' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load smbprotocol
[DEBUG   ] The functions from module 'smb' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load smtplib
[DEBUG   ] The functions from module 'smtp' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load ujson
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load yajl
[DEBUG   ] The functions from module 'ssdp' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'ssh' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'state' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'stringio' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'stringutils' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load dbus
[DEBUG   ] The functions from module 'systemd' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'templates' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'textformat' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load singledispatch                                                                                                                                                                                            [320/2782][DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load singledispatch_helpers
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load backports_abc
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load backports
[DEBUG   ] The functions from module 'thin' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'timed_subprocess' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'timeout' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'timeutil' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'url' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pysss
[DEBUG   ] The functions from module 'user' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'validate' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'value' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'vault' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load win32file
[DEBUG   ] The functions from module 'verify' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'versions' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'virt' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load vboxapi
[DEBUG   ] The functions from module 'virtualbox' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pyVim
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load com
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load gssapi
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pyVmomi
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pyVmomi
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load win32file
[DEBUG   ] The functions from module 'vt' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'vt_helper' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pywintypes
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load win32security
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pywintypes
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load win32net
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pywintypes
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load win32gui
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load win32api
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pywintypes
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load win32api
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load win32com
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pythoncom
[DEBUG   ] The functions from module 'xdg' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'xmlutil' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'yaml' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'yamldumper' are being loaded from the provided __all__ attribute
[DEBUG   ] The functions from module 'yamlencoding' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load yamllint
[DEBUG   ] The functions from module 'yamllint' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'yamlloader' are being loaded from the provided __all__ attribute
[DEBUG   ] The functions from module 'yamlloader_old' are being loaded from the provided __all__ attribute
[DEBUG   ] The functions from module 'yast' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'zeromq' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'zfs' are being loaded by dir() on the loaded module
[DEBUG   ] Could not LazyLoad idem.hub: 'idem' __virtual__ returned False: No module named 'pop'
[DEBUG   ] The functions from module 'incron' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load influxdb
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load influxdb
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load libinfoblox
[DEBUG   ] The functions from module 'ini' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'inspectlib' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'inspector' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'introspect' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'iosconfig' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pyghmi
[DEBUG   ] The functions from module 'jboss7' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'jboss7_cli' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load jenkins
[DEBUG   ] The functions from module 'jinja' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load jira
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load lxml
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load jnpr
[DEBUG   ] The functions from module 'k8s' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load keystoneclient                                                                                                                                                                                            [248/2782][DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load shade
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load jks
[DEBUG   ] The functions from module 'kmod' are being loaded by dir() on the loaded module
[DEBUG   ] Override  __salt__: 
[DEBUG   ] The functions from module 'kubeadm' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load kubernetes
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load ldap
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load ldap
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load libcloud
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load libcloud
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load libcloud
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load libcloud
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load spwd
[DEBUG   ] The functions from module 'shadow' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'sysctl' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load dbus
[DEBUG   ] The functions from module 'locale' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'locate' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'log' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'logrotate' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pylxd
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load sqlite3
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load _sqlite3
[DEBUG   ] The functions from module 'mandrill' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'match' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'mattermost' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load memcache
[DEBUG   ] The functions from module 'mine' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load git
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load gitdb
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pygit2
[DEBUG   ] The functions from module 'minion' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'random' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'modjk' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pymongo
[DEBUG   ] The functions from module 'mount' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pymssql
[DEBUG   ] The functions from module 'msteams' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load MySQLdb
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pymysql
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load sqlparse
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load libnacl
[DEBUG   ] The functions from module 'nagios_rpc' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'namecheap_domains' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'namecheap_domains_dns' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'namecheap_domains_ns' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'namecheap_ssl' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'namecheap_users' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load netmiko
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load jxmlease
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load ciscoconfparse
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load scp
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load capirca
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load jxmlease
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load napalm_yang
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load netaddr
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pynetbox
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load netmiko
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load nsnitro
[DEBUG   ] The functions from module 'network' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load neutronclient
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load keystoneauth1
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load shade
[DEBUG   ] The functions from module 'nexus' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pyconnman
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load dbus
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pyiface
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load novaclient
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load keystoneauth1
[DEBUG   ] The functions from module 'nova' are being loaded by dir() on the loaded module                                                                                                                                                                                    [178/2782][DEBUG   ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it
[DEBUG   ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string
[DEBUG   ] The functions from module 'nspawn' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'nxos' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'nxos_api' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'nxos' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pypureomapi
[DEBUG   ] The functions from module 'openscap' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'openstack_config' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'opsgenie' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load cx_Oracle
[DEBUG   ] The functions from module 'out' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'pagerduty' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'pagerduty_util' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'pam' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'parallels' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'peeringdb' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'hue' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'pillar' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'pip' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load portage
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load secrets
[DEBUG   ] The functions from module 'ps' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'publish' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load purestorage
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load purity_fb
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pushbullet
[DEBUG   ] The functions from module 'pushover' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'pyenv' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'random_org' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'rbenv' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pywintypes
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load redis
[DEBUG   ] The functions from module 'rest_sample_utils' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'restartcheck' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'ret' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'rvm' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 's3' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 's6' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'salt_proxy' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'salt_version' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'saltcheck' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load saltcloud
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load esky
[DEBUG   ] The functions from module 'saltutil' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'schedule' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load scp
[DEBUG   ] The functions from module 'scsi' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'sdb' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'seed' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load sense_hat
[DEBUG   ] The functions from module 'serverdensity_device' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load servicenow_rest
[DEBUG   ] The functions from module 'slack' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'slsutil' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'smbios' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'smtp' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load dbus
[DEBUG   ] The functions from module 'solrcloud' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load splunklib
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load splunklib
[DEBUG   ] The functions from module 'sqlite3' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'state' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'status' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'statuspage' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'supervisord' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load docker
[DEBUG   ] The functions from module 'sysfs' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'syslog_ng' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'sys' are being loaded by dir() on the loaded module                                                                                                                                                                                     [108/2782][DEBUG   ] The functions from module 'system' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'service' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'telegram' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'telemetry' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'temp' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'test' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load testinfra
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load textfsm
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load textfsm
[DEBUG   ] The functions from module 'timezone' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load OpenSSL
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load cryptography
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load bcrypt
[DEBUG   ] The functions from module 'tls' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'travisci' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load twilio
[DEBUG   ] Override  __salt__: 
[DEBUG   ] The functions from module 'uptime' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'user' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'vault' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'vbox_guest' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load libvirt
[DEBUG   ] Override  __pillar__: 
[DEBUG   ] The functions from module 'virtualenv' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pyVmomi
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pyVmomi
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pyVmomi
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load jsonschema
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pyVmomi
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load com
[DEBUG   ] The functions from module 'vsphere' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load winreg
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load win32api
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load wmi
[DEBUG   ] DSC: Only available on Windows systems
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load win32api
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load lxml
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load wmi
[DEBUG   ] Module PSGet: Only available on Windows systems
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pywintypes
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pywintypes
[DEBUG   ] Shortcut module only available on Windows systems
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load wmi
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pywintypes
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pywintypes
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pythoncom
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pytz
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load pywintypes
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load win32com
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load M2Crypto
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load xen
[DEBUG   ] The functions from module 'xfs' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'xml' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load sleekxmpp
[DEBUG   ] The functions from module 'zabbix' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'buildout' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'zenoss' are being loaded by dir() on the loaded module
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load kazoo
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load kazoo
[DEBUG   ] Could not LazyLoad pkg.ex_mod_init: 'pkg.ex_mod_init' is not available.
[INFO    ] Running state [salt-minion] at time 05:27:01.992989
[INFO    ] Executing state pkg.latest for [salt-minion]
[DEBUG   ] Could not LazyLoad pkg.resolve_capabilities: 'pkg.resolve_capabilities' is not available.
[INFO    ] Executing command dpkg-query in directory '/root'
[DEBUG   ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it
[DEBUG   ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string
[INFO    ] Executing command apt-get in directory '/root'
[DEBUG   ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it
[DEBUG   ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string
[INFO    ] Executing command apt-cache in directory '/root'                                                                                                                                                                                                                    [38/2782][DEBUG   ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it
[DEBUG   ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string
[INFO    ] Executing command dpkg in directory '/root'
[DEBUG   ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it
[DEBUG   ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string
[INFO    ] Executing command dpkg in directory '/root'
[DEBUG   ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it
[DEBUG   ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string
[DEBUG   ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it
[DEBUG   ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string
[INFO    ] Executing command systemd-run in directory '/root'
[DEBUG   ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it
[DEBUG   ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string
[INFO    ] Executing command dpkg-query in directory '/root'
[DEBUG   ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it
[DEBUG   ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string
[INFO    ] Made the following changes:
'salt-common' changed from '3005.1+ds-1' to '3005.1+ds-4'
'salt-minion' changed from '3005.1+ds-1' to '3005.1+ds-4'

[DEBUG   ] Refreshing modules...
[DEBUG   ] TiamatPipPathFinder.find_spec: First time trying to load site
[DEBUG   ] Restoring sys.argv to: ['/opt/saltstack/salt/run/run', '--local', '-l', 'debug', 'state.single', 'pkg.latest', 'name=salt-minion']
[ERROR   ] An un-handled exception was caught by Salt's global exception handler:
ImportError: Loader FrozenImporter cannot handle module site
Traceback (most recent call last):
  File "PyInstaller/loader/pyimod03_importers.py", line 298, in get_code
  File "PyInstaller/loader/pyimod02_archive.py", line 296, in extract
zlib.error: Error -3 while decompressing data: incorrect header check

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/root/.pyenv/versions/3.9.14/envs/tmpkbzyfkoz/bin/salt", line 118, in 
  File "/root/.pyenv/versions/3.9.14/envs/tmpkbzyfkoz/bin/salt", line 113, in redirect
  File "salt/scripts.py", line 441, in salt_call
    client.run()
  File "salt/cli/call.py", line 50, in run
    caller.run()
  File "salt/cli/caller.py", line 95, in run
    ret = self.call()
  File "salt/cli/caller.py", line 202, in call
    ret["return"] = self.minion.executors[fname](
  File "salt/loader/lazy.py", line 149, in __call__
    return self.loader.run(run_func, *args, **kwargs)
  File "salt/loader/lazy.py", line 1228, in run
    return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
  File "salt/loader/lazy.py", line 1243, in _run_as
    return _func_or_method(*args, **kwargs)
  File "/opt/saltstack/salt/run/salt/executors/direct_call.py", line 10, in execute
    return func(*args, **kwargs)
  File "salt/loader/lazy.py", line 149, in __call__
    return self.loader.run(run_func, *args, **kwargs)
  File "salt/loader/lazy.py", line 1228, in run
    return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
  File "salt/loader/lazy.py", line 1243, in _run_as
    return _func_or_method(*args, **kwargs)
  File "/opt/saltstack/salt/run/salt/modules/state.py", line 2199, in single
    "{0[state]}_|-{0[__id__]}_|-{0[name]}_|-{0[fun]}".format(kwargs): st_.call(
  File "salt/utils/decorators/state.py", line 45, in _func
    result = func(*args, **kwargs)
  File "salt/state.py", line 2334, in call
    self.check_refresh(low, ret)
  File "salt/state.py", line 1288, in check_refresh
    self.module_refresh()
  File "salt/state.py", line 1236, in module_refresh
    importlib.reload(site)
  File "importlib/__init__.py", line 169, in reload
  File "", line 613, in _exec
  File "PyInstaller/loader/pyimod03_importers.py", line 478, in exec_module
  File "PyInstaller/loader/pyimod03_importers.py", line 300, in get_code
ImportError: Loader FrozenImporter cannot handle module site
Traceback (most recent call last):
  File "PyInstaller/loader/pyimod03_importers.py", line 298, in get_code
  File "PyInstaller/loader/pyimod02_archive.py", line 296, in extract
zlib.error: Error -3 while decompressing data: incorrect header check

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/root/.pyenv/versions/3.9.14/envs/tmpkbzyfkoz/bin/salt", line 118, in 
  File "/root/.pyenv/versions/3.9.14/envs/tmpkbzyfkoz/bin/salt", line 113, in redirect
  File "salt/scripts.py", line 441, in salt_call
  File "salt/cli/call.py", line 50, in run
  File "salt/cli/caller.py", line 95, in run
  File "salt/cli/caller.py", line 202, in call
  File "salt/loader/lazy.py", line 149, in __call__
  File "salt/loader/lazy.py", line 1228, in run
  File "salt/loader/lazy.py", line 1243, in _run_as
  File "/opt/saltstack/salt/run/salt/executors/direct_call.py", line 10, in execute
    return func(*args, **kwargs)
  File "salt/loader/lazy.py", line 149, in __call__
  File "salt/loader/lazy.py", line 1228, in run
  File "salt/loader/lazy.py", line 1243, in _run_as
  File "/opt/saltstack/salt/run/salt/modules/state.py", line 2199, in single
    "{0[state]}_|-{0[__id__]}_|-{0[name]}_|-{0[fun]}".format(kwargs): st_.call(
  File "salt/utils/decorators/state.py", line 45, in _func
  File "salt/state.py", line 2334, in call
  File "salt/state.py", line 1288, in check_refresh
  File "salt/state.py", line 1236, in module_refresh
  File "importlib/__init__.py", line 169, in reload
  File "", line 613, in _exec
  File "PyInstaller/loader/pyimod03_importers.py", line 478, in exec_module
  File "PyInstaller/loader/pyimod03_importers.py", line 300, in get_code
ImportError: Loader FrozenImporter cannot handle module site
[297] Failed to execute script 'salt' due to unhandled exception!
bensteinberg commented 1 year ago

See https://github.com/saltstack/salt/issues/61078#issuecomment-1268618281 -- I have been upgrading salt-minion on Debian machines with

sudo salt myminion pkg.install at
sudo salt myminion at.at 'now + 1 minute' 'apt upgrade -y'