saltstack / saltstack/salt

[BUG] apkpkg - installing package from masked repository gets installed, but state fails

Open
#65,453 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

alpine bug needs-triage
Dominant language
Python
Stars
15.7k
Forks
5.6k
Avg merge
2d 44m
Merged PRs (30d)
80

Description

Description
When trying to install podman-compose@testing from edge/testing on alpinelinux, the packages and it's dependencies get installed, but the state fails.

Before running the salt-state:

<hostname>:~# apk list podman-compose
podman-compose-1.0.6-r1 x86_64 {podman-compose} (GPL-2.0-or-later)

My /etc/apk/repositories

https://dl-cdn.alpinelinux.org/alpine/v3.18/main
https://dl-cdn.alpinelinux.org/alpine/v3.18/community
@testing https://dl-cdn.alpinelinux.org/alpine/edge/testing

When running the state with test=true, it seems fine to me.

salt-call state.sls applications.podman test=true
<hostname>:~# salt-call state.sls applications.podman test=true
/usr/lib/python3.11/site-packages/salt/utils/http.py:8: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
  import cgi
/usr/lib/python3.11/site-packages/salt/utils/jinja.py:9: DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13
  import pipes
/usr/lib/python3.11/site-packages/salt/grains/core.py:2701: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead
  ) = locale.getdefaultlocale()
/usr/lib/python3.11/site-packages/salt/utils/pycrypto.py:26: DeprecationWarning: 'crypt' is deprecated and slated for removal in Python 3.13
  import crypt
/usr/lib/python3.11/site-packages/salt/modules/linux_shadow.py:21: DeprecationWarning: 'spwd' is deprecated and slated for removal in Python 3.13
  import spwd
local:
----------
          ID: applications_podman_pkgs
    Function: pkg.installed
      Result: None
     Comment: The following packages would be installed/updated: podman-compose@testing
     Started: 19:42:26.826649
    Duration: 1275.65 ms
     Changes:   
              ----------
              podman-compose@testing:
                  ----------
                  new:
                      installed
                  old:

Summary for local
------------
Succeeded: 9 (unchanged=1, changed=1)
Failed:    0
------------
Total states run:     9
Total run time:   1.645 s

When running the state with test=false, the packages get installed, but the state fails

salt-call state.sls applications.podman test=false
<hostname>:~# salt-call state.sls applications.podman test=false
/usr/lib/python3.11/site-packages/salt/utils/http.py:8: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
  import cgi
/usr/lib/python3.11/site-packages/salt/utils/jinja.py:9: DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13
  import pipes
/usr/lib/python3.11/site-packages/salt/grains/core.py:2701: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead
  ) = locale.getdefaultlocale()
/usr/lib/python3.11/site-packages/salt/utils/pycrypto.py:26: DeprecationWarning: 'crypt' is deprecated and slated for removal in Python 3.13
  import crypt
/usr/lib/python3.11/site-packages/salt/modules/linux_shadow.py:21: DeprecationWarning: 'spwd' is deprecated and slated for removal in Python 3.13
  import spwd
[ERROR   ] Made the following changes:
'podman-compose' changed from 'absent' to '1.0.6-r1'
'py3-dotenv-pyc' changed from 'absent' to '1.0.0-r1'
'podman-compose-pyc' changed from 'absent' to '1.0.6-r1'
'py3-dotenv' changed from 'absent' to '1.0.0-r1'

local:
----------
          ID: applications_podman_pkgs
    Function: pkg.installed
      Result: False
     Comment: The following packages failed to install/update: podman-compose@testing
              The following packages were already installed: podman, podman-openrc
     Started: 19:42:49.854058
    Duration: 2818.044 ms
     Changes:   
              ----------
              podman-compose:
                  ----------
                  new:
                      1.0.6-r1
                  old:
              podman-compose-pyc:
                  ----------
                  new:
                      1.0.6-r1
                  old:
              py3-dotenv:
                  ----------
                  new:
                      1.0.0-r1
                  old:
              py3-dotenv-pyc:
                  ----------
                  new:
                      1.0.0-r1
                  old:

When checking if the package got installed:

<hostname>:~# apk list podman-compose
podman-compose-1.0.6-r1 x86_64 {podman-compose} (GPL-2.0-or-later) [installed]

<hostname>:~# whereis podman-compose
podman-compose: /usr/bin/podman-compose

Setup
podman-state:

applications_podman_pkgs:
  pkg.installed:
    - pkgs:
      - podman
      - podman-openrc
      - podman-compose@testing

Please be as specific as possible and give set-up details.

  • on-prem machine
  • VM (Virtualbox, KVM, etc. please specify): Qemu/KVM on Arch Linux Host
  • VM running on a cloud service, please be explicit and add details
  • container (Kubernetes, Docker, containerd, etc. please specify)
  • or a combination, please be explicit
  • jails if it is FreeBSD
  • classic packaging
  • onedir packaging
  • used bootstrap to install

Steps to Reproduce the behavior

  1. Install Alpine Linux v3.18 in Qemu/KVM VM
  2. Enable [community] repository in /etc/apk/repositories
  3. Add line: @testing https://dl-cdn.alpinelinux.org/alpine/edge/testing to /etc/apk/repositories
  4. Install salt-minion on the machine using apk add salt-minion
  5. Configure salt-minion in /etc/salt/minion like this:
---
state_verbose: False
file_client: local
file_roots:
  base:
    - /srv/salt
pillar_roots:
  base:
    - /srv/pillar
...
  1. Create a basic state-tree containing the above mentioned state.
  2. Run salt-call state.highstate test=true and then salt-call state.highstate test=false
  3. observe
salt-call state.highstate test=false -l debug
<hostname>:~# salt-call state.sls applications.podman test=false -l debug
/usr/lib/python3.11/site-packages/salt/utils/http.py:8: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
  import cgi
/usr/lib/python3.11/site-packages/salt/utils/jinja.py:9: DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13
  import pipes
[DEBUG   ] Reading configuration from /etc/salt/minion
[DEBUG   ] Using cached minion ID from /etc/salt/minion_id: <hostname>.localhost
[WARNING ] Insecure logging configuration detected! Sensitive data may be logged.
[DEBUG   ] Configuration file path: /etc/salt/minion
[DEBUG   ] Grains refresh requested. Refreshing grains.
[DEBUG   ] Reading configuration from /etc/salt/minion
[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   ] The functions from module 'opts' are being loaded by dir() on the loaded module
[DEBUG   ] Override  __utils__: <module 'salt.loaded.int.grains.zfs' from '/usr/lib/python3.11/site-packages/salt/grains/zfs.py'>
[DEBUG   ] The functions from module 'zfs' are being loaded by dir() on the loaded module
/usr/lib/python3.11/site-packages/salt/grains/core.py:2701: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead
  ) = locale.getdefaultlocale()
[DEBUG   ] The `lspci` binary is not available on the system. GPU grains will not be available.
[DEBUG   ] Loading static grains from /etc/salt/grains
[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   ] compile template: /srv/pillar/top.sls
[DEBUG   ] Jinja search path: ['/srv/pillar']
[PROFILE ] Time (in seconds) to render '/srv/pillar/top.sls' using 'jinja' renderer: 0.0011098384857177734
[DEBUG   ] Rendered data from file: /srv/pillar/top.sls:
base:
  '*':
    - system

[PROFILE ] Time (in seconds) to render '/srv/pillar/top.sls' using 'yaml' renderer: 0.00011515617370605469
[DEBUG   ] The functions from module 'confirm_top' are being loaded by dir() on the loaded module
[DEBUG   ] LazyLoaded confirm_top.confirm_top
[DEBUG   ] The functions from module 'compound_match' are being loaded by dir() on the loaded module
[DEBUG   ] LazyLoaded compound_match.match
[DEBUG   ] compound_match: <hostname>.localhost ? *
[DEBUG   ] The functions from module 'glob_match' are being loaded by dir() on the loaded module
[DEBUG   ] LazyLoaded glob_match.match
[DEBUG   ] compound_match <hostname>.localhost ? "*" => "True"
[DEBUG   ] compile template: /srv/pillar/system/init.sls
[DEBUG   ] Jinja search path: ['/srv/pillar']
[PROFILE ] Time (in seconds) to render '/srv/pillar/system/init.sls' using 'jinja' renderer: 0.0003757476806640625
[DEBUG   ] Rendered data from file: /srv/pillar/system/init.sls:
timestamp: 2023-10-20_14-59-24

[PROFILE ] Time (in seconds) to render '/srv/pillar/system/init.sls' using 'yaml' renderer: 7.772445678710938e-05
[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.sls
[DEBUG   ] The functions from module 'direct_call' are being loaded by dir() on the loaded module
[DEBUG   ] LazyLoaded direct_call.execute
[DEBUG   ] The functions from module 'config' are being loaded by dir() on the loaded module
[DEBUG   ] LazyLoaded config.option
[DEBUG   ] The functions from module 'saltutil' are being loaded by dir() on the loaded module
[DEBUG   ] LazyLoaded saltutil.is_running
[DEBUG   ] Override  __grains__: <module 'salt.loaded.int.module.grains' from '/usr/lib/python3.11/site-packages/salt/modules/grains.py'>
[DEBUG   ] The functions from module 'grains' are being loaded by dir() on the loaded module
[DEBUG   ] LazyLoaded grains.get
[DEBUG   ] The functions from module 'roots' are being loaded by dir() on the loaded module
[DEBUG   ] LazyLoaded roots.envs
[DEBUG   ] The functions from module 's3fs' are being loaded by dir() on the loaded module
[DEBUG   ] Could not LazyLoad roots.init: 'roots.init' is not available.
[DEBUG   ] Updating roots fileserver cache
[DEBUG   ] Gathering pillar data for state run
[DEBUG   ] Finished gathering pillar data for state run
[INFO    ] Loading fresh modules for state activity
[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   ] In saltenv 'base', looking at rel_path 'applications/podman.sls' to resolve 'salt://applications/podman.sls'
[DEBUG   ] In saltenv 'base', ** considering ** path '/var/cache/salt/minion/files/base/applications/podman.sls' to resolve 'salt://applications/podman.sls'
[DEBUG   ] compile template: /var/cache/salt/minion/files/base/applications/podman.sls
[DEBUG   ] Jinja search path: ['/var/cache/salt/minion/files/base']
[PROFILE ] Time (in seconds) to render '/var/cache/salt/minion/files/base/applications/podman.sls' using 'jinja' renderer: 0.0006871223449707031
[DEBUG   ] Rendered data from file: /var/cache/salt/minion/files/base/applications/podman.sls:
applications_podman_pkgs:
  pkg.installed:
    - pkgs:
      - podman
      - podman-openrc
      - podman-compose@testing

applications_podman_rootless_confd:
  file.keyvalue:
    - name: /etc/conf.d/podman
    - key_values:
        podman_user: '"puser"'
    - separator: '='
    - uncomment: '#'
    - key_ignore_case: false
    - value_ignore_case: false
    - append_if_not_found: true
    - require:
      - applications_podman_pkgs

applications_podman_service:
  service.running:
    - name: podman
    - enable: True
    - watch:
      - file: /etc/conf.d/podman
    - require:
      - applications_podman_rootless_confd

applications_podman_rootless_cgroup_mode:
  file.keyvalue:
    - name: /etc/rc.conf
    - key_values:
        rc_cgroup_mode: '"unified"'
    - separator: '='
    - uncomment: '#'
    - key_ignore_case: false
    - value_ignore_case: false
    - append_if_not_found: true
    - require:
      - applications_podman_pkgs

applications_podman_rootless_cgroups:
  service.running:
    - name: cgroups
    - enable: True
    - watch:
      - applications_podman_rootless_cgroup_mode

applications_podman_user:
  user.present:
    - name: puser
    - uid: 2000
    - shell: /bin/zsh
    - home: /home/puser
    - usergroup: True
    - createhome: True
    - require:
      - applications_podman_pkgs

applications_podman_rootless_modules:
  file.append:
    - name: /etc/modules
    - text:
      - tun
      - fuse

applications_podman_rootless_subgid:
  file.append:
    - name: /etc/subgid
    - text: puser:100000:65536
    - require:
      - applications_podman_user

applications_podman_rootless_subuid:
  file.append:
    - name: /etc/subuid
    - text: puser:100000:65536
    - require:
      - applications_podman_user

[PROFILE ] Time (in seconds) to render '/var/cache/salt/minion/files/base/applications/podman.sls' using 'yaml' renderer: 0.0006732940673828125
[DEBUG   ] The functions from module 'config' are being loaded by dir() on the loaded module
[DEBUG   ] LazyLoaded config.option
[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.installed
[DEBUG   ] The functions from module 'pkg_resource' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'aliases' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'archive' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'artifactory' are being loaded by dir() on the loaded module
[DEBUG   ] Reading configuration from /etc/salt/minion
[DEBUG   ] Using cached minion ID from /etc/salt/minion_id: <hostname>.localhost
[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   ] The functions from module 'bridge' are being loaded by dir() on the loaded module
/usr/lib/python3.11/site-packages/salt/utils/pycrypto.py:26: DeprecationWarning: 'crypt' is deprecated and slated for removal in Python 3.13
  import crypt
[DEBUG   ] The functions from module 'btrfs' are being loaded by dir() on the loaded module
[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   ] 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 '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 'cron' 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   ] 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   ] Override  __salt__: <module 'salt.loaded.int.module.dracr' from '/usr/lib/python3.11/site-packages/salt/modules/dracr.py'>
[DEBUG   ] The functions from module 'drbd' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'environ' are being loaded by dir() on the loaded module
[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   ] 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   ] The functions from module 'service' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'git' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'glassfish' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'google_chat' 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__: <module 'salt.loaded.int.module.grains' from '/usr/lib/python3.11/site-packages/salt/modules/grains.py'>
[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   ] The functions from module 'hashutil' are being loaded by dir() on the loaded module
[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   ] 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   ] Reading configuration from /etc/salt/minion
[DEBUG   ] Using cached minion ID from /etc/salt/minion_id: <hostname>.localhost
[DEBUG   ] The functions from module 'beacons' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'boto_elb_tag' are being loaded by dir() on the loaded module
[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   ] 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   ] 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   ] 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   ] 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   ] 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   ] 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   ] 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   ] 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   ] 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   ] 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
[DEBUG   ] The functions from module 'minion' are being loaded by dir() on the loaded module
[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   ] 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   ] 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   ] The functions from module 'nb_popen' are being loaded by dir() on the loaded module
[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   ] 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   ] 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   ] The functions from module 'roster_matcher' are being loaded by dir() on the loaded module
[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   ] 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   ] The functions from module 'smb' 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   ] 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   ] 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   ] 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   ] 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   ] 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   ] The functions from module 'virtualbox' are being loaded by dir() on the loaded module
[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   ] Failed to import utils x509:
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 772, in _load_module
    mod = self.run(spec.loader.load_module)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 1232, in run
    return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 1247, in _run_as
    return _func_or_method(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap_external>", line 605, in _check_name_wrapper
  File "<frozen importlib._bootstrap_external>", line 1120, in load_module
  File "<frozen importlib._bootstrap_external>", line 945, in load_module
  File "<frozen importlib._bootstrap>", line 290, in _load_module_shim
  File "<frozen importlib._bootstrap>", line 721, in _load
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/lib/python3.11/site-packages/salt/utils/x509.py", line 11, in <module>
    import cryptography
ModuleNotFoundError: No module named 'cryptography'
[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   ] 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   ] 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   ] The functions from module 'iptables' are being loaded by dir() on the loaded module
[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   ] The functions from module 'jinja' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'k8s' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'key' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'kmod' are being loaded by dir() on the loaded module
[DEBUG   ] Override  __salt__: <module 'salt.loaded.int.module.kubeadm' from '/usr/lib/python3.11/site-packages/salt/modules/kubeadm.py'>
[DEBUG   ] The functions from module 'kubeadm' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'ip' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'service' are being loaded by dir() on the loaded module
/usr/lib/python3.11/site-packages/salt/modules/linux_shadow.py:21: DeprecationWarning: 'spwd' is deprecated and slated for removal in Python 3.13
  import 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   ] 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   ] 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   ] The functions from module 'mine' are being loaded by dir() on the loaded module
[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   ] The functions from module 'mount' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'msteams' are being loaded by dir() on the loaded module
[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   ] The functions from module 'network' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'nexus' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'nftables' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'nova' 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   ] 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   ] 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 'partition' 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   ] Failed to import module pip:
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 772, in _load_module
    mod = self.run(spec.loader.load_module)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 1232, in run
    return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 1247, in _run_as
    return _func_or_method(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap_external>", line 605, in _check_name_wrapper
  File "<frozen importlib._bootstrap_external>", line 1120, in load_module
  File "<frozen importlib._bootstrap_external>", line 945, in load_module
  File "<frozen importlib._bootstrap>", line 290, in _load_module_shim
  File "<frozen importlib._bootstrap>", line 721, in _load
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/lib/python3.11/site-packages/salt/modules/pip.py", line 87, in <module>
    import pkg_resources  # pylint: disable=3rd-party-module-not-gated
    ^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'pkg_resources'
[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   ] 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   ] 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   ] Override  __context__: <module 'salt.loaded.int.module.saltcheck' from '/usr/lib/python3.11/site-packages/salt/modules/saltcheck.py'>
[DEBUG   ] The functions from module 'saltcheck' are being loaded by dir() on the loaded module
[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   ] 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   ] The functions from module 'serverdensity_device' 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   ] The functions from module 'slsutil' 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   ] The functions from module 'solrcloud' are being loaded by dir() on the loaded module
[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   ] 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
[DEBUG   ] The functions from module 'system' 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   ] The functions from module 'timezone' are being loaded by dir() on the loaded module
[DEBUG   ] Override  __salt__: <module 'salt.loaded.int.module.udev' from '/usr/lib/python3.11/site-packages/salt/modules/udev.py'>
[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   ] Override  __pillar__: <module 'salt.loaded.int.module.virtualenv_mod' from '/usr/lib/python3.11/site-packages/salt/modules/virtualenv_mod.py'>
[DEBUG   ] The functions from module 'virtualenv' are being loaded by dir() on the loaded module
[DEBUG   ] The functions from module 'vsphere' are being loaded by dir() on the loaded module
[DEBUG   ] DSC: Only available on Windows systems
[DEBUG   ] Module PSGet: Only available on Windows systems
[DEBUG   ] Shortcut module only available on Windows systems
[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   ] 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   ] Could not LazyLoad pkg.ex_mod_init: 'pkg.ex_mod_init' is not available.
[INFO    ] Running state [applications_podman_pkgs] at time 19:56:33.208120
[INFO    ] Executing state pkg.installed for [applications_podman_pkgs]
[DEBUG   ] Could not LazyLoad pkg.resolve_capabilities: 'pkg.resolve_capabilities' is not available.
[INFO    ] Executing command apk in directory '/root'
[DEBUG   ] Could not LazyLoad pkg.normalize_name: 'pkg.normalize_name' is not available.
[DEBUG   ] Could not LazyLoad pkg.check_db: 'pkg.check_db' is not available.
[INFO    ] Executing command apk in directory '/root'
[INFO    ] Executing command apk in directory '/root'
[INFO    ] Executing command apk in directory '/root'
[DEBUG   ] Could not LazyLoad pkg.hold: 'pkg.hold' is not available.
[ERROR   ] Made the following changes:
'py3-dotenv' changed from 'absent' to '1.0.0-r1'
'podman-compose' changed from 'absent' to '1.0.6-r1'
'py3-dotenv-pyc' changed from 'absent' to '1.0.0-r1'
'podman-compose-pyc' changed from 'absent' to '1.0.6-r1'

[DEBUG   ] Refreshing modules...
[INFO    ] Loading fresh modules for state activity
[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 'saltutil' are being loaded by dir() on the loaded module
[DEBUG   ] LazyLoaded saltutil.refresh_modules
[DEBUG   ] The functions from module 'event' are being loaded by dir() on the loaded module
[DEBUG   ] LazyLoaded event.fire
[DEBUG   ] SaltEvent PUB socket URI: /var/run/salt/minion/minion_event_4f168ac7cd_pub.ipc
[DEBUG   ] SaltEvent PULL socket URI: /var/run/salt/minion/minion_event_4f168ac7cd_pull.ipc
[DEBUG   ] Unable to connect pusher: Stream is closed
[INFO    ] Completed state [applications_podman_pkgs] at time 19:56:35.860741 (duration_in_ms=2652.621)
[DEBUG   ] The functions from module 'config' are being loaded by dir() on the loaded module
[DEBUG   ] LazyLoaded config.option
[DEBUG   ] Closing IPCMessageClient instance
[DEBUG   ] The functions from module 'file' are being loaded by dir() on the loaded module
[DEBUG   ] LazyLoaded file.keyvalue
[DEBUG   ] The functions from module 'service' are being loaded by dir() on the loaded module
[DEBUG   ] LazyLoaded service.start
[DEBUG   ] The functions from module 'service' are being loaded by dir() on the loaded module
[DEBUG   ] LazyLoaded service.running
[DEBUG   ] The functions from module 'user' are being loaded by dir() on the loaded module
[DEBUG   ] LazyLoaded user.present
[INFO    ] Running state [/etc/modules] at time 19:56:35.869846
[INFO    ] Executing state file.append for [/etc/modules]
[DEBUG   ] The functions from module 'file' are being loaded by dir() on the loaded module
[DEBUG   ] LazyLoaded file.search
[DEBUG   ] The functions from module 'files' are being loaded by dir() on the loaded module
[DEBUG   ] LazyLoaded files.is_text
[INFO    ] File /etc/modules is in correct state
[INFO    ] Completed state [/etc/modules] at time 19:56:35.875667 (duration_in_ms=5.821)
[DEBUG   ] File /var/cache/salt/minion/accumulator/140088453741648 does not exist, no need to cleanup
[DEBUG   ] The functions from module 'state' are being loaded by dir() on the loaded module
[DEBUG   ] LazyLoaded state.check_result
[DEBUG   ] The functions from module 'highstate' are being loaded by dir() on the loaded module
[DEBUG   ] LazyLoaded highstate.output
[DEBUG   ] The functions from module 'nested' are being loaded by dir() on the loaded module
[DEBUG   ] LazyLoaded nested.output
local:
----------
          ID: applications_podman_pkgs
    Function: pkg.installed
      Result: False
     Comment: The following packages failed to install/update: podman-compose@testing
              The following packages were already installed: podman, podman-openrc
     Started: 19:56:33.208120
    Duration: 2652.621 ms
     Changes:   
              ----------
              podman-compose:
                  ----------
                  new:
                      1.0.6-r1
                  old:
              podman-compose-pyc:
                  ----------
                  new:
                      1.0.6-r1
                  old:
              py3-dotenv:
                  ----------
                  new:
                      1.0.0-r1
                  old:
              py3-dotenv-pyc:
                  ----------
                  new:
                      1.0.0-r1
                  old:
----------
          ID: applications_podman_rootless_confd
    Function: file.keyvalue
        Name: /etc/conf.d/podman
      Result: False
     Comment: One or more requisite failed: applications.podman.applications_podman_pkgs
     Started: 19:56:35.865235
    Duration: 0.005 ms
     Changes:   
----------
          ID: applications_podman_service
    Function: service.running
        Name: podman
      Result: False
     Comment: One or more requisite failed: applications.podman.applications_podman_rootless_confd
     Started: 19:56:35.868451
    Duration: 0.004 ms
     Changes:   
----------
          ID: applications_podman_rootless_cgroup_mode
    Function: file.keyvalue
        Name: /etc/rc.conf
      Result: False
     Comment: One or more requisite failed: applications.podman.applications_podman_pkgs
     Started: 19:56:35.868581
    Duration: 0.003 ms
     Changes:   
----------
          ID: applications_podman_rootless_cgroups
    Function: service.running
        Name: cgroups
      Result: False
     Comment: One or more requisite failed: applications.podman.applications_podman_rootless_cgroup_mode
     Started: 19:56:35.868848
    Duration: 0.003 ms
     Changes:   
----------
          ID: applications_podman_user
    Function: user.present
        Name: puser
      Result: False
     Comment: One or more requisite failed: applications.podman.applications_podman_pkgs
     Started: 19:56:35.869771
    Duration: 0.004 ms
     Changes:   
----------
          ID: applications_podman_rootless_subgid
    Function: file.append
        Name: /etc/subgid
      Result: False
     Comment: One or more requisite failed: applications.podman.applications_podman_user
     Started: 19:56:35.876044
    Duration: 0.005 ms
     Changes:   
----------
          ID: applications_podman_rootless_subuid
    Function: file.append
        Name: /etc/subuid
      Result: False
     Comment: One or more requisite failed: applications.podman.applications_podman_user
     Started: 19:56:35.876170
    Duration: 0.002 ms
     Changes:   

Summary for local
------------
Succeeded: 1 (changed=1)
Failed:    8
------------
Total states run:     9
Total run time:   2.658 s

Expected behavior
The state should pass and every following state should pass aswell.

Versions Report

salt --versions-report I'm running a masterless setup, so no salt-master here. Only salt-minion
<hostname>:~# salt-minion --versions-report
Salt Version:
          Salt: 3006.1
 
Python Version:
        Python: 3.11.6 (main, Oct  4 2023, 06:22:18) [GCC 12.2.1 20220924]
 
Dependency Versions:
          cffi: 1.15.1
      cherrypy: Not Installed
      dateutil: 2.8.2
     docker-py: Not Installed
         gitdb: Not Installed
     gitpython: Not Installed
        Jinja2: 3.1.2
       libgit2: 1.5.2
  looseversion: 1.1.2
      M2Crypto: Not Installed
          Mako: Not Installed
       msgpack: 1.0.5
  msgpack-pure: Not Installed
  mysql-python: Not Installed
     packaging: 23.1
     pycparser: 2.21
      pycrypto: Not Installed
  pycryptodome: 3.17
        pygit2: 1.11.1
  python-gnupg: Not Installed
        PyYAML: 6.0
         PyZMQ: 23.2.1
        relenv: Not Installed
         smmap: Not Installed
       timelib: Not Installed
       Tornado: 4.5.3
           ZMQ: 4.3.4
 
System Versions:
          dist: alpine 18.4
        locale: utf-8
       machine: x86_64
       release: 6.1.59-0-lts
        system: Linux
       version: Alpine Linux 18.4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Alpine setup with salt-call state.sls applications.podman test=true and test=false, focusing on the pkg.installed execution path for podman-compose@testing. Compare the reported package changes and result status; done means the masked-repository package is both installed and reported successfully without a failed state.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.