[Kolla-ansible][Xena] Test Trove module
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#bui... 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. <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virus-free. www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
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#bui...
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.
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virus-free. www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#m_8737481173232019115_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Thu, Apr 7, 2022, at 6:38 AM, wodel youchi wrote:
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?
This is related to cloning and caching the https://opendev.org/openstack/trove 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 https://opendev.org. 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 https://opendev.org and take it from there.
Regards.
Hi, 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 : I get this error while constructing the image : 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. Le jeu. 7 avr. 2022 à 16:02, Clark Boylan <cboylan@sapwetik.org> a écrit :
On Thu, Apr 7, 2022, at 6:38 AM, wodel youchi wrote:
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?
This is related to cloning and caching the https://opendev.org/openstack/trove 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 https://opendev.org. 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 https://opendev.org and take it from there.
Regards.
Hi, Any suggestions??? Regards. Le dim. 10 avr. 2022 à 10:40, wodel youchi <wodel.youchi@gmail.com> a écrit :
Hi,
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 : I get this error while constructing the image :
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.
Le jeu. 7 avr. 2022 à 16:02, Clark Boylan <cboylan@sapwetik.org> a écrit :
On Thu, Apr 7, 2022, at 6:38 AM, wodel youchi wrote:
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?
This is related to cloning and caching the https://opendev.org/openstack/trove 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 https://opendev.org. 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 https://opendev.org and take it from there.
Regards.
Just in case it's not obvious - it is not in Kolla Ansible scope to fix. Reach out to the Trove team. Maybe they are only filtering on the [trove] tag - you might want to try that. -yoctozepto On Tue, 12 Apr 2022 at 15:09, wodel youchi <wodel.youchi@gmail.com> wrote:
Hi,
Any suggestions???
Regards.
Le dim. 10 avr. 2022 à 10:40, wodel youchi <wodel.youchi@gmail.com> a écrit :
Hi,
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 : I get this error while constructing the image :
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.
Le jeu. 7 avr. 2022 à 16:02, Clark Boylan <cboylan@sapwetik.org> a écrit :
On Thu, Apr 7, 2022, at 6:38 AM, wodel youchi wrote:
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?
This is related to cloning and caching the https://opendev.org/openstack/trove 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 https://opendev.org. 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 https://opendev.org and take it from there.
Regards.
participants (3)
-
Clark Boylan
-
Radosław Piliszek
-
wodel youchi