I have ubuntu 20.04 running on my machine and basically I just wanted to raise my hand and said I'd be willing to beta test salt on this. I would like to upgrade my servers rather sooner than later due to the built-in python3.8 which is gonna be just awesome for my company so I'm also eager to get salt up and running.
I tried the bionic
repo from https://repo.saltstack.com/#ubuntu and straight of, many or most of the grains.items
were missing.
Either way - I would like to offer my testing capabilities but wasn't sure where to go with this other than write a ticket. Hope this is an okay place
Cheers
@andreasnuesslein See #55310
You can try to build your own deb packages, see: https://salsa.debian.org/salt-team/salt/-/tree/master/debian those packages have patches for python 3.8.
I'm using it on ubuntu 20.04 for a month without any problems.
Built packages for testing:
sudo curl -sL -o /etc/apt/trusted.gpg.d/morph027-salt.asc https://minio.morph027.de/salt-3000-focal/gpg.key
echo "deb https://minio.morph027.de/salt-3000-focal focal main" | sudo tee /etc/apt/sources.list.d/morph027-salt-3000-focal.list
Ubuntu 20.04 is due to be released tomorrow (April 23rd) and is an LTS release, so would be good to get packages on the official repo as soon as possible...
@lblasc Does your patched version include a fix for for the platform._supported_dists
bug discussed in #55310 ? To the best of my knowledge, it is (1) unfixed here and (2) crashes even the the most basic salt
workflows on 3.8.
I haven't experienced any issues so far. If it matters I'm using older release, 2019.2.3+dfsg1-2.
Testing 2019.2 too right now:
sudo curl -sL -o /etc/apt/trusted.gpg.d/morph027-salt.asc https://minio.morph027.de/salt/20.04/amd64/2019.2/SALTSTACK-GPG-KEY.pub
echo "deb https://minio.morph027.de/salt/20.04/amd64/2019.2 focal main" | sudo tee /etc/apt/sources.list.d/morph027-salt-focal.list
@andreasnuesslein
Thank you for your comment.
For current time we don't support python 3.8. Please wait for updates.
You can tracking status of #55310 issue.
Thanks everybody for the input - obviously I can build packages myself. But I was talking about a sort of beta-repo which I could just try and say "yea this and that is still failing on my end".
Anyways - thanks @alexey-zhukovin I will just track the py3.8 issue for now. :)
Maybe https://github.com/saltstack/salt-bin can be used to provide a package for the minion on focal?
also for folks deploying via salt-cloud you can build the packages and use the following script to install them. script should be dropped into /usr/lib/python3/dist-packages/salt/cloud/deploy/Ubuntu-2004.sh
```#!/bin/bash
mkdir -p /etc/salt/pki
echo '{{ vm['priv_key'] }}' > /etc/salt/pki/minion.pem
echo '{{ vm['pub_key'] }}' > /etc/salt/pki/minion.pub
cat > /etc/salt/minion <
EOF
lsb_release -sc
main | tee /etc/apt/sources.list.d/saltstack.listapt-get update
cd /tmp
wget -q "http://$HTTPSRC/salt-minion.deb"
wget -q "http://$HTTPSRC/salt-common.deb"
apt-get -y install python3-dateutil python3-msgpack python3-psutil python3-crypto python3-zmq dctrl-tools python3-zmq dctrl-tools bsdmainutils dmidecode debconf-utils
dpkg --force-confold -i salt-common.deb
dpkg --force-confold -i salt-minion.deb
service salt-minion restart
```
You'll also need to add
script: Ubuntu-2004
to your cloud-profile for deploy
Salt 3001 released. Ubuntu 20.04 now supported.
https://docs.saltstack.com/en/master/topics/releases/3001.html
Most helpful comment
Ubuntu 20.04 is due to be released tomorrow (April 23rd) and is an LTS release, so would be good to get packages on the official repo as soon as possible...