[Trove][Xena] Error building Trove image

W Ch wchy1001 at gmail.com
Sun Apr 17 10:00:40 UTC 2022


Hi:
  i tested it in patch[0]. and It passed on centos 8 stream.

*install_deb_packages install iscsi-initiator-utils*

This is because of a wrong environment variable, you might need to fix this
manually, refer to:  [1]

And i think you also need this fix too.[2]

[0]https://review.opendev.org/c/openstack/trove/+/838175
[1]
https://review.opendev.org/c/openstack/trove/+/838175/24/integration/scripts/functions_qemu
[2]
https://review.opendev.org/c/openstack/trove/+/838175/24/integration/scripts/functions#241

thanks

Best regards

wodel youchi <wodel.youchi at gmail.com> 于2022年4月13日周三 21:14写道:

> 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/20220417/0ab68282/attachment.htm>


More information about the openstack-discuss mailing list