salt-bootstrap icon indicating copy to clipboard operation
salt-bootstrap copied to clipboard

Ubuntu 22.04 LTS repo not found when using bootstrap script.

Open eedgar opened this issue 3 years ago • 6 comments

Description of Issue/Question

New Ubuntu 22.04 LTS released

Setup

(Please provide relevant configs (Be sure to remove sensitive info).)

Steps to Reproduce Issue

(Include debug logs if possible, bootstrap-salt.sh -D.) use ubuntu 22.04 and try to install using packages.

Versions and Systems

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

Upstream 22.04 repo not created yet. the script should either fallback to 20.04 or have the repo be created.

eedgar avatar Apr 25 '22 15:04 eedgar

yes, repo doesn't exist because no packages were done for 22.04. 22.04 was released a couple of days ago, fix to fallback to 20.04 will be merged soon

krionbsd avatar Apr 25 '22 16:04 krionbsd

@krionbsd Thanks, I figured a fix would come soon. I just wanted to report the issue, in case someone wasn't aware of it.

Thanks for the timely response.

eedgar avatar Apr 25 '22 17:04 eedgar

Temporary fix as fallback to 20.04 packages is merged into develop branch

krionbsd avatar Apr 25 '22 18:04 krionbsd

I hit this snag today, looking for a work around.

will try pulling from develop branch.

Can confirm fix made it into develop branch!

That said, I also needed to delete the following file:

rm /etc/apt/sources.list.d/salt.list

before installing the minion, running:

git clone https://github.com/saltstack/salt-bootstrap.git
cd salt-bootstrap
bash salt-boostrap.sh

working!

russellballestrini avatar Apr 30 '22 00:04 russellballestrini

It's been 3 months. When will there be 22.04 repos?

ekristen avatar Jul 21 '22 15:07 ekristen

Hey, Ubuntu 22.04 is standard since months. Why do you not provide the saltstack packages?

sbogun avatar Aug 10 '22 14:08 sbogun

Is this the sign that the free and open source version of saltstack is slowly abandonned by VMware ? I hope not.

mherrb avatar Aug 18 '22 10:08 mherrb

@mherrb No. I believe I have found the reason. Reportedly salt-master has a critical bug with Python 3.10, which comes shipped with 22.04 by default. This means we must wait for 3005 to hit stable (it is only at 3005rc2 yet) before 22.04 can be added to repo. https://github.com/saltstack/salt/issues/62202#issuecomment-1221165594

Foorack avatar Aug 19 '22 23:08 Foorack

Hey, Ubuntu 22.04 is standard since months. Why do you not provide the saltstack packages?

@sbogun Because according to this issue https://github.com/saltstack/salt/issues/62229, Salt is currently broken on 22.04. We must wait for 3005 to hit stable. Not super familiar with the inner workings of this project, but the milestone for 3005 is 98% done: https://github.com/saltstack/salt/milestone/115

Foorack avatar Aug 19 '22 23:08 Foorack

curl -Ls https://bootstrap.saltstack.com | sh /dev/stdin -FXPdq stable on ubuntu 22.04 gives me v3005 now:

Salt Version:
          Salt: 3005

Dependency Versions:
          cffi: Not Installed
      cherrypy: Not Installed
      dateutil: 2.8.1
     docker-py: Not Installed
         gitdb: Not Installed
     gitpython: Not Installed
        Jinja2: 3.0.3
       libgit2: Not Installed
      M2Crypto: Not Installed
          Mako: Not Installed
       msgpack: 1.0.3
  msgpack-pure: Not Installed
  mysql-python: Not Installed
     pycparser: Not Installed
      pycrypto: Not Installed
  pycryptodome: 3.11.0
        pygit2: Not Installed
        Python: 3.10.4 (main, Jun 29 2022, 12:14:53) [GCC 11.2.0]
  python-gnupg: 0.4.8
        PyYAML: 5.4.1
         PyZMQ: 22.3.0
         smmap: Not Installed
       timelib: Not Installed
       Tornado: 4.5.3
           ZMQ: 4.3.4

System Versions:
          dist: ubuntu 22.04 Jammy Jellyfish
        locale: utf-8
       machine: x86_64
       release: 4.15.0-147-generic
        system: Linux
       version: Ubuntu 22.04 Jammy Jellyfish

morgana2313 avatar Aug 26 '22 17:08 morgana2313

Salt 3005 has packages available for 22.04 so it's not install-able from the bootstrap script, so I'm going to close this one out.

garethgreenaway avatar Sep 15 '22 21:09 garethgreenaway

Install salt 3004.2 on Ubuntu 22.04

curl -Ls https://bootstrap.saltstack.com | sh /dev/stdin -FXPdq stable 3004.2

@morgana2313 Thx

tarcisiomiranda avatar Dec 30 '22 13:12 tarcisiomiranda