Salt-bootstrap: Installing Salt on Amazon Linux 2 ARM

Created on 23 Dec 2019  路  6Comments  路  Source: saltstack/salt-bootstrap

Description of Issue/Question

Unable to install salt on Amazon Linux 2 ARM64. This issue seems to be because there's no compile packages for amazon linux https://repo.saltstack.com/yum/amazon/2/

Setup

None

Steps to Reproduce Issue

Run curl -L https://bootstrap.saltstack.com | sudo sh -s -- "$@" git develop

Versions and Systems

# uname -r
4.14.152-127.182.amzn2.aarch64
Feature

Most helpful comment

@bryceml is there anything AWS can do to help, like providing access to Graviton2 based instances ? Or patches to your build pipelines?

All 6 comments

Is there any plan to support the amazon arm platform in the near future?

We would like to, not sure when that will happen.
Ubuntu 20.04 and Debian 10 all their dependencies provided by the os, so you can point to the amd64 repos and just use them since the dependencies are all there

It would be something like

deb [arch=amd64] https://repo.saltproject.io/py3/debian/10/amd64/latest buster main

in your repo file. This works because there are only architecture independent packages in the repos for those 2.

Centos/Rhel have some dependencies provided by us or by epel. Amazon Linux has the most dependencies that are provided by us so it will be the hardest one to support.

When we move to tiamat based packages, it should be much easier to provide support for arm64. We aren't currently packaging arm64 versions of the tiamat based packages yet but would like to as soon as we can.

We also ran into this problem and would like to be able to bootstrap the graviton based EC2 instance types (c6g, m6g, etc) when running Amazon Linux 2.

When we move to tiamat based packages, it should be much easier to provide support for arm64. We aren't currently packaging arm64 versions of the tiamat based packages yet but would like to as soon as we can.

Are there any issues for this progress that I can follow somewhere?

@bryceml is there anything AWS can do to help, like providing access to Graviton2 based instances ? Or patches to your build pipelines?

@bryceml is there anything AWS can do to help, like providing access to Graviton2 based instances ? Or patches to your build pipelines?

One thing that would make it easier is if amazon linux itself provided rpms for all of the dependencies of salt: https://repo.saltproject.io/py3/amazon/2/x86_64/latest/

Amazon linux by far has the most dependencies that we have to build ourselves. It appears that only python3.7 is in the amazon linux repos, and no other python packages.

We also could have easily used the python3.6 rpms from epel if amazon linux had stayed on python3.6 and stayed compatible with the epel packages as well.

We are planning to start testing on m6g.large instances.

We also ran into this problem and would like to be able to bootstrap the graviton based EC2 instance types (c6g, m6g, etc) when running Amazon Linux 2.

When we move to tiamat based packages, it should be much easier to provide support for arm64. We aren't currently packaging arm64 versions of the tiamat based packages yet but would like to as soon as we can.

Are there any issues for this progress that I can follow somewhere?

https://gitlab.com/saltstack/open/salt-pkg/-/issues

with https://gitlab.com/saltstack/open/salt-pkg/-/issues/1 and https://gitlab.com/saltstack/open/salt-pkg/-/issues/29 being major blockers.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yitzhakbg picture yitzhakbg  路  7Comments

ymasson picture ymasson  路  3Comments

afletch picture afletch  路  9Comments

ninja- picture ninja-  路  15Comments

speedlight picture speedlight  路  9Comments