saltstack/salt-bootstrap

[BUG] Not able to install salt for Rocky Linux 8 ARM OS

vanshikw opened this issue · 1 comments

Hi,

I am trying to install salt for Rocky Linux 8 ARM OS by following steps:

curl -L https://bootstrap.saltstack.com -o bootstrap_salt.sh
sudo sh bootstrap_salt.sh

But getting error:
[rocky@ip-10-80-170-231 ~]$ sudo sh bootstrap_salt.sh

  • INFO: Running version: 2023.04.21

  • INFO: Executed by: sh

  • INFO: Command line: 'bootstrap_salt.sh '

  • WARN: Running the unstable version of bootstrap-salt.sh

  • INFO: System Information:

  • INFO: CPU:

  • INFO: CPU Arch: aarch64

  • INFO: OS Name: Linux

  • INFO: OS Version: 4.18.0-425.3.1.el8.aarch64

  • INFO: Distribution: Rocky Linux 8.7

  • INFO: Installing minion

  • INFO: Found function install_rocky_linux_onedir_deps

  • INFO: Found function config_salt

  • INFO: Found function preseed_master

  • INFO: Found function install_rocky_linux_onedir

  • INFO: Found function install_rocky_linux_onedir_post

  • INFO: Found function install_rocky_linux_restart_daemons

  • INFO: Found function daemons_running_onedir

  • INFO: Found function install_rocky_linux_check_services

  • INFO: Running install_rocky_linux_onedir_deps()

  • ERROR: https://repo.saltproject.io/salt/py3/redhat/8/aarch64/latest/SALT-PROJECT-GPG-PUBKEY-2023.pub failed to download to /tmp/salt-gpg-RJrowQZU.pub

  • ERROR: Failed to run install_rocky_linux_onedir_deps()!!!

I also tried installing salt by the steps given https://docs.saltproject.io/salt/install-guide/en/latest/topics/install-by-operating-system/rhel.html for rhel 8 and replaced x86_64 with arm64 but it did not work and throwed below error:

[rocky@ip-10-80-170-231 ~]$ sudo rpm --import https://repo.saltproject.io/salt/py3/redhat/8/arm64/SALT-PROJECT-GPG-PUBKEY-2023.pub
[rocky@ip-10-80-170-231 ~]$ curl -fsSL https://repo.saltproject.io/salt/py3/redhat/8/arm64/latest.repo | sudo tee /etc/yum.repos.d/salt.repo
[salt-repo]
name=Salt repo for RHEL/CentOS 8 PY3
baseurl=https://repo.saltproject.io/salt/py3/redhat/8/arm64/latest
skip_if_unavailable=True
priority=10
enabled=1
enabled_metadata=1
gpgcheck=1
gpgkey=https://repo.saltproject.io/salt/py3/redhat/8/arm64/latest/SALT-PROJECT-GPG-PUBKEY-2023.pub
[rocky@ip-10-80-170-231 ~]$ sudo yum clean expire-cache
Cache was expired
0 files removed
[rocky@ip-10-80-170-231 ~]$ sudo yum install salt-minion
Salt repo for RHEL/CentOS 8 PY3 164 kB/s | 42 kB 00:00
Rocky Linux 8 - AppStream 461 B/s | 4.8 kB 00:10
Rocky Linux 8 - AppStream 895 kB/s | 9.4 MB 00:10
Rocky Linux 8 - BaseOS 0.0 B/s | 0 B 00:14
Error: Failed to download metadata for repo 'baseos': repomd.xml parser error: Parse error at line: 1 (Extra content at the end of the document
)

I am also trying to install salt-minion like below but getting error:

[root@ip-10-80-170-231 etc]# sudo yum install salt-minion
SaltStack latest Release Channel for RHEL/CentOS 8 2.2 kB/s | 323 B 00:00
Errors during downloading metadata for repository 'saltstack':

Is there some bug while installing salt and salt-minion for Rocky Linux 8 ARM? Or is it not supported?

Hi there! Welcome to the Salt Community! Thank you for making your first contribution. We have a lengthy process for issues and PRs. Someone from the Core Team will follow up as soon as possible. In the meantime, here’s some information that may help as you continue your Salt journey.
Please be sure to review our Code of Conduct. Also, check out some of our community resources including:

There are lots of ways to get involved in our community. Every month, there are around a dozen opportunities to meet with other contributors and the Salt Core team and collaborate in real time. The best way to keep track is by subscribing to the Salt Community Events Calendar.
If you have additional questions, email us at saltproject@vmware.com. We’re glad you’ve joined our community and look forward to doing awesome things with you!