Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

salt-bootstrap fails to start services when installing OneDir on AlmaLinux and Rocky Linux 9 due to presence of classic Salt packages in EPEL #1883

Closed
ggiesen opened this issue Nov 23, 2022 · 8 comments

Comments

@ggiesen
Copy link
Contributor

ggiesen commented Nov 23, 2022

Description of Issue/Question

salt-bootstrap fails to start services after installation when using OneDir on Rocky Linux 9:

 *  INFO: Running daemons_running_onedir()
 * DEBUG: Waiting 3 seconds for processes to settle before checking for them
 * ERROR: /opt/saltstack/salt/run/run minion was not found running
 * ERROR: Failed to run daemons_running_onedir()!!!

Looks to be a similar issue to #1876 but for EL9 instead of EL8

Setup

> mkdir salt-bootstrap-rockylinux-9

> cd salt-bootstrap-rockylinux-9

 salt-bootstrap-almalinux> vagrant init generic/rocky9
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`vagrantup.com` for more information on using Vagrant.

salt-bootstrap-rockylinux-9> vagrant up
Bringing machine 'default' up with 'vmware_desktop' provider...
==> default: Box 'generic/rocky9' could not be found. Attempting to find and install...
    default: Box Provider: vmware_desktop, vmware_fusion, vmware_workstation
    default: Box Version: >= 0
==> default: Loading metadata for box 'generic/rocky9'
    default: URL: https://vagrantcloud.com/generic/rocky9
==> default: Adding box 'generic/rocky9' (v4.2.2) for provider: vmware_desktop
    default: Downloading: https://vagrantcloud.com/generic/boxes/rocky9/versions/4.2.2/providers/vmware_desktop.box
    default:
    default: Calculating and comparing box checksum...
==> default: Successfully added box 'generic/rocky9' (v4.2.2) for 'vmware_desktop'!
==> default: Cloning VMware VM: 'generic/rocky9'. This can take some time...
==> default: Checking if box 'generic/rocky9' version '4.2.2' is up to date...
==> default: Verifying vmnet devices are healthy...
==> default: Preparing network adapters...
==> default: Fixed port collision for 22 => 2222. Now on port 2203.
==> default: Starting the VMware VM...
==> default: Waiting for the VM to receive an address...
==> default: Forwarding ports...
    default: -- 22 => 2203
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2203
    default: SSH username: vagrant
    default: SSH auth method: private key
    default:
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default:
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Configuring network adapters within the VM...

salt-bootstrap-rockylinux-9> vagrant ssh

Steps to Reproduce Issue

(Include debug logs if possible, bootstrap-salt.sh -D.)

[vagrant@rocky9 ~]$ curl -o bootstrap-salt.sh -L https://raw.githubusercontent.com/saltstack/salt-bootstrap/develop/bootstrap-salt.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  321k  100  321k    0     0   842k      0 --:--:-- --:--:-- --:--:--  842k

[vagrant@rocky9 ~]$ sudo sh bootstrap-salt.sh -D onedir
 *  INFO: Running version: 2022.10.04
 *  INFO: Executed by: sh
 *  INFO: Command line: 'bootstrap-salt.sh -D onedir'
 *  WARN: Running the unstable version of bootstrap-salt.sh

 *  INFO: System Information:
 *  INFO:   CPU:          GenuineIntel
 *  INFO:   CPU Arch:     x86_64
 *  INFO:   OS Name:      Linux
 *  INFO:   OS Version:   5.14.0-70.30.1.el9_0.x86_64
 *  INFO:   Distribution: Rocky Linux 9.0

 * DEBUG: Binaries will be searched using the following $PATH: /sbin:/bin:/usr/sbin:/usr/bin
 *  INFO: Installing minion
 * DEBUG: install_rocky_linux_9_onedir_deps not found....
 * DEBUG: install_rocky_linux_9_0_onedir_deps not found....
 * DEBUG: install_rocky_linux_9_deps not found....
 * DEBUG: install_rocky_linux_9_0_deps not found....
 *  INFO: Found function install_rocky_linux_onedir_deps
 * DEBUG: DEPS_INSTALL_FUNC=install_rocky_linux_onedir_deps
 * DEBUG: config_rocky_linux_9_onedir_salt not found....
 * DEBUG: config_rocky_linux_9_0_onedir_salt not found....
 * DEBUG: config_rocky_linux_9_salt not found....
 * DEBUG: config_rocky_linux_9_0_salt not found....
 * DEBUG: config_rocky_linux_onedir_salt not found....
 * DEBUG: config_rocky_linux_salt not found....
 *  INFO: Found function config_salt
 * DEBUG: CONFIG_SALT_FUNC=config_salt
 * DEBUG: preseed_rocky_linux_9_onedir_master not found....
 * DEBUG: preseed_rocky_linux_9_0_onedir_master not found....
 * DEBUG: preseed_rocky_linux_9_master not found....
 * DEBUG: preseed_rocky_linux_9_0_master not found....
 * DEBUG: preseed_rocky_linux_onedir_master not found....
 * DEBUG: preseed_rocky_linux_master not found....
 *  INFO: Found function preseed_master
 * DEBUG: PRESEED_MASTER_FUNC=preseed_master
 * DEBUG: INSTALL_FUNC_NAMES=install_rocky_linux_9_onedir install_rocky_linux_9_0_onedir install_rocky_linux_onedir
 * DEBUG: install_rocky_linux_9_onedir not found....
 * DEBUG: install_rocky_linux_9_0_onedir not found....
 *  INFO: Found function install_rocky_linux_onedir
 * DEBUG: INSTALL_FUNC=install_rocky_linux_onedir
 * DEBUG: install_rocky_linux_9_onedir_post not found....
 * DEBUG: install_rocky_linux_9_0_onedir_post not found....
 * DEBUG: install_rocky_linux_9_post not found....
 * DEBUG: install_rocky_linux_9_0_post not found....
 *  INFO: Found function install_rocky_linux_onedir_post
 * DEBUG: POST_INSTALL_FUNC=install_rocky_linux_onedir_post
 * DEBUG: install_rocky_linux_9_onedir_restart_daemons not found....
 * DEBUG: install_rocky_linux_9_0_onedir_restart_daemons not found....
 * DEBUG: install_rocky_linux_9_restart_daemons not found....
 * DEBUG: install_rocky_linux_9_0_restart_daemons not found....
 * DEBUG: install_rocky_linux_onedir_restart_daemons not found....
 *  INFO: Found function install_rocky_linux_restart_daemons
 * DEBUG: STARTDAEMONS_INSTALL_FUNC=install_rocky_linux_restart_daemons
 * DEBUG: daemons_running_rocky_linux_9_onedir not found....
 * DEBUG: daemons_running_rocky_linux_9_0_onedir not found....
 * DEBUG: daemons_running_rocky_linux_9 not found....
 * DEBUG: daemons_running_rocky_linux_9_0 not found....
 * DEBUG: daemons_running_rocky_linux_onedir not found....
 * DEBUG: daemons_running_rocky_linux not found....
 *  INFO: Found function daemons_running_onedir
 * DEBUG: DAEMONS_RUNNING_FUNC=daemons_running_onedir
 * DEBUG: install_rocky_linux_9_onedir_check_services not found....
 * DEBUG: install_rocky_linux_9_0_onedir_check_services not found....
 * DEBUG: install_rocky_linux_9_check_services not found....
 * DEBUG: install_rocky_linux_9_0_check_services not found....
 * DEBUG: install_rocky_linux_onedir_check_services not found....
 *  INFO: Found function install_rocky_linux_check_services
 * DEBUG: CHECK_SERVICES_FUNC=install_rocky_linux_check_services
 *  INFO: Running install_rocky_linux_onedir_deps()
Extra Packages for Enterprise Linux 9 - x86_64  7.5 MB/s |  12 MB     00:01
Rocky Linux 9 - BaseOS                          352 kB/s | 1.7 MB     00:04
Rocky Linux 9 - AppStream                       364 kB/s | 6.0 MB     00:16
Rocky Linux 9 - Extras                          5.3 kB/s | 6.6 kB     00:01
epel-next-release-latest-9.noarch.rpm            37 kB/s | 8.2 kB     00:00
epel-release-latest-9.noarch.rpm                 71 kB/s |  18 kB     00:00
Package epel-release-9-4.el9.noarch is already installed.
Dependencies resolved.
================================================================================
 Package                 Architecture Version          Repository          Size
================================================================================
Installing:
 epel-next-release       noarch       9-4.el9          @commandline       8.2 k

Transaction Summary
================================================================================
Install  1 Package

Total size: 8.2 k
Installed size: 3.1 k
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1
  Installing       : epel-next-release-9-4.el9.noarch                       1/1
  Verifying        : epel-next-release-9-4.el9.noarch                       1/1

Installed:
  epel-next-release-9-4.el9.noarch

Complete!
Cache was expired
30 files removed
Extra Packages for Enterprise Linux 9 - x86_64  8.2 MB/s |  12 MB     00:01
Extra Packages for Enterprise Linux 9 - Next -  1.1 MB/s | 1.4 MB     00:01
Rocky Linux 9 - BaseOS                          380 kB/s | 1.7 MB     00:04
Rocky Linux 9 - AppStream                       346 kB/s | 6.0 MB     00:17
Rocky Linux 9 - Extras                          5.0 kB/s | 6.6 kB     00:01
SaltStack latest Release Channel for RHEL/CentO 106 kB/s |  42 kB     00:00
Package yum-utils-4.0.24-4.el9_0.noarch is already installed.
Dependencies resolved.
================================================================================
 Package            Architecture    Version               Repository       Size
================================================================================
Installing:
 chkconfig          x86_64          1.20-2.el9            baseos          162 k

Transaction Summary
================================================================================
Install  1 Package

Total download size: 162 k
Installed size: 764 k
Downloading Packages:
chkconfig-1.20-2.el9.x86_64.rpm                 126 kB/s | 162 kB     00:01
--------------------------------------------------------------------------------
Total                                           110 kB/s | 162 kB     00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1
  Installing       : chkconfig-1.20-2.el9.x86_64                            1/1
  Running scriptlet: chkconfig-1.20-2.el9.x86_64                            1/1
  Verifying        : chkconfig-1.20-2.el9.x86_64                            1/1

Installed:
  chkconfig-1.20-2.el9.x86_64

Complete!
 *  INFO: Running install_rocky_linux_onedir()
Extra Packages for Enterprise Linux 9 - x86_64   53 kB/s |  15 kB     00:00
Extra Packages for Enterprise Linux 9 - Next -   81 kB/s |  23 kB     00:00
Extra Packages for Enterprise Linux 9 - Next -  1.4 MB/s | 1.4 MB     00:00
SaltStack latest Release Channel for RHEL/CentO  19 kB/s | 2.9 kB     00:00
Dependencies resolved.
================================================================================
 Package                   Arch       Version               Repository     Size
================================================================================
Installing:
 salt-minion               noarch     3005.1-2.el9          epel           32 k
Installing dependencies:
 libsodium                 x86_64     1.0.18-8.el9          epel          161 k
 libtomcrypt               x86_64     1.18.2-12.el9         epel          385 k
 libtommath                x86_64     1.2.0-7.el9           epel           63 k
 libunwind                 x86_64     1.6.2-1.el9           epel           67 k
 openpgm                   x86_64     5.2.122-28.el9        epel          176 k
 python3-babel             noarch     2.9.1-2.el9           appstream     5.8 M
 python3-chardet           noarch     4.0.0-5.el9           baseos        209 k
 python3-distro            noarch     1.5.0-7.el9           appstream      36 k
 python3-idna              noarch     2.10-7.el9            baseos         92 k
 python3-jinja2            noarch     2.11.3-4.el9          appstream     229 k
 python3-jmespath          noarch     0.9.4-11.el9          appstream      45 k
 python3-markupsafe        x86_64     1.1.1-12.el9          appstream      32 k
 python3-msgpack           x86_64     1.0.3-2.el9           epel           86 k
 python3-psutil            x86_64     5.8.0-12.el9          appstream     205 k
 python3-pycryptodomex     x86_64     3.14.0-1.el9          epel          1.1 M
 python3-pysocks           noarch     1.7.1-12.el9          baseos         34 k
 python3-pytz              noarch     2021.1-4.el9          appstream      48 k
 python3-pyyaml            x86_64     5.4.1-6.el9           baseos        191 k
 python3-requests          noarch     2.25.1-6.el9          baseos        114 k
 python3-setuptools        noarch     53.0.0-10.el9         baseos        841 k
 python3-urllib3           noarch     1.26.5-3.el9          baseos        188 k
 python3-zmq               x86_64     22.3.0-2.el9          epel          400 k
 salt                      noarch     3005.1-2.el9          epel          9.3 M
 zeromq                    x86_64     4.3.4-1.el9           epel          431 k

Transaction Summary
================================================================================
Install  25 Packages

Total download size: 20 M
Installed size: 92 M
Downloading Packages:
(1/25): libtommath-1.2.0-7.el9.x86_64.rpm       175 kB/s |  63 kB     00:00
(2/25): libsodium-1.0.18-8.el9.x86_64.rpm       409 kB/s | 161 kB     00:00
(3/25): libunwind-1.6.2-1.el9.x86_64.rpm        1.2 MB/s |  67 kB     00:00
(4/25): libtomcrypt-1.18.2-12.el9.x86_64.rpm    914 kB/s | 385 kB     00:00
(5/25): python3-msgpack-1.0.3-2.el9.x86_64.rpm  1.2 MB/s |  86 kB     00:00
(6/25): openpgm-5.2.122-28.el9.x86_64.rpm       1.7 MB/s | 176 kB     00:00
(7/25): python3-zmq-22.3.0-2.el9.x86_64.rpm     2.5 MB/s | 400 kB     00:00
(8/25): python3-pycryptodomex-3.14.0-1.el9.x86_ 4.6 MB/s | 1.1 MB     00:00
(9/25): salt-minion-3005.1-2.el9.noarch.rpm     302 kB/s |  32 kB     00:00
(10/25): zeromq-4.3.4-1.el9.x86_64.rpm          3.8 MB/s | 431 kB     00:00
(11/25): salt-3005.1-2.el9.noarch.rpm            10 MB/s | 9.3 MB     00:00
(12/25): python3-idna-2.10-7.el9.noarch.rpm      80 kB/s |  92 kB     00:01
(13/25): python3-chardet-4.0.0-5.el9.noarch.rpm  96 kB/s | 209 kB     00:02
(14/25): python3-requests-2.25.1-6.el9.noarch.r  47 kB/s | 114 kB     00:02
(15/25): python3-urllib3-1.26.5-3.el9.noarch.rp  52 kB/s | 188 kB     00:03
(16/25): python3-pyyaml-5.4.1-6.el9.x86_64.rpm   54 kB/s | 191 kB     00:03
(17/25): python3-pysocks-1.7.1-12.el9.noarch.rp  24 kB/s |  34 kB     00:01
(18/25): python3-jinja2-2.11.3-4.el9.noarch.rpm  29 kB/s | 229 kB     00:07
(19/25): python3-pytz-2021.1-4.el9.noarch.rpm    43 kB/s |  48 kB     00:01
(20/25): python3-distro-1.5.0-7.el9.noarch.rpm   44 kB/s |  36 kB     00:00
(21/25): python3-setuptools-53.0.0-10.el9.noarc  52 kB/s | 841 kB     00:16
(22/25): python3-psutil-5.8.0-12.el9.x86_64.rpm  58 kB/s | 205 kB     00:03
(23/25): python3-markupsafe-1.1.1-12.el9.x86_64  31 kB/s |  32 kB     00:01
(24/25): python3-jmespath-0.9.4-11.el9.noarch.r  31 kB/s |  45 kB     00:01
(25/25): python3-babel-2.9.1-2.el9.noarch.rpm   178 kB/s | 5.8 MB     00:33
--------------------------------------------------------------------------------
Total                                           507 kB/s |  20 MB     00:40
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1
  Installing       : python3-setuptools-53.0.0-10.el9.noarch               1/25
  Installing       : python3-markupsafe-1.1.1-12.el9.x86_64                2/25
  Installing       : python3-idna-2.10-7.el9.noarch                        3/25
  Installing       : python3-distro-1.5.0-7.el9.noarch                     4/25
  Installing       : python3-jmespath-0.9.4-11.el9.noarch                  5/25
  Installing       : python3-psutil-5.8.0-12.el9.x86_64                    6/25
  Installing       : python3-pytz-2021.1-4.el9.noarch                      7/25
  Installing       : python3-babel-2.9.1-2.el9.noarch                      8/25
  Installing       : python3-jinja2-2.11.3-4.el9.noarch                    9/25
  Installing       : python3-pysocks-1.7.1-12.el9.noarch                  10/25
  Installing       : python3-urllib3-1.26.5-3.el9.noarch                  11/25
  Installing       : python3-pyyaml-5.4.1-6.el9.x86_64                    12/25
  Installing       : python3-chardet-4.0.0-5.el9.noarch                   13/25
  Installing       : python3-requests-2.25.1-6.el9.noarch                 14/25
  Installing       : python3-msgpack-1.0.3-2.el9.x86_64                   15/25
  Installing       : openpgm-5.2.122-28.el9.x86_64                        16/25
  Installing       : libunwind-1.6.2-1.el9.x86_64                         17/25
  Installing       : libtommath-1.2.0-7.el9.x86_64                        18/25
  Installing       : libtomcrypt-1.18.2-12.el9.x86_64                     19/25
  Installing       : python3-pycryptodomex-3.14.0-1.el9.x86_64            20/25
  Installing       : libsodium-1.0.18-8.el9.x86_64                        21/25
  Installing       : zeromq-4.3.4-1.el9.x86_64                            22/25
  Installing       : python3-zmq-22.3.0-2.el9.x86_64                      23/25
  Installing       : salt-3005.1-2.el9.noarch                             24/25
  Installing       : salt-minion-3005.1-2.el9.noarch                      25/25
  Running scriptlet: salt-minion-3005.1-2.el9.noarch                      25/25
  Verifying        : libsodium-1.0.18-8.el9.x86_64                         1/25
  Verifying        : libtomcrypt-1.18.2-12.el9.x86_64                      2/25
  Verifying        : libtommath-1.2.0-7.el9.x86_64                         3/25
  Verifying        : libunwind-1.6.2-1.el9.x86_64                          4/25
  Verifying        : openpgm-5.2.122-28.el9.x86_64                         5/25
  Verifying        : python3-msgpack-1.0.3-2.el9.x86_64                    6/25
  Verifying        : python3-pycryptodomex-3.14.0-1.el9.x86_64             7/25
  Verifying        : python3-zmq-22.3.0-2.el9.x86_64                       8/25
  Verifying        : salt-3005.1-2.el9.noarch                              9/25
  Verifying        : salt-minion-3005.1-2.el9.noarch                      10/25
  Verifying        : zeromq-4.3.4-1.el9.x86_64                            11/25
  Verifying        : python3-idna-2.10-7.el9.noarch                       12/25
  Verifying        : python3-chardet-4.0.0-5.el9.noarch                   13/25
  Verifying        : python3-requests-2.25.1-6.el9.noarch                 14/25
  Verifying        : python3-urllib3-1.26.5-3.el9.noarch                  15/25
  Verifying        : python3-pyyaml-5.4.1-6.el9.x86_64                    16/25
  Verifying        : python3-setuptools-53.0.0-10.el9.noarch              17/25
  Verifying        : python3-pysocks-1.7.1-12.el9.noarch                  18/25
  Verifying        : python3-babel-2.9.1-2.el9.noarch                     19/25
  Verifying        : python3-jinja2-2.11.3-4.el9.noarch                   20/25
  Verifying        : python3-pytz-2021.1-4.el9.noarch                     21/25
  Verifying        : python3-distro-1.5.0-7.el9.noarch                    22/25
  Verifying        : python3-psutil-5.8.0-12.el9.x86_64                   23/25
  Verifying        : python3-markupsafe-1.1.1-12.el9.x86_64               24/25
  Verifying        : python3-jmespath-0.9.4-11.el9.noarch                 25/25

Installed:
  libsodium-1.0.18-8.el9.x86_64
  libtomcrypt-1.18.2-12.el9.x86_64
  libtommath-1.2.0-7.el9.x86_64
  libunwind-1.6.2-1.el9.x86_64
  openpgm-5.2.122-28.el9.x86_64
  python3-babel-2.9.1-2.el9.noarch
  python3-chardet-4.0.0-5.el9.noarch
  python3-distro-1.5.0-7.el9.noarch
  python3-idna-2.10-7.el9.noarch
  python3-jinja2-2.11.3-4.el9.noarch
  python3-jmespath-0.9.4-11.el9.noarch
  python3-markupsafe-1.1.1-12.el9.x86_64
  python3-msgpack-1.0.3-2.el9.x86_64
  python3-psutil-5.8.0-12.el9.x86_64
  python3-pycryptodomex-3.14.0-1.el9.x86_64
  python3-pysocks-1.7.1-12.el9.noarch
  python3-pytz-2021.1-4.el9.noarch
  python3-pyyaml-5.4.1-6.el9.x86_64
  python3-requests-2.25.1-6.el9.noarch
  python3-setuptools-53.0.0-10.el9.noarch
  python3-urllib3-1.26.5-3.el9.noarch
  python3-zmq-22.3.0-2.el9.x86_64
  salt-3005.1-2.el9.noarch
  salt-minion-3005.1-2.el9.noarch
  zeromq-4.3.4-1.el9.x86_64

Complete!
 *  INFO: Running install_rocky_linux_onedir_post()
 *  INFO: Running install_rocky_linux_check_services()
 * DEBUG: Checking if service salt-minion is enabled
 * DEBUG: Service salt-minion is enabled
 *  INFO: Running install_rocky_linux_restart_daemons()
 * DEBUG: Waiting 3 seconds for processes to settle before checking for them
 *  INFO: Running daemons_running_onedir()
 * DEBUG: Waiting 3 seconds for processes to settle before checking for them
 * ERROR: /opt/saltstack/salt/run/run minion was not found running
 * ERROR: Failed to run daemons_running_onedir()!!!
nohup: ignoring input
[DEBUG   ] Reading configuration from /etc/salt/minion
[DEBUG   ] Using cached minion ID from /etc/salt/minion_id: rocky9.localdomain
[WARNING ] Insecure logging configuration detected! Sensitive data may be logged.
[DEBUG   ] Configuration file path: /etc/salt/minion
[INFO    ] Setting up the Salt Minion "rocky9.localdomain"
[INFO    ] An instance is already running. Exiting the Salt Minion
[INFO    ] Shutting down the Salt Minion
The Salt Minion is shutdown.
 * DEBUG: Running salt-minion by hand outputs:
 * DEBUG: DAEMON LOGS for minion:
 * DEBUG: 2022-11-23 03:24:07,825 [salt.utils.network:2215][ERROR   ][6172] DNS lookup or connection check of 'salt' failed.
2022-11-23 03:24:07,825 [salt.minion      :143 ][ERROR   ][6172] Master hostname: 'salt' not found or not responsive. Retrying in 30 seconds
2022-11-23 03:24:09,241 [salt.config      :1976][DEBUG   ][6258] Reading configuration from /etc/salt/minion
2022-11-23 03:24:09,242 [salt.config      :3579][DEBUG   ][6258] Using cached minion ID from /etc/salt/minion_id: rocky9.localdomain
2022-11-23 03:24:09,351 [salt.utils.verify:566 ][WARNING ][6258] Insecure logging configuration detected! Sensitive data may be logged.

 * DEBUG: Running Processes:
 * DEBUG: USER         PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root           1  1.3  0.9 172260 16792 ?        Ss   03:20   0:02 /usr/lib/systemd/systemd text --switched-root --system --deserialize 30
root           2  0.0  0.0      0     0 ?        S    03:20   0:00 [kthreadd]
root           3  0.0  0.0      0     0 ?        I<   03:20   0:00 [rcu_gp]
root           4  0.0  0.0      0     0 ?        I<   03:20   0:00 [rcu_par_gp]
root           5  0.0  0.0      0     0 ?        I    03:20   0:00 [kworker/0:0-inode_switch_wbs]
root           6  0.0  0.0      0     0 ?        I<   03:20   0:00 [kworker/0:0H-events_highpri]
root           7  0.0  0.0      0     0 ?        I    03:20   0:00 [kworker/0:1-inode_switch_wbs]
root           8  0.3  0.0      0     0 ?        I    03:20   0:00 [kworker/u4:0-events_unbound]
root           9  0.0  0.0      0     0 ?        I<   03:20   0:00 [mm_percpu_wq]
root          10  0.0  0.0      0     0 ?        S    03:20   0:00 [rcu_tasks_kthre]
root          11  0.0  0.0      0     0 ?        S    03:20   0:00 [rcu_tasks_rude_]
root          12  0.0  0.0      0     0 ?        S    03:20   0:00 [rcu_tasks_trace]
root          13  0.0  0.0      0     0 ?        S    03:20   0:00 [ksoftirqd/0]
root          14  0.0  0.0      0     0 ?        I    03:20   0:00 [rcu_preempt]
root          15  0.0  0.0      0     0 ?        S    03:20   0:00 [migration/0]
root          16  0.0  0.0      0     0 ?        S    03:20   0:00 [cpuhp/0]
root          17  0.0  0.0      0     0 ?        S    03:20   0:00 [cpuhp/1]
root          18  0.0  0.0      0     0 ?        S    03:20   0:00 [migration/1]
root          19  0.0  0.0      0     0 ?        S    03:20   0:00 [ksoftirqd/1]
root          20  0.0  0.0      0     0 ?        I    03:20   0:00 [kworker/1:0-inode_switch_wbs]
root          21  0.0  0.0      0     0 ?        I<   03:20   0:00 [kworker/1:0H-events_highpri]
root          23  0.0  0.0      0     0 ?        I    03:20   0:00 [kworker/u4:1-writeback]
root          24  0.0  0.0      0     0 ?        S    03:20   0:00 [kdevtmpfs]
root          25  0.0  0.0      0     0 ?        I<   03:20   0:00 [netns]
root          26  0.0  0.0      0     0 ?        I<   03:20   0:00 [inet_frag_wq]
root          27  0.0  0.0      0     0 ?        S    03:20   0:00 [kauditd]
root          28  0.0  0.0      0     0 ?        S    03:20   0:00 [khungtaskd]
root          29  0.0  0.0      0     0 ?        S    03:20   0:00 [oom_reaper]
root          30  0.0  0.0      0     0 ?        I<   03:20   0:00 [writeback]
root          31  0.0  0.0      0     0 ?        S    03:20   0:00 [kcompactd0]
root          32  0.0  0.0      0     0 ?        SN   03:20   0:00 [ksmd]
root          33  0.0  0.0      0     0 ?        SN   03:20   0:00 [khugepaged]
root          34  0.0  0.0      0     0 ?        I<   03:20   0:00 [cryptd]
root          35  0.0  0.0      0     0 ?        I<   03:20   0:00 [kintegrityd]
root          36  0.0  0.0      0     0 ?        I<   03:20   0:00 [kblockd]
root          37  0.0  0.0      0     0 ?        I<   03:20   0:00 [blkcg_punt_bio]
root          38  0.0  0.0      0     0 ?        I<   03:20   0:00 [tpm_dev_wq]
root          39  0.0  0.0      0     0 ?        I<   03:20   0:00 [md]
root          40  0.0  0.0      0     0 ?        I<   03:20   0:00 [edac-poller]
root          41  0.0  0.0      0     0 ?        S    03:20   0:00 [watchdogd]
root          42  0.0  0.0      0     0 ?        I    03:20   0:00 [kworker/1:1-inode_switch_wbs]
root          43  0.0  0.0      0     0 ?        I<   03:20   0:00 [kworker/1:1H-kblockd]
root          44  0.0  0.0      0     0 ?        S    03:20   0:00 [kswapd0]
root          45  0.0  0.0      0     0 ?        I<   03:20   0:00 [kthrotld]
root          47  0.0  0.0      0     0 ?        I    03:20   0:00 [kworker/1:2-inode_switch_wbs]
root          49  0.0  0.0      0     0 ?        S    03:20   0:00 [irq/24-pciehp]
root          50  0.0  0.0      0     0 ?        S    03:20   0:00 [irq/25-pciehp]
root          51  0.0  0.0      0     0 ?        S    03:20   0:00 [irq/26-pciehp]
root          52  0.0  0.0      0     0 ?        S    03:20   0:00 [irq/27-pciehp]
root          53  0.0  0.0      0     0 ?        S    03:20   0:00 [irq/28-pciehp]
root          54  0.0  0.0      0     0 ?        S    03:20   0:00 [irq/29-pciehp]
root          55  0.0  0.0      0     0 ?        S    03:20   0:00 [irq/30-pciehp]
root          56  0.0  0.0      0     0 ?        S    03:20   0:00 [irq/31-pciehp]
root          57  0.0  0.0      0     0 ?        S    03:20   0:00 [irq/32-pciehp]
root          58  0.0  0.0      0     0 ?        S    03:20   0:00 [irq/33-pciehp]
root          59  0.0  0.0      0     0 ?        S    03:20   0:00 [irq/34-pciehp]
root          60  0.0  0.0      0     0 ?        S    03:20   0:00 [irq/35-pciehp]
root          61  0.0  0.0      0     0 ?        S    03:20   0:00 [irq/36-pciehp]
root          62  0.0  0.0      0     0 ?        S    03:20   0:00 [irq/37-pciehp]
root          63  0.0  0.0      0     0 ?        S    03:20   0:00 [irq/38-pciehp]
root          64  0.0  0.0      0     0 ?        S    03:20   0:00 [irq/39-pciehp]
root          65  0.0  0.0      0     0 ?        S    03:20   0:00 [irq/40-pciehp]
root          66  0.0  0.0      0     0 ?        S    03:20   0:00 [irq/41-pciehp]
root          67  0.0  0.0      0     0 ?        S    03:20   0:00 [irq/42-pciehp]
root          68  0.0  0.0      0     0 ?        S    03:20   0:00 [irq/43-pciehp]
root          69  0.0  0.0      0     0 ?        S    03:20   0:00 [irq/44-pciehp]
root          70  0.0  0.0      0     0 ?        S    03:20   0:00 [irq/45-pciehp]
root          71  0.0  0.0      0     0 ?        S    03:20   0:00 [irq/46-pciehp]
root          72  0.0  0.0      0     0 ?        S    03:20   0:00 [irq/47-pciehp]
root          73  0.0  0.0      0     0 ?        S    03:20   0:00 [irq/48-pciehp]
root          74  0.0  0.0      0     0 ?        S    03:20   0:00 [irq/49-pciehp]
root          75  0.0  0.0      0     0 ?        S    03:20   0:00 [irq/50-pciehp]
root          76  0.0  0.0      0     0 ?        S    03:20   0:00 [irq/51-pciehp]
root          77  0.0  0.0      0     0 ?        S    03:20   0:00 [irq/52-pciehp]
root          78  0.0  0.0      0     0 ?        S    03:20   0:00 [irq/53-pciehp]
root          79  0.0  0.0      0     0 ?        S    03:20   0:00 [irq/54-pciehp]
root          80  0.0  0.0      0     0 ?        S    03:20   0:00 [irq/55-pciehp]
root          81  0.0  0.0      0     0 ?        I<   03:20   0:00 [acpi_thermal_pm]
root          82  0.0  0.0      0     0 ?        I    03:20   0:00 [kworker/u4:2-events_unbound]
root          83  0.0  0.0      0     0 ?        I<   03:20   0:00 [kmpath_rdacd]
root          84  0.0  0.0      0     0 ?        I<   03:20   0:00 [kaluad]
root          85  0.0  0.0      0     0 ?        I<   03:20   0:00 [mld]
root          86  0.0  0.0      0     0 ?        I<   03:20   0:00 [ipv6_addrconf]
root          87  0.0  0.0      0     0 ?        I<   03:20   0:00 [kstrp]
root         101  0.0  0.0      0     0 ?        I<   03:20   0:00 [zswap-shrink]
root         103  0.0  0.0      0     0 ?        I    03:20   0:00 [kworker/u4:3-flush-253:0]
root         220  0.0  0.0      0     0 ?        I<   03:20   0:00 [kworker/u5:0]
root         267  0.0  0.0      0     0 ?        I    03:20   0:00 [kworker/0:2-inode_switch_wbs]
root         268  0.0  0.0      0     0 ?        I<   03:20   0:00 [kworker/0:1H-xfs-log/dm-0]
root         411  0.0  0.0      0     0 ?        I<   03:20   0:00 [mpt_poll_0]
root         412  0.0  0.0      0     0 ?        I<   03:20   0:00 [mpt/0]
root         414  0.0  0.0      0     0 ?        I<   03:20   0:00 [ata_sff]
root         417  0.0  0.0      0     0 ?        S    03:20   0:00 [scsi_eh_0]
root         419  0.0  0.0      0     0 ?        I<   03:20   0:00 [scsi_tmf_0]
root         420  0.0  0.0      0     0 ?        S    03:20   0:00 [scsi_eh_1]
root         421  0.0  0.0      0     0 ?        I<   03:20   0:00 [scsi_tmf_1]
root         426  0.0  0.0      0     0 ?        I    03:20   0:00 [kworker/u4:4-writeback]
root         434  0.0  0.0      0     0 ?        I    03:20   0:00 [kworker/0:3-inode_switch_wbs]
root         435  0.0  0.0      0     0 ?        S    03:20   0:00 [scsi_eh_2]
root         436  0.0  0.0      0     0 ?        I<   03:20   0:00 [scsi_tmf_2]
root         503  0.0  0.0      0     0 ?        I<   03:20   0:00 [kdmflush/253:0]
root         512  0.0  0.0      0     0 ?        I<   03:20   0:00 [kdmflush/253:1]
root         530  0.0  0.0      0     0 ?        I<   03:20   0:00 [xfsalloc]
root         531  0.0  0.0      0     0 ?        I<   03:20   0:00 [xfs_mru_cache]
root         532  0.0  0.0      0     0 ?        I<   03:20   0:00 [xfs-buf/dm-0]
root         533  0.0  0.0      0     0 ?        I<   03:20   0:00 [xfs-conv/dm-0]
root         534  0.0  0.0      0     0 ?        I<   03:20   0:00 [xfs-cil/dm-0]
root         535  0.0  0.0      0     0 ?        I<   03:20   0:00 [xfs-reclaim/dm-]
root         536  0.0  0.0      0     0 ?        I<   03:20   0:00 [xfs-gc/dm-0]
root         537  0.0  0.0      0     0 ?        I<   03:20   0:00 [xfs-log/dm-0]
root         538  0.0  0.0      0     0 ?        S    03:20   0:00 [xfsaild/dm-0]
root         646  0.0  0.3   8448  6940 ?        Ss   03:20   0:00 /usr/sbin/haveged -w 1024 -v 1 --Foreground -v 64
root         647  0.0  0.4  22392  9028 ?        Ss   03:20   0:00 /usr/lib/systemd/systemd-journald
root         648  0.0  0.0      0     0 ?        I<   03:20   0:00 [xfs-buf/sda1]
root         649  0.0  0.6  32768 11156 ?        Ss   03:20   0:00 /usr/lib/systemd/systemd-udevd
root         650  0.0  0.0      0     0 ?        I<   03:20   0:00 [xfs-conv/sda1]
root         651  0.0  0.0      0     0 ?        I<   03:20   0:00 [xfs-cil/sda1]
root         652  0.0  0.0      0     0 ?        I<   03:20   0:00 [xfs-reclaim/sda]
root         653  0.0  0.0      0     0 ?        I<   03:20   0:00 [xfs-gc/sda1]
root         654  0.0  0.0      0     0 ?        I<   03:20   0:00 [xfs-log/sda1]
root         655  0.0  0.0      0     0 ?        S    03:20   0:00 [xfsaild/sda1]
root         676  0.0  0.1  18060  2344 ?        S<sl 03:20   0:00 /sbin/auditd
dbus         698  0.0  0.2   9868  4384 ?        Ss   03:20   0:00 /usr/bin/dbus-broker-launch --scope system --audit
dbus         700  0.0  0.1   5108  3080 ?        S    03:20   0:00 dbus-broker --log 4 --controller 9 --machine-id 345eb570e2974f0a85254f3ef08db5b3 --max-bytes 536870912 --max-fds 4096 --max-matches 131072 --audit
root         702  0.0  0.1  79220  2968 ?        Ssl  03:20   0:00 /usr/sbin/irqbalance --foreground
polkitd      703  0.0  1.4 2577128 26636 ?       Ssl  03:20   0:00 /usr/lib/polkit-1/polkitd --no-debug
root         705  0.0  0.2 164796  5056 ?        Ssl  03:20   0:00 /usr/sbin/rsyslogd -n
chrony       714  0.0  0.1  84356  3392 ?        S    03:20   0:00 /usr/sbin/chronyd -F 2
root         724  0.0  0.5  19784 10740 ?        Ss   03:20   0:00 /usr/lib/systemd/systemd-logind
root         726  0.0  0.5  17372 10328 ?        Ss   03:20   0:00 /usr/bin/VGAuthService -s
root         728  0.1  0.5 240588 10200 ?        Ssl  03:20   0:00 /usr/bin/vmtoolsd
root         751  0.0  0.0      0     0 ?        I    03:20   0:00 [kworker/1:3-inode_switch_wbs]
root         761  0.2  2.1 124968 39888 ?        Ssl  03:20   0:00 /usr/bin/python3 -s /usr/sbin/firewalld --nofork --nopid
root         850  0.1  1.4 255968 26004 ?        Ssl  03:20   0:00 /usr/bin/python3 -Es /usr/sbin/tuned -l -P
root         901  0.0  0.1   8524  3544 ?        Ss   03:20   0:00 /usr/sbin/crond -n
root         915  0.0  0.0   3048  1072 tty1     Ss+  03:20   0:00 /sbin/agetty -o -p -- \u --noclear - linux
root         920  0.0  0.5  16064  9564 ?        Ss   03:20   0:00 sshd: /usr/sbin/sshd -D -u0 [listener] 0 of 10-100 startups
root         937  0.0  0.0      0     0 ?        I    03:20   0:00 [kworker/u4:5]
root        2453  0.0  1.0 256944 19032 ?        Ssl  03:21   0:00 /usr/sbin/NetworkManager --no-daemon
root        2785  0.0  0.6  19352 12000 ?        Ss   03:21   0:00 sshd: vagrant [priv]
vagrant     2789  0.0  0.7  21476 13088 ?        Ss   03:21   0:00 /usr/lib/systemd/systemd --user
vagrant     2791  0.0  0.3 172384  5668 ?        S    03:21   0:00 (sd-pam)
vagrant     2798  0.0  0.4  19696  7596 ?        S    03:21   0:00 sshd: vagrant@pts/0
vagrant     2799  0.0  0.2   8264  5072 pts/0    Ss   03:21   0:00 -bash
root        2819  0.0  0.4  19460  8896 pts/0    S+   03:22   0:00 sudo sh bootstrap-salt.sh -D onedir
root        2821  0.0  0.4  11480  7908 pts/0    S+   03:22   0:00 sh bootstrap-salt.sh -D onedir
root        2833  0.0  0.0   5592  1016 pts/0    S+   03:22   0:00 tee /tmp/bootstrap-salt.log
root        3364  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:4-inode_switch_wbs]
root        3365  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:5-inode_switch_wbs]
root        3366  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:6-inode_switch_wbs]
root        3367  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:7-inode_switch_wbs]
root        3368  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:8-inode_switch_wbs]
root        3369  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:9-inode_switch_wbs]
root        3370  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:10-inode_switch_wbs]
root        3371  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:11-inode_switch_wbs]
root        3372  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:12-inode_switch_wbs]
root        3373  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:13-inode_switch_wbs]
root        3374  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:14-inode_switch_wbs]
root        3375  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:15-inode_switch_wbs]
root        3376  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:16-inode_switch_wbs]
root        3377  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:17-inode_switch_wbs]
root        3379  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:18-inode_switch_wbs]
root        3382  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:19-inode_switch_wbs]
root        3384  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:20-inode_switch_wbs]
root        3385  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:4-inode_switch_wbs]
root        3387  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:21-inode_switch_wbs]
root        3391  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:5-inode_switch_wbs]
root        3393  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:22-inode_switch_wbs]
root        3394  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:23-inode_switch_wbs]
root        3395  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:24-inode_switch_wbs]
root        3396  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:25-inode_switch_wbs]
root        3397  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:26-inode_switch_wbs]
root        3398  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:27-inode_switch_wbs]
root        3399  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:28-inode_switch_wbs]
root        3400  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:29-inode_switch_wbs]
root        3401  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:30-inode_switch_wbs]
root        3402  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:31-inode_switch_wbs]
root        3403  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:32-inode_switch_wbs]
root        3404  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:33-inode_switch_wbs]
root        3405  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:34-inode_switch_wbs]
root        3406  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:35-inode_switch_wbs]
root        3407  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:36-inode_switch_wbs]
root        3408  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:37-inode_switch_wbs]
root        3409  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:38-inode_switch_wbs]
root        3410  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:39-inode_switch_wbs]
root        3411  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:40-inode_switch_wbs]
root        3412  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:41-inode_switch_wbs]
root        3415  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:42-inode_switch_wbs]
root        3417  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:6-inode_switch_wbs]
root        3418  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:7-inode_switch_wbs]
root        3419  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:8-inode_switch_wbs]
root        3420  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:43-inode_switch_wbs]
root        3421  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:44-inode_switch_wbs]
root        3422  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:9-inode_switch_wbs]
root        3423  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:45-inode_switch_wbs]
root        3424  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:10-inode_switch_wbs]
root        3425  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:46-inode_switch_wbs]
root        3426  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:11-inode_switch_wbs]
root        3427  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:47-inode_switch_wbs]
root        3428  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:12-inode_switch_wbs]
root        3429  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:48-inode_switch_wbs]
root        3430  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:49-inode_switch_wbs]
root        3431  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:50-inode_switch_wbs]
root        3432  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:51-inode_switch_wbs]
root        3433  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:52-inode_switch_wbs]
root        3434  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:53-inode_switch_wbs]
root        3435  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:54-inode_switch_wbs]
root        3436  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:55-inode_switch_wbs]
root        3437  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:56-inode_switch_wbs]
root        3438  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:57-inode_switch_wbs]
root        3439  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:58-inode_switch_wbs]
root        3440  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:59-inode_switch_wbs]
root        3441  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:60-inode_switch_wbs]
root        3442  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:61-inode_switch_wbs]
root        3443  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:62-inode_switch_wbs]
root        3444  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:63-inode_switch_wbs]
root        3445  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:64-inode_switch_wbs]
root        3446  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:13-inode_switch_wbs]
root        3448  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:65-inode_switch_wbs]
root        3449  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:14-inode_switch_wbs]
root        3450  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:15-inode_switch_wbs]
root        3451  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:16-inode_switch_wbs]
root        3452  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:17-inode_switch_wbs]
root        3453  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:18-inode_switch_wbs]
root        3454  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:19-inode_switch_wbs]
root        3455  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:20-inode_switch_wbs]
root        3456  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:21-inode_switch_wbs]
root        3457  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:22-inode_switch_wbs]
root        3458  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:23-inode_switch_wbs]
root        3459  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:24-inode_switch_wbs]
root        3460  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:25-inode_switch_wbs]
root        3461  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:26-inode_switch_wbs]
root        3462  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:27-inode_switch_wbs]
root        3463  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:28-inode_switch_wbs]
root        3464  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:29-inode_switch_wbs]
root        3465  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:30-inode_switch_wbs]
root        3466  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:31-inode_switch_wbs]
root        3467  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:32-inode_switch_wbs]
root        3468  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:33-inode_switch_wbs]
root        3469  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:34-inode_switch_wbs]
root        3471  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:35-inode_switch_wbs]
root        3472  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:36-inode_switch_wbs]
root        3473  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:37-inode_switch_wbs]
root        3474  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:38-inode_switch_wbs]
root        3475  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:39-inode_switch_wbs]
root        3476  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:40-inode_switch_wbs]
root        3477  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:41-inode_switch_wbs]
root        3478  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:42-inode_switch_wbs]
root        3479  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:43-inode_switch_wbs]
root        3481  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:44-inode_switch_wbs]
root        3482  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:45-inode_switch_wbs]
root        3483  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:46-inode_switch_wbs]
root        3485  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:66-inode_switch_wbs]
root        3486  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:47-inode_switch_wbs]
root        3487  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:48-inode_switch_wbs]
root        3488  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:49-inode_switch_wbs]
root        3489  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:50-inode_switch_wbs]
root        3490  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:51-inode_switch_wbs]
root        3495  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:67-inode_switch_wbs]
root        3504  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:68-inode_switch_wbs]
root        3509  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:52-inode_switch_wbs]
root        3510  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:69-inode_switch_wbs]
root        3512  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:70-inode_switch_wbs]
root        3513  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:71-inode_switch_wbs]
root        3514  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:72-inode_switch_wbs]
root        3518  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:53-inode_switch_wbs]
root        3520  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:73-inode_switch_wbs]
root        3521  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:74-inode_switch_wbs]
root        3522  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:75-inode_switch_wbs]
root        3523  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:76-inode_switch_wbs]
root        3524  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:77-inode_switch_wbs]
root        3525  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:78-inode_switch_wbs]
root        3526  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:79-inode_switch_wbs]
root        3527  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:80-inode_switch_wbs]
root        3528  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:81-inode_switch_wbs]
root        3529  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:82-inode_switch_wbs]
root        3530  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:83-inode_switch_wbs]
root        3531  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:84-inode_switch_wbs]
root        3532  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:85-inode_switch_wbs]
root        3533  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:86-inode_switch_wbs]
root        3534  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:87-inode_switch_wbs]
root        3535  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:88-inode_switch_wbs]
root        3536  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:89-inode_switch_wbs]
root        3537  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:90-inode_switch_wbs]
root        3538  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:91-inode_switch_wbs]
root        3539  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:92-inode_switch_wbs]
root        3540  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:93-inode_switch_wbs]
root        3541  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:94-inode_switch_wbs]
root        3542  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:95-inode_switch_wbs]
root        3543  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:96-inode_switch_wbs]
root        3544  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:97-inode_switch_wbs]
root        3545  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:98-inode_switch_wbs]
root        3546  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:99-inode_switch_wbs]
root        3547  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:100-inode_switch_wbs]
root        3548  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:101-inode_switch_wbs]
root        3549  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:102-inode_switch_wbs]
root        3550  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:103-inode_switch_wbs]
root        3551  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:104-inode_switch_wbs]
root        3552  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:105-inode_switch_wbs]
root        3553  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:106-inode_switch_wbs]
root        3554  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:107-inode_switch_wbs]
root        3555  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:108-inode_switch_wbs]
root        3556  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:109-inode_switch_wbs]
root        3557  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:110-inode_switch_wbs]
root        3558  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:111-inode_switch_wbs]
root        3559  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:112-events]
root        3560  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:113-cgroup_destroy]
root        3561  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:114-events]
root        3562  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:115-events]
root        3563  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:116-events]
root        3564  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:117-events]
root        3565  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:118-events]
root        3566  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:119-events]
root        3567  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:120-events]
root        3568  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:54-inode_switch_wbs]
root        3573  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:55-inode_switch_wbs]
root        3574  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:56-inode_switch_wbs]
root        3578  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:57-inode_switch_wbs]
root        3580  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:58-inode_switch_wbs]
root        3584  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:59-inode_switch_wbs]
root        3585  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/0:121-events]
root        3590  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:60-inode_switch_wbs]
root        3592  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:61-inode_switch_wbs]
root        3596  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:62-inode_switch_wbs]
root        3598  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:63-inode_switch_wbs]
root        3611  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:64-inode_switch_wbs]
root        3620  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:65-inode_switch_wbs]
root        3625  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:66-inode_switch_wbs]
root        3630  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:67-inode_switch_wbs]
root        3631  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:68-inode_switch_wbs]
root        3632  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:69-inode_switch_wbs]
root        3633  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:70-inode_switch_wbs]
root        3634  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:71-inode_switch_wbs]
root        3635  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:72-inode_switch_wbs]
root        3636  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:73-inode_switch_wbs]
root        3637  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:74-inode_switch_wbs]
root        3638  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:75-inode_switch_wbs]
root        3639  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:76-inode_switch_wbs]
root        3640  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:77-inode_switch_wbs]
root        3641  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:78-inode_switch_wbs]
root        3642  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:79-inode_switch_wbs]
root        3643  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:80-inode_switch_wbs]
root        3644  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:81-inode_switch_wbs]
root        3647  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:82-inode_switch_wbs]
root        3649  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:83-inode_switch_wbs]
root        3650  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:84-inode_switch_wbs]
root        3651  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:85-inode_switch_wbs]
root        3652  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:86-inode_switch_wbs]
root        3654  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:87-inode_switch_wbs]
root        3657  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:88-inode_switch_wbs]
root        3659  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:89-inode_switch_wbs]
root        3661  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:90-inode_switch_wbs]
root        3664  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:91-inode_switch_wbs]
root        3667  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:92-inode_switch_wbs]
root        3668  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:93-inode_switch_wbs]
root        3671  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:94-inode_switch_wbs]
root        3673  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:95-inode_switch_wbs]
root        3675  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:96-inode_switch_wbs]
root        3679  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:97-inode_switch_wbs]
root        3680  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:98-inode_switch_wbs]
root        3682  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:99-inode_switch_wbs]
root        3683  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:100-inode_switch_wbs]
root        3686  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:101-inode_switch_wbs]
root        3688  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:102-inode_switch_wbs]
root        3690  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:103-inode_switch_wbs]
root        3691  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:104-inode_switch_wbs]
root        3692  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:105-inode_switch_wbs]
root        3704  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:106-inode_switch_wbs]
root        3706  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:107-inode_switch_wbs]
root        3722  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:108-inode_switch_wbs]
root        3731  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:109-inode_switch_wbs]
root        3732  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:110-inode_switch_wbs]
root        3733  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:111-inode_switch_wbs]
root        3734  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:112-inode_switch_wbs]
root        3735  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:113-inode_switch_wbs]
root        3736  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:114-inode_switch_wbs]
root        3737  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:115-inode_switch_wbs]
root        3738  0.1  0.0      0     0 ?        I    03:24   0:00 [kworker/1:116-mm_percpu_wq]
root        3739  0.0  0.0      0     0 ?        I    03:24   0:00 [kworker/1:117-ata_sff]
root        6168  2.0  1.7  40044 31636 ?        Ss   03:24   0:00 /usr/bin/python3 /usr/bin/salt-minion
root        6172  4.6  2.6 210216 47944 ?        Sl   03:24   0:00 /usr/bin/python3 /usr/bin/salt-minion
root        6264  0.0  0.1  10104  3476 pts/0    R+   03:24   0:00 ps auxwww
 * DEBUG: Removing the logging pipe /tmp/bootstrap-salt.logpipe
 * DEBUG: Removing the temporary apt error file /tmp/apt_error.w5JVRy
 * DEBUG: Killing logging pipe tee's with pid(s): 2833

Versions and Systems

(salt --versions-report, bootstrap-salt.sh -v, system type and version,
cloud/VM provider as appropriate.)

[vagrant@localhost ~]$ sh bootstrap-salt.sh -v
bootstrap-salt.sh -- Version 2022.10.04
@ggiesen
Copy link
Contributor Author

ggiesen commented Nov 23, 2022

This issue actually looks like it may be due to the fact that there's what appears to be a classic version of Salt 3005.1 in EPEL:

[vagrant@rocky9 ~]$ dnf info salt-minion
Extra Packages for Enterprise Linux 9 - x86_64                                                                                     44 kB/s |  15 kB     00:00
Extra Packages for Enterprise Linux 9 - Next - x86_64                                                                              70 kB/s |  23 kB     00:00
Extra Packages for Enterprise Linux 9 - Next - x86_64                                                                             2.5 MB/s | 1.4 MB     00:00
SaltStack latest Release Channel for RHEL/CentOS 9                                                                                 20 kB/s | 2.9 kB     00:00
Available Packages
Name         : salt-minion
Version      : 3005.1
Release      : 2.el9
Architecture : noarch
Size         : 32 k
Source       : salt-3005.1-2.el9.src.rpm
Repository   : epel
Summary      : Client component for Salt, a parallel remote execution system
URL          : https://saltproject.io/
License      : ASL 2.0
Description  : The Salt minion is the agent component of Salt. It listens for instructions
             : from the master, runs jobs, and returns results back to the master.
             : Supports Python 3.

Name         : salt-minion
Version      : 3005.1
Release      : 2.el9
Architecture : x86_64
Size         : 30 k
Source       : salt-3005.1-2.el9.src.rpm
Repository   : saltstack
Summary      : Client component for Salt, a parallel remote execution system
URL          : http://saltstack.org/
License      : ASL 2.0
Description  : The Salt minion is the agent component of Salt. It listens for instructions
             : from the master, runs jobs, and returns results back to the master.

@ggiesen ggiesen changed the title salt-bootstrap fails to start services when installing OneDir on AlmaLinux and Rocky Linux 9 salt-bootstrap fails to start services when installing OneDir on AlmaLinux and Rocky Linux 9 due to presence of classic Salt packages in EPEL Nov 23, 2022
@OrangeDog
Copy link

OrangeDog commented Nov 24, 2022

The same will apply to any system that already ships Salt by default at the same version you're trying to install, such as Debian and its downstreams.

@barbaricyawps
Copy link

Comment from @dmurphy18 on a related issue:

I don't believe this is a Salt problem, if the user installs a forked built version of Salt from a different repository, then that is up to them. For example: Debian and Ubuntu have long forked the Salt project and built their own packages. It is up to the user to know what they are doing, and to decide which packages to install and from where.

There is no warning about whose repository to install packages from for Debian / Ubuntu for years and I don't see why we should start doing it for RHEL 9 EPEL now.

This is for Classic or Tiamat based packages

In light of that comment, I'm closing this issue.

@ggiesen
Copy link
Contributor Author

ggiesen commented Nov 29, 2022

I haven't confirmed it yet, but I think either the bootstrap script or the Salt packages themselves are actually requiring EPEL, in which case it's very much a Salt problem.

@ggiesen
Copy link
Contributor Author

ggiesen commented Nov 29, 2022

Confirmed:

__install_epel_repository() {
if [ ${_EPEL_REPOS_INSTALLED} -eq $BS_TRUE ]; then
return 0
fi
# Check if epel repo is already enabled and flag it accordingly
if yum repolist | grep -q "^[!]\\?${_EPEL_REPO}/"; then
_EPEL_REPOS_INSTALLED=$BS_TRUE
return 0
fi
# Download latest 'epel-next-release' package for the distro version directly
epel_next_repo_url="${HTTP_VAL}://dl.fedoraproject.org/pub/epel/epel-next-release-latest-${DISTRO_MAJOR_VERSION}.noarch.rpm"
# Download latest 'epel-release' package for the distro version directly
epel_repo_url="${HTTP_VAL}://dl.fedoraproject.org/pub/epel/epel-release-latest-${DISTRO_MAJOR_VERSION}.noarch.rpm"
yum -y install "${epel_next_repo_url}" "${epel_repo_url}"
_EPEL_REPOS_INSTALLED=$BS_TRUE
return 0
}

install_centos_onedir_deps() {
if [ "$_UPGRADE_SYS" -eq $BS_TRUE ]; then
yum -y update || return 1
fi
if [ "$_DISABLE_REPOS" -eq "$BS_TRUE" ] && [ -n "$_PY_EXE" ] && [ "$_PY_MAJOR_VERSION" -eq 3 ]; then
echowarn "Detected -r or -R option while installing Salt packages for Python 3."
echowarn "Python 3 packages for older Salt releases requires the EPEL repository to be installed."
echowarn "Installing the EPEL repository automatically is disabled when using the -r or -R options."
fi
if [ "$_DISABLE_REPOS" -eq "$BS_FALSE" ]; then
__install_epel_repository || return 1
__install_saltstack_rhel_onedir_repository || return 1
fi
# If -R was passed, we need to configure custom repo url with rsync-ed packages
# Which is still handled in __install_saltstack_rhel_repository. This call has
# its own check in case -r was passed without -R.
if [ "$_CUSTOM_REPO_URL" != "null" ]; then
__install_saltstack_rhel_onedir_repository || return 1
fi
if [ "$DISTRO_MAJOR_VERSION" -ge 8 ]; then
__PACKAGES="dnf-utils chkconfig"
else
__PACKAGES="yum-utils chkconfig"
fi
# shellcheck disable=SC2086
__yum_install_noinput ${__PACKAGES} || return 1
if [ "${_EXTRA_PACKAGES}" != "" ]; then
echoinfo "Installing the following extra packages as requested: ${_EXTRA_PACKAGES}"
# shellcheck disable=SC2086
__yum_install_noinput ${_EXTRA_PACKAGES} || return 1
fi
return 0
}

The bootstrap script is actually installing EPEL. So either the bootstrap script needs to be adjusted to not add EPEL, or some other method needs to be used to prioritize the Salt repo or deprioritize the EPEL repo.

@ggiesen
Copy link
Contributor Author

ggiesen commented Nov 29, 2022

@barbaricyawps Can you reopen this as it's definitely a Salt (salt-bootstrap) issue.

@barbaricyawps
Copy link

@garethgreenaway and @whytewolf , can you weigh in?

@whytewolf
Copy link

about the only thing i can say is that we shouldn't be installing EPEL anymore we haven't needed it since 2016.x at least. so removal of epel from the bootstrap should be something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants