Bug 3527 - [Anolis 8.8][rc1][软件兼容性测试][aarch64]podman run命令执行出错“no image found in manifest list for architecture arm64, variant "v8", OS linux”
Summary: [Anolis 8.8][rc1][软件兼容性测试][aarch64]podman run命令执行出错“no image found in manifes...
Status: RESOLVED INVALID
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: Others (show other bugs) Others
Version: 8.8
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: Jacob
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-21 11:06 UTC by meil_wei
Modified: 2023-01-16 17:32 UTC (History)
7 users (show)

See Also:


Attachments
podman error (81.50 KB, image/png)
2023-01-13 21:21 UTC, gaochang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description meil_wei alibaba_cloud_group 2022-12-21 11:06:34 UTC
Description of problem:
podman run命令执行出错“no image found in manifest list for architecture arm64, variant "v8", OS linux”


Steps to Reproduce:
yum install -y podman
podman run -dt -p 8080:8080/tcp -e HTTPD_VAR_RUN=/run/httpd -e HTTPD_MAIN_CONF_D_PATH=/etc/httpd/conf.d -e HTTPD_MAIN_CONF_PATH=/etc/httpd/conf -e HTTPD_CONTAINER_SCRIPTS_PATH=/usr/share/container-scripts/httpd/ registry.fedoraproject.org/f29/httpd /usr/bin/run-httpd

Actual results:
命令执行报错:
Trying to pull registry.fedoraproject.org/f29/httpd:latest...
Error: choosing an image from manifest list docker://registry.fedoraproject.org/f29/httpd:latest: no image found in manifest list for architecture arm64, variant "v8", OS linux

Expected results:
命令执行成功

Additional info:
[root@localhost lest]# uname -r
5.10.134-13_rc1.an8.aarch64
[root@localhost lest]# yum -y install httpd
Last metadata expiration check: 2:06:23 ago on Wed 21 Dec 2022 08:48:12 AM CST.
All matches were filtered out by exclude filtering for argument: httpd
Error: Unable to find a match: httpd
[root@localhost lest]# uname -r
5.10.134-13_rc1.an8.aarch64
[root@localhost lest]# rpm -qa|grep 5.10.134-13_rc1.an8.aarch64
kernel-tools-libs-5.10.134-13_rc1.an8.aarch64
kernel-5.10.134-13_rc1.an8.aarch64
python3-perf-5.10.134-13_rc1.an8.aarch64
kernel-core-5.10.134-13_rc1.an8.aarch64
kernel-modules-5.10.134-13_rc1.an8.aarch64
kernel-tools-5.10.134-13_rc1.an8.aarch64
bpftool-5.10.134-13_rc1.an8.aarch64
kernel-headers-5.10.134-13_rc1.an8.aarch64
[root@localhost lest]# cat /etc/os-release
NAME="Anolis OS"
VERSION="8.8"
ID="anolis"
ID_LIKE="rhel fedora centos"
VERSION_ID="8.8"
PLATFORM_ID="platform:an8"
PRETTY_NAME="Anolis OS 8.8"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"

[root@localhost lest]# cat /proc/cmdline
BOOT_IMAGE=(hd0,gpt2)/boot/vmlinuz-5.10.134-13_rc1.an8.aarch64 root=UUID=c9ffb757-2b61-4366-9453-6abdcab8469f ro crashkernel=0M-2G:0M,2G-8G:192M,8G-:256M cryptomgr.notests cgroup.memory=nokmem rcupdate.rcu_cpu_stall_timeout=300 vring_force_dma_api rhgb quiet console=tty0 biosdevname=0 net.ifnames=0 console=ttyAMA0,115200n8 noibrs nvme_core.io_timeout=4294967295 nvme_core.admin_timeout=4294967295 cgroup.memory=nokmem iommu.passthrough=1 iommu.strict=0
[root@localhost lest]# free -g
              total        used        free      shared  buff/cache   available
Mem:             30           0          26           0           3          29
Swap:             0           0           0
[root@localhost lest]# lscpu
Architecture:        aarch64
Byte Order:          Little Endian
CPU(s):              8
On-line CPU(s) list: 0-7
Thread(s) per core:  1
Core(s) per cluster: 8
Socket(s):           1
Cluster(s):          1
NUMA node(s):        1
Vendor ID:           ARM
BIOS Vendor ID:      Alibaba Cloud
Model:               1
Model name:          Neoverse-N1
BIOS Model name:     virt-rhel7.6.0
Stepping:            r3p1
BogoMIPS:            50.00
NUMA node0 CPU(s):   0-7
Flags:               fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp ssbs
[root@localhost lest]#
Comment 1 gaochang alibaba_cloud_group 2023-01-13 21:21:32 UTC
Created attachment 599 [details]
podman error

并非bug,这个fedora 的docker reg 的manifest 列表中没有arm镜像,也就是说fedora 的httpd docker 仅支持x86,不支持arm。请更换docker reg 进行测试
该问题与anolis 无关
Comment 2 gaochang alibaba_cloud_group 2023-01-13 21:22:31 UTC
非 Anolis 问题