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

Infra: Salt master errors on boto3 module #536

Open
JacobCoffee opened this issue Dec 4, 2024 · 0 comments · May be fixed by #538
Open

Infra: Salt master errors on boto3 module #536

JacobCoffee opened this issue Dec 4, 2024 · 0 comments · May be fixed by #538
Labels
bug This is something that is not working as expected infra This relates to the underlying PSF-managed infrastructure

Comments

@JacobCoffee
Copy link
Member

JacobCoffee commented Dec 4, 2024

Issue

When running highstate on the salt master we receive an error because the boto module cannot be loaded.

Troubleshooting

  • Updated to boto3 here (manually under /srv/psf-salt) to try and use new boto3, but received a similar error
  • Tried installing boto3 manually, instead of using apt package, into the salt-managed Python via coffee@salt:~$ sudo /opt/saltstack/salt/salt-pip install boto3 but the error persists.
Details
coffee@salt:~$ salt --versions-report
Salt Version:
          Salt: 3006.9

Python Version:
        Python: 3.10.14 (main, Jun 26 2024, 11:44:37) [GCC 11.2.0]

Dependency Versions:
          cffi: 1.14.6
      cherrypy: unknown
  cryptography: 42.0.5
      dateutil: 2.8.1
     docker-py: Not Installed
         gitdb: Not Installed
     gitpython: Not Installed
        Jinja2: 3.1.4
       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.19.1
        pygit2: Not Installed
  python-gnupg: 0.4.8
        PyYAML: 6.0.1
         PyZMQ: 23.2.0
        relenv: 0.17.0
         smmap: Not Installed
       timelib: 0.2.4
       Tornado: 4.5.3
           ZMQ: 4.3.4

System Versions:
          dist: ubuntu 20.04.4 focal
        locale: utf-8
       machine: x86_64
       release: 5.4.0-192-generic
        system: Linux
       version: Ubuntu 20.04.4 focal

Logs

boto:

[ERROR   ] State 'boto_route53.rr_present' was not found in SLS 'dns'
Reason: 'boto_route53' __virtual__ returned False: boto_route53 module could not be loaded

boto3:

[ERROR   ] State 'boto3_route53.rr_present' was not found in SLS 'dns'
Reason: 'boto3_route53' __virtual__ returned False: boto3_route53 module could not be loaded

Other

We cannot roll back because the Salt repos were nuked for any version older than v3006

@JacobCoffee JacobCoffee added bug This is something that is not working as expected infra This relates to the underlying PSF-managed infrastructure labels Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This is something that is not working as expected infra This relates to the underlying PSF-managed infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant