-
Notifications
You must be signed in to change notification settings - Fork 552
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
Enable install from broadcom repos for Suse #2063
Comments
@jeff350 Amazed to see Have changes already underway for supporting Salt on Suse, and made the decision to go with the saltproject packages only, given that the SUSE provided packages are very old, and there have been CVE updates to the salt-minion since 3006.0/3006.1 have been released. Current PR is #2066, but given no SUSE containers in the new Salt pipelines, will be doing the testing by hand. Testing against current SUSE SLES 15sp6, and opensuse leap 15.6 (16.0 could not find iso to install), current opensuse tumbleweed was too unstable in VM. |
@jeff350 Running into issues getting containers with systemd to work (docker and podman), and can only use VirtualBox VMs at home (locked down network in the office). If you could run through the added support for using Salt Project packages in PR #2066, that would be helpful. Will try at home over the weekend too. Note: the bootstrap-script tests for systemd support and fails if not available, since rely on systemd to stop/start/status of salt-minion etc. The old classic packaging support for /etc/init.d is missing with the onedir architecture, an item for discussion within the team, but have to deal with what is already released. Note: the containers used as part of the new CI/CD on GitHub pipeline have systemd support, but SUSE are not part of those containers, since SUSE did their own packaging. Something to be discussed in the future but unlikely to be resolved till after the Christmas break at this point. |
@jeff350 So found a way to bring up the VM's at work and opensuse leap 15.6 work fine, except for one problem, it look like SUSE is old and doesn't allow for 'exclude' statements in repo files, so getting 3007.1 regardless. Had similar issue on Photon, so will port those changes to also apply with SUSE. SLES 15 VM is having issues with dependencies, need to add some functions for 'sled', C & P from opensuse should fix that. |
@dmurphy18 I was able to verify that it installed the salt-minion correctly on:
I did this with the commands:
I don't know how this was done with Photon but locking with zypper is always an option. I looked at this when I was creating instructions for the salt install guide saltstack/salt-install-guide#14 |
@jeff350 Thanks for that, fixed SUSE 15 and hand testing that right now, was trying what worked for Photon, but will update with |
I am seeing that the versioned installs now works and I am able to install I would also recommend ensuring I am still seeing an issue installing with git but this looks like it is related to using an older python (3.6) on SLES 15.5 and 15.6. That may need to specify a newer python package to be used for git installs. This should be able to be solved by defaulting PV to 3.11 for SUSE Git installs and ensuring the packages
But this looks good to me for doing 3006 and 3007 installs on SUSE leap 15.5 and 15.6. |
Will release, without adding gawk, since SLES 15 has issues if try including it, also number of issues with various dependencies with, for example
So some dependencies resolution for SLES 15 to be done, and as for git, tried various, git-core, git etc. even though I can see them in zypper repositories. But as you said, Python 3.6, so long EOL, must say I am sad to see SUSE not keeping up to date. |
@jeff350 Released v2024.12.09 , see https://github.com/saltstack/salt-bootstrap/releases/latest/download/bootstrap-salt.sh |
Description of Issue/Question
Currently salt bootstrap only supports installing from the upstream SUSE repos, however only 3006.0 is available in these repos. given that the new bradcom repos are generic rpms they can be used to install the current versions on suse. see this PR for a tested version of how the repos can be used for suse saltstack/salt-install-guide#14.
The saltstack formulas teams uses the bootstrap script to build our test containers. Having to bootstrap script support installing the latest version from the salt repos would better allow us to test the formulas.
Before I start on a PR I would like input on how this change should be made. Should the bootstrap support both the Suse repos and salt repo or just the salt repo?
Setup
Spin up suse container of your choice:
Running the install command
sh bootstrap-salt.sh -D stable
the latest stable release is expected to be installed, 3006.9. however 3006.0 is installed from the SUSE repos.Steps to Reproduce Issue
leap:15.5:
The text was updated successfully, but these errors were encountered: