#10086 Container image build fails for aarch64
Closed: Fixed 2 years ago by mobrien. Opened 2 years ago by ogutierrez.

Describe what you would like us to do:

Take a look to the aarch64 build system because it is failing to build container images

More info in:
https://pagure.io/ContainerSIG/container-sig/issue/51#comment-742637

Build info:
[oliver@t480s fedora-toolbox]$ fedpkg container-build
Created task: 71583355
Task info: https://koji.fedoraproject.org/koji/taskinfo?taskID=71583355
Watching tasks (this may be safely interrupted)...
71583355 malformed task: free
71583355 malformed task: free -> open (buildvm-x86-01.iad2.fedoraproject.org)
71583355 malformed task: open (buildvm-x86-01.iad2.fedoraproject.org) -> FAILED: Fault: <Fault 2001: 'Image build failed. Error in plugin orchestrate_build: {"aarch64": {"general": "Could not find appropriate cluster for worker build."}}. OSBS build id: fedora-toolbox-rawhide-342e8-21'>
0 free 0 open 0 done 1 failed

When do you need this to be done by? (YYYY/MM/DD)

As soon, as you can.


So, I fixed a number of issues (or worked around them):

  • There's some packages the osbs-aarch64 cluster playbook tries to install that no longer exist. I commented them out for now.

  • There's a selinux problem in f33:

type=AVC msg=audit(1625877682.003:11470): avc: denied { open } for pid=1159 comm="dockerd" path="/dev/dma_heap" dev="devtmpfs" ino=122 scontext=system_u:system_r:container_runtime_t:s0 tcontext=system_u:object_r:dma_device_t:s0 tclass=dir permissive=1

put them in permissive for now to sort out.

  • After all that it can't pull images to start the registry:

Jul 10 01:04:01 osbs-aarch64-node01.iad2.fedoraproject.org origin-node[1962614]: E0710 01:04:01.993126 1962614 remote_i
mage.go:108] PullImage "quay.io/multi-arch/openshift3-ose-deployer:v3.11" from image service failed: rpc error: code =
Unknown desc = Error response from daemon: unauthorized: access to the requested resource is not authorized

and indeed, quay.io/multi-arch/openshift3-ose-deployer:v3.11 no longer seems to exist. ;(

So, I am out of ideas... @mobrien or @dkirwan can you take a look?

Metadata Update from @asaleh:
- Issue tagged with: medium-gain, medium-trouble, ops

2 years ago

Metadata Update from @mobrien:
- Issue assigned to mobrien

2 years ago

This worked yesterday and I successfuly built the images.

I ran this task successfully https://koji.fedoraproject.org/koji/taskinfo?taskID=71767153

I guess there may have been an intermittent problem with quay.io or something similar. Please reopen if it happens again.

Metadata Update from @mobrien:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata
Boards 1
ops Status: Done