Skip to content
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

Multi-arch support (ARM) #270

Open
k-rister opened this issue Dec 6, 2022 · 4 comments · Fixed by #287
Open

Multi-arch support (ARM) #270

k-rister opened this issue Dec 6, 2022 · 4 comments · Fixed by #287
Assignees
Labels
enhancement New feature or request

Comments

@k-rister
Copy link
Contributor

k-rister commented Dec 6, 2022

No description provided.

@tc-wilson
Copy link

Step 1 - Manual Enablement of build-controller.sh

yum install cpan
cpan JSON
cpan Coro
cpan JSON::Validator
cpan Data::UUID

Change the elasticsearch RPM arch from x86_64 to aarch64 in /opt/crucible/workshop/controller-workshop.json

Then build-controller.sh will run to completion

@tc-wilson
Copy link

We can use repos to install Elasticsearch if we like.

[root@arm2 yum.repos.d]# cat elasticsearch.repo
[elasticsearch]
name=Elasticsearch repository for 7.x packages
baseurl=https://artifacts.elastic.co/packages/7.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=0
autorefresh=1
type=rpm-md
[root@arm2 yum.repos.d]#
[root@arm2 yum.repos.d]# yum install --enablerepo=elasticsearch elasticsearch
Updating Subscription Management repositories.
Elasticsearch repository for 7.x packages                                                              33 MB/s |  48 MB     00:01
Last metadata expiration check: 0:00:11 ago on Thu 26 Jan 2023 09:45:14 AM EST.
Package elasticsearch-7.17.6-1.aarch64 is already installed.
Dependencies resolved.
======================================================================================================================================
 Package                           Architecture                Version                        Repository                         Size
======================================================================================================================================
Upgrading:
 elasticsearch                     aarch64                     7.17.8-1                       elasticsearch                     299 M

Transaction Summary
======================================================================================================================================
Upgrade  1 Package

Total download size: 299 M
Is this ok [y/N]: n
Operation aborted.
[root@arm2 yum.repos.d]#

@tc-wilson
Copy link

Images do seem to understand arch differences when built on different arch machines...

[root@arm2 workshop]# podman image inspect fedora36_crucible-controller | grep Architecture "Architecture": "arm64", [root@arm2 workshop]#

[root@dhcp31-122 workshop]# podman image inspect fedora36_crucible-controller | grep Architecture "Architecture": "amd64", [root@dhcp31-122 workshop]#

@k-rister k-rister linked a pull request Feb 14, 2023 that will close this issue
@k-rister k-rister reopened this Feb 15, 2023
@k-rister k-rister added the enhancement New feature or request label Jan 18, 2024
@atheurer
Copy link
Contributor

atheurer commented Mar 6, 2024

The next phase of this work is to support mixed-arch test-beds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

Successfully merging a pull request may close this issue.

3 participants