Composing a customized image using composer-cli does not work on AlmaLinux 8.6 due to a mismatching of RRM package name

Hi,

I tried to compose a customized image by following [1]
But it did not work on AlmaLinux 8.6 [2]

When composing an image, libreport-rhel-anaconda-bugzilla.x86_64 seems to be required, however this does not exist on the AlmaLinux8.6 repositories [2]

I also tried this on RockyLinux 8.6 and confirmed that it worked with the same procedure on RockyLinux 8.6 [3]

Thanks,
Shigehiro

[1] Procedures

# dnf install osbuild-composer composer-cli cockpit-composer bash-completion
# systemctl enable --now osbuild-composer.socket
# systemctl enable --now cockpit.socket

# composer-cli blueprints push example-custom-base.toml
# composer-cli blueprints depsolve example-custom-base 
# composer-cli compose start example-custom-base image-installer 
# sed s/ssh-rsa.*/"ssh key"/ example-custom-base.toml 
name = "example-custom-base"
description = "A base system with customizations"
version = "0.0.1"

[[packages]]
name = "bash"
version = "*"

[customizations]
hostname = "custombase"

[[customizations.sshkey]]
user = "root"
key = "ssh key

[2] AlmaLinux 8.6

[root@lab04-alma01 ~]# cat /etc/almalinux-release
AlmaLinux release 8.6 (Sky Tiger)

[root@lab04-alma01 ~]# uname -ri
4.18.0-372.19.1.el8_6.x86_64 x86_64

[root@lab04-alma01 ~]# rpm -qa|grep compose
osbuild-composer-dnf-json-46.3-1.el8_6.alma.x86_64
osbuild-composer-worker-46.3-1.el8_6.alma.x86_64
osbuild-composer-46.3-1.el8_6.alma.x86_64
osbuild-composer-core-46.3-1.el8_6.alma.x86_64
cockpit-composer-36-1.el8.noarch
[root@lab04-alma01 ~]# 

error message

[root@lab04-alma01 ~]# composer-cli compose start example-custom-base image-installer 
ERROR: DepsolveError: DNF error occured: MarkingErrors: Error occurred when marking packages for installation: Problems in request:
missing packages: libreport-rhel-anaconda-bugzilla
[root@lab04-alma01 ~]# dnf list available libreport-rhel-anaconda-bugzilla
Last metadata expiration check: 0:56:56 ago on Thu 08 Sep 2022 02:28:28 PM UTC.
Error: No matching Packages to list
[root@lab04-alma01 ~]# 

[root@lab04-alma01 ~]# dnf search libreport
Last metadata expiration check: 0:16:39 ago on Thu 08 Sep 2022 02:28:28 PM UTC.
================================================================== Name Exactly Matched: libreport ===================================================================
libreport.i686 : Generic library for reporting various problems
libreport.x86_64 : Generic library for reporting various problems
================================================================= Name & Summary Matched: libreport ==================================================================
libreport-almalinux.x86_64 : libreport's AlmaLinux Bug Tracker workflow
libreport-cli.x86_64 : libreport's command line interface
libreport-filesystem.x86_64 : Filesystem layout for libreport
libreport-gtk.i686 : GTK front-end for libreport
libreport-gtk.x86_64 : GTK front-end for libreport
libreport-newt.x86_64 : libreport's newt interface
libreport-plugin-bugzilla.x86_64 : libreport's bugzilla plugin
libreport-plugin-kerneloops.x86_64 : libreport's kerneloops reporter plugin
libreport-plugin-logger.x86_64 : libreport's logger reporter plugin
libreport-plugin-mailx.x86_64 : libreport's mailx reporter plugin
libreport-plugin-mantisbt.x86_64 : libreport's mantisbt plugin
libreport-plugin-reportuploader.x86_64 : libreport's reportuploader plugin
libreport-plugin-ureport.x86_64 : libreport's micro report plugin
libreport-web.i686 : Library providing network API for libreport
libreport-web.x86_64 : Library providing network API for libreport
====================================================================== Name Matched: libreport =======================================================================
libreport-anaconda.x86_64 : Default configuration for reporting anaconda bugs
python3-libreport.x86_64 : Python 3 bindings for report-libs
[root@lab04-alma01 ~]# 

[root@lab04-alma01 ~]# dnf search libreport |grep -c rhel
Last metadata expiration check: 0:16:50 ago on Thu 08 Sep 2022 02:28:28 PM UTC.
0
[root@lab04-alma01 ~]# 

[3] RockyLinux8.6

[root@lab03-rocky01 ~]# cat /etc/rocky-release
Rocky Linux release 8.6 (Green Obsidian)

[root@lab03-rocky01 ~]# uname -ri
4.18.0-372.13.1.el8_6.x86_64 x86_64

[root@lab03-rocky01 ~]# rpm -qa |grep compose
osbuild-composer-46.3-1.el8_6.rocky.0.2.x86_64
osbuild-composer-dnf-json-46.3-1.el8_6.rocky.0.2.x86_64
osbuild-composer-worker-46.3-1.el8_6.rocky.0.2.x86_64
cockpit-composer-36-1.el8.noarch
osbuild-composer-core-46.3-1.el8_6.rocky.0.2.x86_64
[root@lab03-rocky01 ~]#

[root@lab03-rocky01 ~]# composer-cli compose start example-custom-base image-installer 
Compose 3f2fbca3-2ddb-4c6d-9d12-c66c180999d7 added to the queue

[root@lab03-rocky01 ~]# composer-cli compose status
3f2fbca3-2ddb-4c6d-9d12-c66c180999d7 RUNNING  Thu Sep 8 14:40:25 2022 example-custom-base 0.0.1 image-installer  

[root@lab03-rocky01 ~]# composer-cli compose log 3f2fbca3-2ddb-4c6d-9d12-c66c180999d7
Build 3f2fbca3-2ddb-4c6d-9d12-c66c180999d7 is still running.

[root@lab03-rocky01 ~]# composer-cli compose log 3f2fbca3-2ddb-4c6d-9d12-c66c180999d7 |grep libreport-rhel-anaconda-bugzilla
libreport-rhel-anaconda-bugzilla-2.9.5-15.el8.rocky.6.3.x86_64

[root@lab03-rocky01 ~]# dnf list available libreport-rhel-anaconda-bugzilla
Last metadata expiration check: 1:00:45 ago on Thu 08 Sep 2022 02:04:50 PM UTC.
Available Packages
libreport-rhel-anaconda-bugzilla.x86_64                                                2.9.5-15.el8.rocky.6.3                                                appstream
[root@lab03-rocky01 ~]# 

[root@lab03-rocky01 ~]# dnf search libreport |grep rhel
Last metadata expiration check: 1:31:47 ago on Thu 08 Sep 2022 02:04:50 PM UTC.
libreport-rhel.x86_64 : Default configuration for reporting bugs via Red Hat infrastructure
libreport-rhel-anaconda-bugzilla.x86_64 : Default configuration for reporting anaconda bugs to Red Hat Bugzilla
libreport-rhel-bugzilla.x86_64 : Default configuration for reporting bugs to Red Hat Bugzilla
[root@lab03-rocky01 ~]#