Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Provide arm64 OBS images #195

Closed
jodh-intel opened this issue Sep 27, 2018 · 14 comments
Closed

Provide arm64 OBS images #195

jodh-intel opened this issue Sep 27, 2018 · 14 comments
Labels
high-priority Very urgent issue (resolve quickly)

Comments

@jodh-intel
Copy link
Contributor

For parity with x86_64 and #118, we should provide arm64 distro packages too.

@bilang
Copy link

bilang commented Sep 27, 2018

:)

@nitkon
Copy link
Contributor

nitkon commented Sep 27, 2018

: )

@Pennyzct
Copy link
Contributor

Hi~ @jodh-intel, do you plan to or already be working on this issue? Just got back from a loooooong leave, so sorry for other non-responded arm issues. 😥😟

@jodh-intel
Copy link
Contributor Author

Hi @Pennyzct - I just raised this for tracking, but don't have access to any arm systems I'm afraid. If you'd like to volunteer, just let us know ;)

@Pennyzct
Copy link
Contributor

Hi @jodh-intel happy to volunteer and update the process asap ;) @Weichen81 @hejianet

@jodh-intel
Copy link
Contributor Author

Hi @Pennyzct - thanks very much - it's all yours! 😄

You may have seen this thread on the ML:

I'm sure @marcov, @nitkon and @jcvenegas can help out with any question you have about OBS architecture-specific issues.

@marcov
Copy link
Contributor

marcov commented Oct 12, 2018

Hi @Pennyzct, we recently opened a new issue to track the process of building for different architectures.

I just sent a new answer to the ML with the next activities planned: http://lists.katacontainers.io/pipermail/kata-dev/2018-October/000507.html
Are you interested in working on any on those?
(btw, I just realized my email client sucks with HTML emails).

To start experimenting, you could set up a new home project on OBS, or have @jcvenegas create a new one under home:katacontainers. This is e.g. what is doing @nitkon for ppc64le and it's a short term solutions to have packages building for different archs.

@Weichen81
Copy link
Contributor

; ) +1 @Pennyzct @jodh-intel

@Pennyzct
Copy link
Contributor

Hi~@marcov I'm pretty a newbie to OBS. i was trying to set up a new home project home:penny:branches:home:katacontainers:release/runtime following the katacointainers project, am i in a right path?
then i'm trying to edit arch info through osc meta prj and osc build to see if it works properly.

@jodh-intel
Copy link
Contributor Author

I wonder if it's worth putting some notes on the process for adding support for a new architecture to the OBS Kata project. It doesn't need to be a formal doc and could live in a wiki maybe? :)

@marcov
Copy link
Contributor

marcov commented Oct 15, 2018

Hi~@marcov I'm pretty a newbie to OBS. i was trying to set up a new home project home:penny:branches:home:katacontainers:release/runtime following the katacointainers project, am i in a right path?

Hi @Pennyzct, that project path is fine, although if you like, when branching you can give it a shorter/simpler name.
(does not need to contain branches:home:katacontainers:release).

Note that home:katacontainers:releases:x86_64:master is updated more often than release, so you may want to branch from that.

then i'm trying to edit arch info through osc meta prj and osc build to see if it works properly.

osc meta prj: sounds good (with the -e option), just fyi you could also use the web ui for setting repositories/architectures.

osc build: without any other options, this will build for aarch64 only if your host is a aarch64 too.


Would you be interested in working on Ubuntu build rules?

If so:

  1. you'll need to add this repository Ubuntu:18.04:Ports. These are the packages available: https://build.opensuse.org/project/meta/Ubuntu:18.04:Ports . As you see there are multiple repositories there (standard, universe,update).
  2. you'll need to change build rules for deb (debian.* files) so that the golang package in the Ubuntu repository is used instead of the binary copy in the packages sources.

@Weichen81
Copy link
Contributor

@jodh-intel About the OBS, we may need to pass some legal issue, and @Pennyzct will attend OSSEU next week to delivery a talk, so she may need sometime to start the OBS work. She is rehearsing the presentation hard ; )

@jodh-intel
Copy link
Contributor Author

Hi @Weichen81 - thanks for the update. Sounds like we need a volunteer with ARM skills :)

@jodh-intel jodh-intel added the high-priority Very urgent issue (resolve quickly) label Jan 23, 2019
jcvenegas pushed a commit that referenced this issue Jul 2, 2019
Skip installation of docker and kata packages when the environment
variable KATA_DEV_MODE is not empty, as a dev system may be using
a non standard setup.

Fixes: #195

Signed-off-by: Marco Vedovati <mvedovati@suse.com>
@Pennyzct
Copy link
Contributor

Pennyzct commented Apr 24, 2020

Hi guys
We're working on the OBS issue now and I'm trying to follow the instruction here. Hope I'm in the right direction.
Here is the thing, I got errors as follows:

$ LOCAL="1" OBS_SUBPROJECT="aarch64:alpha" ./build_all.sh  master
======= Updating qemu-vanilla =======
home:katacontainers:aarch64:alpha/qemu-vanilla
Server returned an error: HTTP Error 404: Not Found
Error getting meta for project 'home%3Akatacontainers%3Aaarch64%3Aalpha' package 'qemu-vanilla'
home:katacontainers:aarch64:alpha
ERROR: failed to checkout:makeurl: https://api.opensuse.org ['source', 'home%3Akatacontainers%3Aaarch64%3Aalpha', 'qemu-vanilla', '_meta'] {}

Do I need to acquire some authentications/privileges here? 😵😵😵 or I just went the wrong path😂

cc @stevecapperarm

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
high-priority Very urgent issue (resolve quickly)
Projects
None yet
Development

No branches or pull requests

6 participants