OCI: LP should use "ppc64le" for image manifests
Bug #1930094 reported by
Sergio Durigan Junior
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Colin Watson |
Bug Description
Our CI caught a problem with our ppc64el images, and after some investigation I noticed that the manifests for these images are being generated with "ppc64el" as one of the supported architectures. The problem is that docker doesn't recognize this arch; it expects to find "ppc64le".
More info about the supported architectures strings can be found here:
https:/
(look for "$GOOS and $GOARCH")
LP should generate the correct architecture in the manifest so that "docker pull" can work correctly on ppc64el. I'm attaching an untested patch that should address this problem.
Thanks!
Related branches
~cjwatson/launchpad:oci-arch-compat
Merged
into
launchpad:master
- Cristian Gonzalez (community): Approve
-
Diff: 248 lines (+108/-38)2 files modifiedlib/lp/oci/model/ociregistryclient.py (+39/-12)
lib/lp/oci/tests/test_ociregistryclient.py (+69/-26)
tags: | added: lp-oci |
Changed in launchpad: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in launchpad: | |
status: | Triaged → In Progress |
assignee: | nobody → Colin Watson (cjwatson) |
Changed in launchpad: | |
status: | In Progress → Fix Committed |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The patch I posted obviously doesn't take into account other architectures that might be affected as well.