Hi Wodel,

I think you need to fix DIB element files to build a guest image as CentOS Stream. Officially supported operating system in Trove is currently Ubuntu[1]. I am preparing Installation instructions Fedora/CentOS Stream users[2]  but that is not completed.

You may not really need to build a guest image as CentOS Stream if you are a mysql or postgresql user, because Trove supports Docker Since Victoria. This means database service can runs as docker container inside the Trove instance. You can define the datastore image by using the "docker_image" config option[4].

---
[1]: https://docs.openstack.org/trove/latest/admin/building_guest_images.html
[2]: https://storyboard.openstack.org/#!/story/2009918
[3]: https://opendev.org/openstack/trove/src/branch/master/integration/scripts/files/elements
[4]: https://docs.openstack.org/trove/latest/admin/run_trove_in_production.html#configure-trove-guest-agent

Regards,
Hirotaka
On Wednesday, April 13, 2022, 10:04:53 PM GMT+9, <openstack-discuss-request@lists.openstack.org> wrote:


Send openstack-discuss mailing list submissions to
    openstack-discuss@lists.openstack.org

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-discuss
or, via email, send a message with subject or body 'help' to
    openstack-discuss-request@lists.openstack.org

You can reach the person managing the list at
    openstack-discuss-owner@lists.openstack.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of openstack-discuss digest..."


Today's Topics:

  1. [Trove][Xena] Error building Trove image (wodel youchi)


----------------------------------------------------------------------

Message: 1
Date: Wed, 13 Apr 2022 00:16:59 +0100
From: wodel youchi <wodel.youchi@gmail.com>
To: OpenStack Discuss <openstack-discuss@lists.openstack.org>
Subject: [Trove][Xena] Error building Trove image
Message-ID:
    <CAJV_UBCZVOKmjvwdDJW0w17g39L8MVHuZNOQJ7yH2DZNFnqZbA@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi,
When trying to build Trove I am getting this error message :

2022-04-10 08:55:25.497 | *+ install_deb_packages install
iscsi-initiator-utils*
2022-04-10 08:55:25.497 | + DEBIAN_FRONTEND=noninteractive
2022-04-10 08:55:25.497 | + http_proxy=
2022-04-10 08:55:25.497 | + https_proxy=
2022-04-10 08:55:25.497 | + no_proxy=
2022-04-10 08:55:25.497 | + apt-get --option
Dpkg::Options::=--force-confold --option Dpkg::Options::=--force-confdef
--assume-yes install iscsi-initiator-utils
2022-04-10 08:55:25.541 | Reading package lists...
2022-04-10 08:55:25.788 | Building dependency tree...
2022-04-10 08:55:25.788 | Reading state information...
2022-04-10 08:55:25.825 | *E: Unable to locate package
iscsi-initiator-utils*
2022-04-10 08:55:25.838 | ++
diskimage_builder/lib/img-functions:run_in_target:59
      :  check_break after-error run_in_target bash
2022-04-10 08:55:25.843 | ++
diskimage_builder/lib/common-functions:check_break:143
      :  echo ''
2022-04-10 08:55:25.844 | ++
diskimage_builder/lib/common-functions:check_break:143
      :  egrep -e '(,|^)after-error(,|$)' -q
2022-04-10 08:55:25.851 | +
diskimage_builder/lib/img-functions:run_in_target:1
    :  trap_cleanup
2022-04-10 08:55:25.855 | +
diskimage_builder/lib/img-functions:trap_cleanup:36

I am not an Ubuntu person but I think the package's name is open-iscsi.

This is the command I used to build the image :  ./trovestack build-image
ubuntu bionic true ubuntu
/home/stack/trove-xena-guest-ubuntu-bionic-dev.qcow2
My OS is a Centos 8 Stream. you can find the whole log of the operation
attached.

Thanks in advance.

Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20220413/8793ccd6/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trove-build2.log
Type: application/octet-stream
Size: 302893 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20220413/8793ccd6/attachment.obj>

------------------------------

Subject: Digest Footer

_______________________________________________
openstack-discuss mailing list
openstack-discuss@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-discuss


------------------------------

End of openstack-discuss Digest, Vol 42, Issue 62
*************************************************