Hi,
I found the error, Rocky is not supported for, so I switched to CentOS machine. The script starts but I had two problems :
The  trovestack script searches for a package named qemu and don't find it, so I modified the script to use qemu* instead of qemu

The second problem is related to the download itself, I have this error :
2022-04-07 13:18:02.677 | Caching guest-agent from https://opendev.org/openstack/trove in /home/deployer/.cache/
image-create/source-repositories/guest_agent_842a440b9b12731c50f3b4042bf842ea7e58467d
2022-04-07 13:22:31.299 | error: RPC failed; curl 18 transfer closed with outstanding read data remaining
2022-04-07 13:22:31.299 | error: 6149 bytes of body are still expected
2022-04-07 13:22:31.300 | fetch-pack: unexpected disconnect while reading sideband packet
2022-04-07 13:22:31.300 | fatal: early EOF
2022-04-07 13:22:31.301 | fatal: fetch-pack: invalid index-pack output

Any ideas?

Regards.

Le jeu. 7 avr. 2022 à 10:15, wodel youchi <wodel.youchi@gmail.com> a écrit :
Hi,

I am testing the deployment of Xena, and part of my testing is to test the different modules. I am trying to test the Trove module and for now there is no dev image for Xena here : https://tarballs.opendev.org/openstack/trove/images/

So I decided to build the image, my base system is Rocky Linux, I followed the documentation here : https://docs.openstack.org/trove/latest/admin/building_guest_images.html#build-images-using-trovestack

But when executing the build command
[deployer@rscdeployer scripts]$ ./trovestack build-image ubuntu bionic true ubuntu $HOME/images/trove-guest-ubuntu-bionic-dev.qcow2
*******************************************************************************
Params for cmd_build_image function: ubuntu bionic true ubuntu /home/deployer/images/trove-guest-ubuntu-bionic-dev.qcow2
*******************************************************************************
Ensuring we have all packages needed to build image.
sudo: apt-get: command not found

I got this : sudo: apt-get: command not found

Do I have to build the image on an ubuntu system? I thought that it is similar to building the octavia image, that it is not tied to the Linux distro you are using.

Regards.

Virus-free. www.avast.com