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

[BUG] Missing File when install Minion 3006.X #65581

Closed
3 of 9 tasks
ssoto2 opened this issue Aug 23, 2023 · 1 comment · Fixed by #65582
Closed
3 of 9 tasks

[BUG] Missing File when install Minion 3006.X #65581

ssoto2 opened this issue Aug 23, 2023 · 1 comment · Fixed by #65582
Assignees
Labels
Bug broken, incorrect, or confusing behavior

Comments

@ssoto2
Copy link

ssoto2 commented Aug 23, 2023

Description
When installing via Bootstrap.sh on a Rocky8 instance using a onedir install I am getting errors that files are missing. This is happening in AWS

/opt/saltstack/salt/lib/libssl.so.1.1: No such file or directory
/opt/saltstack/salt/lib/libcrypto.so.1.1: No such file or directory

Setup

wget -O bootstrap-salt.sh https://bootstrap.saltstack.com
sudo sh bootstrap-salt.sh -X -P onedir

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

  • on-prem machine
  • VM (Virtualbox, KVM, etc. please specify)
  • 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
ROCKY8 AWS AMI ami-097104a26f5e1c26a

Expected behavior
Install to run cleanly with no errors.

Screenshots

 *  INFO: Running install_rocky_linux_onedir()
Last metadata expiration check: 0:00:02 ago on Wed 23 Aug 2023 10:14:20 AM EDT.
Dependencies resolved.
================================================================================
 Package             Architecture   Version             Repository         Size
================================================================================
Installing:
 salt-minion         x86_64         3006.2-0            saltstack         215 k
Installing dependencies:
 pciutils            x86_64         3.7.0-3.el8         baseos            104 k
 salt                x86_64         3006.2-0            saltstack          58 M

Transaction Summary
================================================================================
Install  3 Packages

Total download size: 59 M
Installed size: 175 M
Downloading Packages:
(1/3): pciutils-3.7.0-3.el8.x86_64.rpm          352 kB/s | 104 kB     00:00    
(2/3): salt-minion-3006.2-0.x86_64.rpm          617 kB/s | 215 kB     00:00    
(3/3): salt-3006.2-0.x86_64.rpm                  70 MB/s |  58 MB     00:00    
--------------------------------------------------------------------------------
Total                                            64 MB/s |  59 MB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
  Installing       : pciutils-3.7.0-3.el8.x86_64                            1/3 
  Running scriptlet: salt-3006.2-0.x86_64                                   2/3 
  Installing       : salt-3006.2-0.x86_64                                   2/3 
  Running scriptlet: salt-3006.2-0.x86_64                                   2/3 
  Installing       : salt-minion-3006.2-0.x86_64                            3/3 
  Running scriptlet: salt-minion-3006.2-0.x86_64                            3/3 
/opt/saltstack/salt/lib/libssl.so.1.1: No such file or directory
/opt/saltstack/salt/lib/libcrypto.so.1.1: No such file or directory

  Verifying        : pciutils-3.7.0-3.el8.x86_64                            1/3 
  Verifying        : salt-3006.2-0.x86_64                                   2/3 
  Verifying        : salt-minion-3006.2-0.x86_64                            3/3 

Installed:
  pciutils-3.7.0-3.el8.x86_64 salt-3006.2-0.x86_64 salt-minion-3006.2-0.x86_64

Complete!
 *  INFO: Running install_rocky_linux_onedir_post()
 *  INFO: Running install_rocky_linux_check_services()
 *  INFO: Salt installed!
[root@ip-10-2-7-37 ~]# ll /opt/saltstack/salt/lib/libssl.so.1.1
ls: cannot access '/opt/saltstack/salt/lib/libssl.so.1.1': No such file or directory
[root@ip-10-2-7-37 ~]# ll /opt/saltstack/salt/lib/libcrypto.so.1.1
ls: cannot access '/opt/saltstack/salt/lib/libcrypto.so.1.1': No such file or directory

Versions Report

salt --versions-report (Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)
[root@ip-10-2-7-37 ~]# salt-minion --versions-report
Salt Version:
          Salt: 3006.2
 
Python Version:
        Python: 3.10.12 (main, Aug  3 2023, 21:47:10) [GCC 11.2.0]
 
Dependency Versions:
          cffi: 1.14.6
      cherrypy: 18.6.1
      dateutil: 2.8.1
     docker-py: Not Installed
         gitdb: Not Installed
     gitpython: Not Installed
        Jinja2: 3.1.2
       libgit2: Not Installed
  looseversion: 1.0.2
      M2Crypto: Not Installed
          Mako: Not Installed
       msgpack: 1.0.2
  msgpack-pure: Not Installed
  mysql-python: Not Installed
     packaging: 22.0
     pycparser: 2.21
      pycrypto: Not Installed
  pycryptodome: 3.9.8
        pygit2: Not Installed
  python-gnupg: 0.4.8
        PyYAML: 6.0.1
         PyZMQ: 23.2.0
        relenv: 0.13.3
         smmap: Not Installed
       timelib: 0.2.4
       Tornado: 4.5.3
           ZMQ: 4.3.4
 
System Versions:
          dist: rocky 8.8 Green Obsidian
        locale: utf-8
       machine: x86_64
       release: 4.18.0-477.21.1.el8_8.x86_64
        system: Linux
       version: Rocky Linux 8.8 Green Obsidian

Additional context
When searching the issues in git noticed the following issue:
[BUG] Install / Upgrade to 3006 RC 1 on Centosstream 8 showing issues #63821

which seems to have a sorta similar problem

@ssoto2 ssoto2 added Bug broken, incorrect, or confusing behavior needs-triage labels Aug 23, 2023
@s0undt3ch s0undt3ch transferred this issue from saltstack/salt Aug 23, 2023
@austinbrowder
Copy link

austinbrowder commented Oct 4, 2023

I get this same error/statement on RHEL8 running in vSphere when installing Salt Master & Minion 3006.3 using yum.

[root@saltstack1 ~]# yum install salt-master
Updating Subscription Management repositories.
Salt repo for RHEL/CentOS 8 PY3                                                                                                                                            77 kB/s |  44 kB     00:00
Extra Packages for Enterprise Linux 8 - x86_64                                                                                                                            3.6 MB/s |  16 MB     00:04
Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)                                                                                                                     8.5 kB/s | 4.1 kB     00:00
Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)                                                                                                                   17 kB/s | 4.5 kB     00:00
Red Hat CodeReady Linux Builder for RHEL 8 x86_64 (RPMs)                                                                                                                   15 kB/s | 4.5 kB     00:00
Dependencies resolved.
==========================================================================================================================================================================================================
 Package                                            Architecture                                  Version                                          Repository                                        Size
==========================================================================================================================================================================================================
Installing:
 salt-master                                        x86_64                                        3006.3-0                                         salt-repo                                        3.4 M
Installing dependencies:
 salt                                               x86_64                                        3006.3-0                                         salt-repo                                         58 M

Transaction Summary
==========================================================================================================================================================================================================
Install  2 Packages

Total download size: 61 M
Installed size: 174 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): salt-master-3006.3-0.x86_64.rpm                                                                                                                                    1.0 MB/s | 3.4 MB     00:03
(2/2): salt-3006.3-0.x86_64.rpm                                                                                                                                           6.7 MB/s |  58 MB     00:08
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                     7.1 MB/s |  61 MB     00:08
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                  1/1
  Running scriptlet: salt-3006.3-0.x86_64                                                                                                                                                             1/2
  Installing       : salt-3006.3-0.x86_64                                                                                                                                                             1/2
  Running scriptlet: salt-3006.3-0.x86_64                                                                                                                                                             1/2
  Running scriptlet: salt-master-3006.3-0.x86_64                                                                                                                                                      2/2
  Installing       : salt-master-3006.3-0.x86_64                                                                                                                                                      2/2
  Running scriptlet: salt-master-3006.3-0.x86_64                                                                                                                                                      2/2
/opt/saltstack/salt/lib/libssl.so.1.1: No such file or directory
/opt/saltstack/salt/lib/libcrypto.so.1.1: No such file or directory

  Verifying        : salt-3006.3-0.x86_64                                                                                                                                                             1/2
  Verifying        : salt-master-3006.3-0.x86_64                                                                                                                                                      2/2
Installed products updated.

Installed:
  salt-3006.3-0.x86_64                                                                             salt-master-3006.3-0.x86_64

Complete!

/opt/saltstack/salt/lib/:

[root@saltstack1 pki]# ls -la /opt/saltstack/salt/lib/ | grep libssl
-rw-r--r--.  1 root root 1419716 Sep  6 11:32 libssl.a
lrwxrwxrwx.  1 root root      11 Sep  6 11:32 libssl.so -> libssl.so.3
-rw-r--r--.  1 root root       0 Oct  4 08:42 .libssl.so.1.1.hmac
-rwxr-xr-x.  1 root root  858632 Sep  6 11:32 libssl.so.3
[root@saltstack1 pki]# ls -la /opt/saltstack/salt/lib/ | grep libcrypto
-rw-r--r--.  1 root root 9887814 Sep  6 11:32 libcrypto.a
lrwxrwxrwx.  1 root root      14 Sep  6 11:32 libcrypto.so -> libcrypto.so.3
-rw-r--r--.  1 root root       0 Oct  4 08:42 .libcrypto.so.1.1.hmac
-rwxr-xr-x.  1 root root 5295568 Sep  6 11:32 libcrypto.so.3
[root@saltstack1 pki]# yum list installed | grep openssl
openssl.x86_64                                1:1.1.1k-9.el8_7                          @rhel-8-for-x86_64-baseos-rpms
openssl-libs.x86_64                           1:1.1.1k-9.el8_7                          @rhel-8-for-x86_64-baseos-rpms
openssl-pkcs11.x86_64                         0.4.10-3.el8                              @rhel-8-for-x86_64-baseos-rpms
xmlsec1-openssl.x86_64                        1.2.25-4.el8                              @rhel-8-for-x86_64-appstream-rpms

@s0undt3ch s0undt3ch transferred this issue from saltstack/salt-bootstrap Nov 16, 2023
@s0undt3ch s0undt3ch self-assigned this Nov 16, 2023
s0undt3ch added a commit to s0undt3ch/salt that referenced this issue Nov 16, 2023
…`` if those files exist.

Fixes saltstack#65581

Signed-off-by: Pedro Algarvio <[email protected]>
s0undt3ch added a commit to s0undt3ch/salt that referenced this issue Nov 20, 2023
…`` if those files exist.

Fixes saltstack#65581

Signed-off-by: Pedro Algarvio <[email protected]>
@dwoz dwoz closed this as completed in 5463132 Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug broken, incorrect, or confusing behavior
Projects
None yet
5 participants