<div dir="ltr"><div>Hi,</div><div><br></div><div>Any suggestions???<br></div><div><br></div><div>Regards.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le dim. 10 avr. 2022 à 10:40, wodel youchi <<a href="mailto:wodel.youchi@gmail.com">wodel.youchi@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div><div>I used a VM machine on the cloud with a good connexion to build the image but, it didn't work for me so far :</div><div>I get this error while constructing the image :</div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">2022-04-10 08:55:25.497 | <b>+ install_deb_packages install iscsi-initiator-utils</b><br>2022-04-10 08:55:25.497 | + DEBIAN_FRONTEND=noninteractive<br>2022-04-10 08:55:25.497 | + http_proxy=<br>2022-04-10 08:55:25.497 | + https_proxy=<br>2022-04-10 08:55:25.497 | + no_proxy=<br>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<br>2022-04-10 08:55:25.541 | Reading package lists...<br>2022-04-10 08:55:25.788 | Building dependency tree...<br>2022-04-10 08:55:25.788 | Reading state information...<br>2022-04-10 08:55:25.825 | <b>E: Unable to locate package iscsi-initiator-utils</b><br>2022-04-10 08:55:25.838 | ++ diskimage_builder/lib/img-functions:run_in_target:59                             :   check_break after-error run_in_target bash<br>2022-04-10 08:55:25.843 | ++ diskimage_builder/lib/common-functions:check_break:143                           :   echo ''<br>2022-04-10 08:55:25.844 | ++ diskimage_builder/lib/common-functions:check_break:143                           :   egrep -e '(,|^)after-error(,|$)' -q<br>2022-04-10 08:55:25.851 | + diskimage_builder/lib/img-functions:run_in_target:1                              :   trap_cleanup<br>2022-04-10 08:55:25.855 | + diskimage_builder/lib/img-functions:trap_cleanup:36</span></div><div><span style="font-family:monospace"> </span><br></div><div>I am not an Ubuntu person but I think the package's name is open-iscsi.</div><div><br></div><div>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</div><div>My OS is a Centos 8 Stream. you can find the whole log of the operation attached.</div><div><br></div><div>Thanks in advance.<br></div><div><br></div><div>Regards.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le jeu. 7 avr. 2022 à 16:02, Clark Boylan <<a href="mailto:cboylan@sapwetik.org" target="_blank">cboylan@sapwetik.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, Apr 7, 2022, at 6:38 AM, wodel youchi wrote:<br>
> Hi,<br>
> I found the error, Rocky is not supported for, so I switched to CentOS <br>
> machine. The script starts but I had two problems :<br>
> The  trovestack script searches for a package named qemu and don't find <br>
> it, so I modified the script to use qemu* instead of qemu<br>
><br>
> The second problem is related to the download itself, I have this error <br>
> :<br>
> 2022-04-07 13:18:02.677 | Caching guest-agent from <br>
> <a href="https://opendev.org/openstack/trove" rel="noreferrer" target="_blank">https://opendev.org/openstack/trove</a> in /home/deployer/.cache/<br>
> image-create/source-repositories/guest_agent_842a440b9b12731c50f3b4042bf842ea7e58467d<br>
> 2022-04-07 13:22:31.299 | error: RPC failed; curl 18 transfer closed <br>
> with outstanding read data remaining<br>
> 2022-04-07 13:22:31.299 | error: 6149 bytes of body are still expected<br>
> 2022-04-07 13:22:31.300 | fetch-pack: unexpected disconnect while <br>
> reading sideband packet<br>
> 2022-04-07 13:22:31.300 | fatal: early EOF<br>
> 2022-04-07 13:22:31.301 | fatal: fetch-pack: invalid index-pack output<br>
><br>
> Any ideas? <br>
<br>
This is related to cloning and caching the <a href="https://opendev.org/openstack/trove" rel="noreferrer" target="_blank">https://opendev.org/openstack/trove</a> git repo during the image build for the trove database image. This looks like a network error of some sort with the connection ending before it was completed. You might want to double check any proxies or firewalls between you and <a href="https://opendev.org" rel="noreferrer" target="_blank">https://opendev.org</a>. It may have also been the Internet acting up and trying again would be fine. I would try again and if it persists start looking at network connectivity between you and <a href="https://opendev.org" rel="noreferrer" target="_blank">https://opendev.org</a> and take it from there.<br>
<br>
><br>
> Regards.<br>
<br>
</blockquote></div>
</blockquote></div>